/* 工会大殿 · 任务板
   借用天堂2工会大厅的任务板空间语言：木框、铜钉、羊皮纸任务条、蜡封与级别章。
   不复制原作素材与界面；只把“接单前先看条件”的信息层级做成可读的板面。 */

.quest-board{
  position:relative;border:1px solid rgba(217,181,108,.30);border-radius:24px;overflow:hidden;
  background:
    radial-gradient(900px 400px at 20% 0%,rgba(217,181,108,.09),transparent 65%),
    linear-gradient(180deg,#17150f 0%,#0e1218 26%,#090d13 100%);
  box-shadow:0 26px 70px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,248,220,.06);
}
.quest-board:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;
  background-image:
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(180deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:44px 44px;mask:linear-gradient(120deg,#000,transparent 78%);
}
.quest-board-head{
  position:relative;z-index:1;display:flex;align-items:center;gap:14px;
  padding:18px 20px 17px;border-bottom:1px solid rgba(217,181,108,.22);
  background:
    linear-gradient(180deg,rgba(255,248,220,.06),transparent 55%),
    repeating-linear-gradient(90deg,rgba(0,0,0,.14) 0 2px,transparent 2px 28px),
    linear-gradient(100deg,#2a2117,#17140f 55%,#10141a);
}
.quest-crest{
  width:44px;height:44px;flex:0 0 auto;border-radius:10px;border:1px solid rgba(240,213,155,.50);
  display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,#443421,#17130d 70%);
  color:#f0d59b;font-family:var(--serif);font-size:19px;letter-spacing:.06em;
  box-shadow:inset 0 0 0 3px rgba(8,11,17,.34),0 6px 18px rgba(0,0,0,.28);
}
.quest-head-copy{min-width:0}
.quest-kicker{font-size:9px;letter-spacing:.22em;color:#c9a86d;font-weight:800}
.quest-head-copy h3{margin:4px 0 0;font-family:var(--serif);font-size:20px;letter-spacing:.06em;color:#f2e7d1}
.quest-live{
  margin-left:auto;display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid rgba(217,181,108,.24);
  border-radius:999px;background:rgba(8,12,17,.46);font-size:10px;color:#a99f8d;white-space:nowrap;
}
.quest-live:before{content:"";width:6px;height:6px;border-radius:50%;background:#7fb79f;box-shadow:0 0 0 4px rgba(127,183,159,.12)}
.quest-live b{font-family:var(--serif);font-size:18px;color:#f0d59b;line-height:1}
.quest-tabs{position:relative;z-index:1;display:flex;gap:4px;flex-wrap:wrap;padding:12px 20px 0}
.quest-tab{
  border:1px solid rgba(255,255,255,.08);border-radius:6px;background:rgba(255,255,255,.025);
  color:#a9a090;font-size:11px;padding:6px 10px;cursor:pointer;transition:.2s;letter-spacing:.03em;
}
.quest-tab:hover{color:#e8d6b5;border-color:rgba(217,181,108,.28)}
.quest-tab.on{background:linear-gradient(135deg,#e8ca86,#c99f4e);color:#171208;border-color:#f0d59b;font-weight:700}
.quest-body{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:16px;padding:16px 20px 20px}
.quest-wall{
  position:relative;min-width:0;border:1px solid rgba(217,181,108,.16);border-radius:16px;padding:14px;
  background:
    radial-gradient(rgba(255,248,220,.055) .7px,transparent .8px) 0 0/5px 5px,
    linear-gradient(160deg,rgba(39,33,24,.54),rgba(9,13,19,.70));
  box-shadow:inset 0 0 42px rgba(0,0,0,.38);
}
.quest-wall:before,.quest-wall:after{
  content:"";position:absolute;top:9px;width:7px;height:7px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#f0d59b,#8a642e);box-shadow:0 2px 5px rgba(0,0,0,.4);
}
.quest-wall:before{left:9px}.quest-wall:after{right:9px}
#tasks .quest-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#tasks .task-card{
  position:relative;display:flex;flex-direction:column;min-height:238px;padding:18px 18px 16px;overflow:hidden;
  border:1px solid #8d7348;border-radius:6px 6px 5px 5px;
  background:
    radial-gradient(700px 240px at 10% 0%,rgba(255,255,255,.16),transparent 58%),
    repeating-linear-gradient(0deg,rgba(93,70,42,.055) 0 1px,transparent 1px 5px),
    linear-gradient(160deg,#efe5cf 0%,#ddcba9 58%,#cfba94 100%);
  color:#2b2116;
  box-shadow:0 12px 26px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.62);
  transform:rotate(-.45deg);transition:transform .22s,box-shadow .22s,border-color .22s;
}
#tasks .task-card:nth-child(even){transform:rotate(.45deg)}
#tasks .task-card:hover{transform:translateY(-3px) rotate(0);border-color:#c69a50;box-shadow:0 20px 40px rgba(0,0,0,.42)}
#tasks .task-card:before{
  content:"";position:absolute;left:50%;top:-1px;width:56px;height:8px;transform:translateX(-50%);
  border-radius:0 0 7px 7px;background:linear-gradient(180deg,#b98d4e,#6f4d25);
  box-shadow:0 2px 0 rgba(0,0,0,.25);opacity:.9;
}
#tasks .task-card:after{
  content:"悬";position:absolute;right:13px;bottom:46px;width:35px;height:35px;display:grid;place-items:center;
  border:2px solid rgba(159,60,48,.65);border-radius:50%;color:rgba(159,60,48,.78);
  font-family:var(--serif);font-size:15px;transform:rotate(-12deg);opacity:.72;pointer-events:none;
}
#tasks .task-top{position:relative;z-index:1}
#tasks .tag{border-color:rgba(58,42,24,.32);color:#5a452b;background:rgba(255,255,255,.16);font-weight:600}
#tasks .tag.gold{border-color:rgba(128,82,24,.42);color:#68451f;background:rgba(198,154,80,.16)}
#tasks .tag.jade{border-color:rgba(38,90,75,.34);color:#285f50;background:rgba(111,166,150,.12)}
#tasks .task-title{position:relative;z-index:1;font-size:20px;line-height:1.38;color:#2a2014;margin:13px 0 7px}
#tasks .task-brief{position:relative;z-index:1;color:#5f503a;font-size:11.5px;line-height:1.75;min-height:42px}
#tasks .task-meta{position:relative;z-index:1;padding-top:12px;border-top:1px dashed rgba(94,70,42,.26)}
#tasks .price{color:#6d4a1c;font-size:26px}
#tasks .price small{color:#766347}
#tasks .publisher{color:#6f5c43}
#tasks .task-card .task-top .tag{font-size:9px;padding:3px 7px}
.quest-empty{
  min-height:238px;display:grid;place-content:center;gap:8px;text-align:center;border:1px dashed rgba(217,181,108,.30);
  border-radius:6px;background:rgba(217,181,108,.035);color:#b9ad97;padding:24px;
}
.quest-empty b{font-family:var(--serif);font-size:19px;color:#e7d8bd}
.quest-empty p{font-size:11px;line-height:1.7;max-width:260px;margin:0 auto}
.quest-empty a{color:#e0b56f;font-size:11px;border-bottom:1px solid rgba(217,181,108,.35);padding-bottom:2px;justify-self:center}
#tasks .side-card{
  border-color:rgba(217,181,108,.26);background:
    radial-gradient(420px 220px at 100% 0%,rgba(217,181,108,.12),transparent 62%),
    linear-gradient(160deg,rgba(21,28,38,.94),rgba(8,12,18,.92));
  box-shadow:0 18px 44px rgba(0,0,0,.30);
}
#tasks .side-card .side-title{font-size:18px}
@media(max-width:1024px){
  .quest-body{grid-template-columns:1fr}
  #tasks .side-card{max-width:100%}
}
@media(max-width:760px){
  .quest-board-head{align-items:flex-start;flex-wrap:wrap;gap:10px;padding:15px 14px 13px}
  .quest-crest{width:38px;height:38px;font-size:17px}
  .quest-head-copy h3{font-size:18px}
  .quest-live{margin-left:0;width:100%;justify-content:center;order:3}
  .quest-tabs{padding:10px 14px 0;gap:5px}
  .quest-tab{font-size:10px;padding:6px 8px}
  .quest-body{padding:12px 12px 16px;gap:12px}
  .quest-wall{padding:11px}
  #tasks .quest-list{grid-template-columns:1fr;gap:10px}
  #tasks .task-card{min-height:210px;transform:none}
  #tasks .task-card:nth-child(even){transform:none}
  #tasks .task-title{font-size:19px}
}
