/*
 * 特權內容的斜線標示：只有特定身分看得到的功能加上斜線底色，管理員用久了才不會忘記別人看不到。
 * React 用 components/Privileged.jsx；JSP 直接加 class 與 title（例如「只有 DEBUGGER 看得到」）。
 *
 *   bg-debugger  紅：只有 DEBUGGER
 *   bg-manager   黃：站務管理員以上（也用於題目分級管理員、討論區管理員等特殊身分，title 寫明是誰）
 *   bg-owner     綠：主辦人看得到、參加者看不到
 *
 * 由 include/CommonHead_BootstrapFlat.jsp 載入，放在 bootstrap 之後，才蓋得過 .btn-default 等底色。
 */
.bg-debugger,
.bg-manager,
.bg-owner {
	background-image: repeating-linear-gradient(30deg, hsla(0, 0%, 100%, .1), hsla(0, 0%, 100%, .1) 15px,
			transparent 0, transparent 30px);
}

.bg-debugger {
	background-color: rgb(247, 177, 177);
}

.bg-manager {
	background-color: rgb(239, 219, 131);
}

.bg-owner {
	background-color: rgb(127, 150, 123);
}

/* 行內：文字、連結、一組按鈕 */
.privileged {
	display: inline-block;
	padding: 2px 4px;
	border-radius: 3px;
}

/* 區塊：一整段內容 */
.privileged-block {
	display: block;
	padding: 8px 10px;
	border-radius: 4px;
	margin-bottom: 10px;
}
