
:root{
  --bg:#f4f7fb;
  --panel:#ffffff;
  --card:#ffffff;
  --line:#dbe3ee;
  --text:#172033;
  --muted:#667085;
  --accent:#3568f0;
  --danger:#d84b5b;
  --ok:#0f9f8f;
  --shadow:0 14px 36px rgba(28,39,64,.10);
  --r:14px;
  --r2:18px;
  --pad:16px;
  --pad2:22px;
  --fs:14px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  background: radial-gradient(1200px 900px at 20% 0%, rgba(91,132,255,.12), transparent 60%),
              radial-gradient(1000px 700px at 90% 40%, rgba(45,212,191,.10), transparent 60%),
              var(--bg);
  color:var(--text);
}
.hidden{display:none !important}
.screen{display:none; min-height:100%}
.screen.active{display:block}

.topbar{
  position:sticky; top:0; z-index:30;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  padding:12px 16px;
  background: rgba(15,23,42,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(31,42,68,.9);
}
.topbar.simple{justify-content:flex-start}
.titleline{font-weight:700; margin-left:10px}

.brand-title{font-weight:800; letter-spacing:.2px}
.brand-sub{color:#fff; font-size:12px; margin-top:1px; line-height:1.2}
.brand-sub-secondary{margin-top:0; opacity:.96}
.nav{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.icon-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(31,42,68,.9);
  background: rgba(11,19,36,.55);
  color:var(--text);
  cursor:pointer;
}
.icon-btn:hover{border-color:rgba(91,132,255,.65)}
.dot{width:8px;height:8px;border-radius:50%;background:rgba(91,132,255,.9)}

.account-menu{
  position:absolute;
  right:16px;
  top:62px;
  width:220px;
  background: rgba(15,23,42,.98);
  border:1px solid rgba(31,42,68,.95);
  border-radius:16px;
  box-shadow: var(--shadow);
  padding:10px;
}
.account-chip{
  border:1px solid rgba(31,42,68,.9);
  border-radius:14px;
  padding:10px;
  background: rgba(11,19,36,.55);
  margin-bottom:10px;
}
.account-name{font-weight:800}
.account-role{color:var(--muted); font-size:12px; margin-top:2px}
.menu-btn{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(31,42,68,.9);
  background: rgba(11,19,36,.45);
  color:var(--text);
  cursor:pointer;
  text-align:left;
  margin-bottom:8px;
}
.menu-btn:hover{border-color:rgba(91,132,255,.65)}
.menu-btn.danger:hover{border-color:rgba(255,91,106,.75)}
.menu-btn.danger{color:var(--text-normal)}
.account-mode-switch{
  border:1px solid rgba(31,42,68,.9);
  border-radius:14px;
  padding:10px;
  background: rgba(11,19,36,.35);
  margin-bottom:10px;
}
.account-mode-title{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  margin-bottom:8px;
}
.menu-btn.mode-btn{
  margin-bottom:6px;
}
.menu-btn.mode-btn.is-active{
  border-color:rgba(91,132,255,.75);
  background:rgba(91,132,255,.16);
  cursor:default;
}
.menu-btn.mode-btn:disabled{
  opacity:1;
}

.container{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  padding:18px;
  max-width:1200px;
  margin:0 auto;
}
.container.one{grid-template-columns:1fr; max-width:960px}
.col{background: rgba(15,23,42,.55); border:1px solid rgba(31,42,68,.85); border-radius:var(--r2); padding:16px; box-shadow: var(--shadow)}
.col-head{display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:10px}
.h{font-weight:800}
.sub{color:var(--muted); font-size:11px; font-weight:700; margin-top:4px; line-height:1.2; letter-spacing:.02em}
.actions{display:flex; gap:8px}
.panel{background: rgba(15,23,42,.55); border:1px solid rgba(31,42,68,.85); border-radius:var(--r2); padding:16px; box-shadow: var(--shadow)}
.search-row{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:12px}
.search-row .input{min-width:0}
.search-row .search-wide{flex:1 1 calc(50% - 5px)}
.search-row .search-third{flex:1 1 calc(33.333% - 7px)}


.list{display:flex; flex-direction:column; gap:12px}
.card{
  position:relative;
  border:1px solid rgba(31,42,68,.88);
  background: rgba(11,19,36,.55);
  border-radius:16px;
  padding:14px;
  cursor:pointer;
}
.card:not(.task-card):not(.talent-card):hover{border-color:rgba(91,132,255,.65)}
.task-card.premium,
.talent-card.premium{
  border:3px solid var(--brand);
  background:#fff;
  box-shadow:none;
  transition:border-width .18s ease, border-color .18s ease, transform .18s ease;
  transform-origin:center center;
}
.task-card.premium .display-name,
.task-card.premium .title,
.task-card.premium .meta,
.task-card.premium .tag,
.talent-card.premium .display-name,
.talent-card.premium .title,
.talent-card.premium .meta,
.talent-card.premium .tag{
  color:#111827;
}
.task-card.premium .tag,
.talent-card.premium .tag{
  border-color:rgba(17,24,39,.12);
  background:rgba(17,24,39,.06);
}

.premium-logo-wrap{
  position:absolute;
  right:14px;
  bottom:14px;
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.premium-logo{
  width:72px;
  height:72px;
  object-fit:contain;
  display:block;
}

.premium-upload-row{display:block}
.premium-upload-row .premium-upload-box{margin-top:8px; border:1px solid rgba(148,163,184,.22); background:rgba(255,255,255,.04); border-radius:14px; padding:12px; transition:background .18s ease,border-color .18s ease,opacity .18s ease}
.premium-upload-row .premium-upload-note{font-size:12px; color:#cbd5e1; margin-top:8px; line-height:1.6}
.premium-upload-row.is-disabled .premium-upload-box{background:rgba(255,255,255,.025); border-color:rgba(100,116,139,.22); opacity:.6; filter:saturate(.72)}
.premium-upload-row.is-disabled .premium-upload-note{color:#94a3b8}
.premium-upload-row.is-active .premium-upload-box{background:rgba(255,255,255,.15); border-color:rgba(196,202,211,.82); box-shadow:0 0 0 1px rgba(196,202,211,.2) inset, 0 10px 24px rgba(148,163,184,.12)}
.premium-upload-row.is-active .premium-upload-note{color:#e5edf7}
.premium-upload-row .premium-upload-status{font-size:12px; color:#e5edf7; margin-top:8px; word-break:break-all}
.premium-upload-row input[type="file"]:disabled{cursor:not-allowed; opacity:.75}

/* Read-only cards (detail view): avoid hover affordance to prevent "editable" misunderstanding */
.card.ro{cursor:default}
.card.ro:hover{border-color:rgba(31,42,68,.88); box-shadow:none}
.card.mini{cursor:default}
.title{font-weight:800; font-size:15px; margin-bottom:8px}

.display-name{
  font-weight:800;
  font-size:15px;
  margin-bottom:8px;
}
.verify-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.verify-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
}

.meta{color:var(--muted); font-size:12px}
.meta-pay{color:#fff; font-weight:800}
.meta-pay b{font-weight:800}
.badge{margin-top:10px}
.pill{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(31,42,68,.9);
  background: rgba(15,23,42,.35);
  color:var(--text);
  font-size:12px;
}
.pill.busy{
  border-color:#cbd5e1;
  background:#e5e7eb;
  color:#4b5563;
}
.note.badge-busy{color:#4b5563}
.tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px}
.tag{
  padding:5px 8px;
  border-radius:999px;
  border:1px solid rgba(31,42,68,.85);
  background: rgba(15,23,42,.25);
  color:var(--muted);
  font-size:12px;
}

.state-overlay{
  position:absolute; inset:0;
  border-radius:16px;
  background: rgba(0,0,0,.35);
  display:flex; align-items:center; justify-content:center;
  pointer-events:none;
}
.state-overlay span{
  padding:10px 14px;
  border-radius:999px;
  background: rgba(15,23,42,.9);
  border:1px solid rgba(255,255,255,.15);
  font-weight:800;
}
.state-overlay.closed span{
  border-color: rgba(255,255,255,.15);
}
.state-overlay.busy span{
  border-color:#cbd5e1;
  background:#e5e7eb;
  color:#4b5563;
}

.btn{
  appearance:none;
  border:1px solid rgba(91,132,255,.65);
  background: rgba(91,132,255,.22);
  color:var(--text);
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
}
.btn:hover{background: rgba(91,132,255,.28)}
.btn.ghost{
  border-color: rgba(31,42,68,.9);
  background: rgba(11,19,36,.45);
  font-weight:700;
}
.btn.ghost:hover{border-color:rgba(91,132,255,.55)}
.btn.danger{
  border-color: rgba(255,91,106,.65);
  background: rgba(255,91,106,.16);
}
.btn.small{padding:8px 10px; border-radius:10px; font-size:12px}
.icon-x{
  border:none; background:transparent; color:var(--muted);
  font-size:22px; cursor:pointer;
}
.icon-x:hover{color:var(--text)}

.input,.textarea{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(31,42,68,.9);
  background: rgba(11,19,36,.55);
  color:var(--text);
  padding:10px 12px;
  outline:none;
}
.input:focus,.textarea:focus{border-color:rgba(91,132,255,.7); box-shadow:0 0 0 2px rgba(91,132,255,.14) inset}
.textarea{min-height:140px; resize:vertical}

.row{margin-bottom:12px}
.label{font-size:12px; color:var(--muted); margin-bottom:6px}
.note{font-size:12px;color:var(--muted); margin-top:6px}
.note.note-important{font-size:13px;color:#fff;font-weight:700;line-height:1.6}

.grid2{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.split2{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.split3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px}
.due3{display:grid; grid-template-columns:1.2fr .9fr .9fr; gap:10px}

.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.checklist{display:flex; flex-wrap:wrap; gap:10px; margin-top:8px}
.check{display:flex; align-items:center; gap:8px; padding:10px 12px; border:1px solid rgba(255,255,255,.10); border-radius:12px; background:rgba(0,0,0,.15)}
.check input[type="checkbox"]{width:18px; height:18px}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(31,42,68,.85);
  background: rgba(15,23,42,.25);
  color:var(--text);
  font-size:12px;
}
.chip button{
  width:18px;height:18px;border-radius:50%;
  border:1px solid rgba(31,42,68,.85);
  background: rgba(11,19,36,.45);
  color:var(--muted);
  cursor:pointer;
}
.chip button:hover{color:var(--text); border-color:rgba(255,91,106,.6)}

.modal{
  position:fixed; inset:0; z-index:60;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  background: rgba(0,0,0,.55);
}
.modal-panel{
  width:min(980px, 100%);
  background: rgba(15,23,42,.98);
  border:1px solid rgba(31,42,68,.95);
  border-radius:18px;
  box-shadow: var(--shadow);
  overflow:hidden;
  max-height: calc(100vh - 60px);
  display:flex;
  flex-direction:column;
}
.modal-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px;
  border-bottom:1px solid rgba(31,42,68,.9);
  gap:12px;
}
.modal-title{font-weight:800; flex:1; text-align:center}
.modal-body{padding:14px; overflow:auto}

.modal-back{white-space:nowrap}
.verify-modal{display:flex; flex-direction:column; gap:14px;}
.verify-modal__lead{font-size:18px; font-weight:800; color:#fff; line-height:1.5;}
.verify-modal__text{font-size:14px; line-height:1.8; color:#dbe5f5;}
.verify-modal__email{padding:12px 14px; border-radius:14px; border:1px solid rgba(255,255,255,.10); background:rgba(255,255,255,.06); color:#c9d5e7; font-size:13px; line-height:1.6;}
.verify-modal__email span{color:#fff; font-weight:800; word-break:break-all;}
.verify-modal__actions{display:flex; flex-wrap:wrap; gap:10px;}
.verify-modal__status{padding:12px 14px; border-radius:14px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.08); color:#fff; font-size:13px; line-height:1.7; white-space:pre-wrap;}

/* Detail body improvements */
.detail-long{
  min-height: 220px;
  max-height: 360px;
  overflow:auto;
}

.selfcheck{
  position:sticky; top:0; z-index:80;
  padding:10px 12px;
  background: rgba(255,91,106,.18);
  border-bottom:1px solid rgba(255,91,106,.35);
  color:#ffe2e5;
  white-space:pre-wrap;
  font-size:12px;
}
.toast{
  position:fixed; left:50%; bottom:22px; transform:translateX(-50%);
  background: rgba(122,128,143,.86);
  border:1px solid rgba(255,255,255,.22);
  border-radius:16px;
  padding:12px 16px;
  box-shadow: var(--shadow);
  font-weight:800;
  color:#fff;
  white-space:pre-wrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index:90;
}

.thread2{
  grid-template-columns: 320px 1fr;
  max-width:1200px;
}
.thread-list{
  background: rgba(15,23,42,.55);
  border:1px solid rgba(31,42,68,.85);
  border-radius:var(--r2);
  padding:10px;
  box-shadow: var(--shadow);
  height: calc(100vh - 92px);
  overflow:auto;
}
.thread-item{
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(31,42,68,.85);
  background: rgba(11,19,36,.45);
  margin-bottom:10px;
  cursor:pointer;
}
.thread-item:hover{border-color:rgba(91,132,255,.55)}
.thread-item.active{border-color:rgba(91,132,255,.85); box-shadow:0 0 0 2px rgba(91,132,255,.12) inset}
.thread-item .t{font-weight:800; margin-bottom:6px}
.thread-item .s{color:var(--muted); font-size:12px}

.thread-pane{
  background: rgba(15,23,42,.55);
  border:1px solid rgba(31,42,68,.85);
  border-radius:var(--r2);
  box-shadow: var(--shadow);
  height: calc(100vh - 92px);
  display:flex; flex-direction:column;
  overflow:hidden;
}
.thread-head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  padding:10px 12px;
  border-bottom:1px solid rgba(31,42,68,.9);
}
.thread-head-main{min-width:0; flex:1}
.thread-head-actions{display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.thread-title{font-weight:800; line-height:1.3}
.thread-id{font-size:10px; color:var(--muted); opacity:.7; margin-bottom:4px; display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.thread-title-main{font-weight:800; line-height:1.3}
.vpn-vps-badge{display:inline-flex; align-items:center; padding:1px 6px; border:1px solid rgba(154,164,178,.35); border-radius:999px; font-size:10px; line-height:1.2; color:#9aa4b2; opacity:.9}
.thread-body{padding:14px 12px; overflow:auto; flex:1; display:flex; flex-direction:column; gap:10px}
.thread-send{display:flex; gap:10px; padding:10px 12px; border-top:1px solid rgba(31,42,68,.9)}

.thread-task-inactive-notice{
  border:1px solid rgba(154,164,178,.34);
  background:rgba(11,19,36,.68);
  color:var(--text);
  border-radius:14px;
  padding:10px 12px;
  font-size:12px;
  line-height:1.55;
}

.msg{display:flex; flex-direction:column; align-items:flex-start}
.msg.me{align-items:flex-end}
.msg.system{align-items:flex-start}
.msg-name{font-size:10px; color:var(--muted); opacity:.75; margin:0 6px 2px}
.msg.me .msg-name{text-align:right}

.txt-sub{font-size:12px; line-height:1.5; opacity:.86; margin-top:4px}
.msg.me .txt-sub{text-align:left}
.bubble{
  max-width:min(560px, 92%);
  border-radius:18px;
  border:1px solid rgba(31,42,68,.85);
  background: rgba(11,19,36,.45);
  padding:10px 12px;
}
.msg.me .bubble{border-color:rgba(91,132,255,.55); background: rgba(91,132,255,.12)}
.msg.other .bubble{background:rgba(11,19,36,.65)}
.msg.system .bubble{max-width:420px; background:rgba(11,19,36,.42)}
.txt{white-space:pre-wrap; line-height:1.55}
.ts{font-size:11px; color:var(--muted); margin-top:6px}
.fail-note{margin-top:4px; color:#fca5a5; font-size:12px}

.seg{display:inline-flex; gap:8px}
.seg-btn{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(31,42,68,.9);
  background: rgba(11,19,36,.45);
  color:var(--text);
  cursor:pointer;
  font-weight:800;
}
.seg-btn.active{border-color:rgba(91,132,255,.75); box-shadow:0 0 0 2px rgba(91,132,255,.12) inset}

@media (max-width: 980px){
  .container{grid-template-columns:1fr}
  .thread2{grid-template-columns:1fr}
  .thread-list{height:auto}
  .thread-pane{height:auto; min-height:70vh}
  .grid2{grid-template-columns:1fr}
}


/* verification display */
.verif-wrap{display:block}
.verif-head{font-weight:700;margin-bottom:6px}
.verif-block{display:grid;gap:6px}
.verif-item{display:flex;align-items:flex-start;gap:8px;padding:6px 10px;border-radius:10px;background:rgba(255,255,255,.06);color:var(--text)}
.verif-icon{display:inline-flex;align-items:center;justify-content:center;min-width:18px;line-height:1}
.verif-text{display:block;line-height:1.45}
.verif-anti{background:rgba(255,255,255,.08)}
/* nav unread badge */
.nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 5px;border-radius:999px;background:#ff3b30;color:#fff;font-size:11px;line-height:1;margin-left:6px;}
.nav-badge.hidden{display:none;}
.nav-label{display:inline-block;}


/* Stage33: unread badge */
.badge-unread{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 6px;border-radius:999px;background:#d00;color:#fff;font-size:11px;line-height:1;font-weight:700}
.thread-item .rowline{display:flex;align-items:center;gap:8px}
.thread-item .rowline .t{flex:1}


.cap-meta-row{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:6px 0 10px 0;}
.cap-meta{font-size:12px;opacity:.8;}


/* Policy / guardrails */
.policy-box{border:1px solid #e6e6e6;border-radius:12px;padding:12px;margin-top:12px;background:#fff;}
.policy-title{font-weight:700;margin-bottom:8px;}
.policy-box .chk{display:block;margin:6px 0;font-size:14px;}


/* Guardrails: agreements */
.agree-box{
  margin-top:14px;
  padding:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background: rgba(255,255,255,.03);
}
.agree-title{
  font-weight:700;
  margin-bottom:10px;
}
.agree-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:8px 0;
  font-size:14px;
  line-height:1.4;
}
.agree-item input{ margin-top:2px; }


.report-card .title{margin-top:6px;}
.report-card .meta{margin-top:6px;}
.pill.danger{border-color: rgba(255,80,80,.5); color: rgba(255,130,130,1);}


/* Thread safety note */
.thread-safety{padding:0 12px 14px; font-size:12px; opacity:.9; line-height:1.55;}
.thread-updated{margin-bottom:10px; color:var(--muted)}
.thread-safety-rule{margin-bottom:10px}
.thread-safety-guard{color:var(--text)}


.account-pay-status{opacity:.8;font-size:12px;margin-top:2px;}

.btn[disabled], .btn.is-disabled{
  opacity:.45;
  border-color: rgba(31,42,68,.9) !important;
  background: rgba(11,19,36,.35) !important;
  color: var(--muted) !important;
  cursor:not-allowed !important;
  pointer-events:auto;
}
.btn[disabled]:hover, .btn.is-disabled:hover{
  background: rgba(11,19,36,.35) !important;
}

/* ROLE GUIDE: 押せる案内ボタン */
.btn.role-guide,
.mobile-sticky-cta__btn.role-guide{
  opacity:1 !important;
  filter:none !important;
  border-color: var(--accent) !important;
  background: linear-gradient(180deg, rgba(18,36,72,.98), rgba(9,20,44,.98)) !important;
  color: var(--text) !important;
  cursor:pointer !important;
  pointer-events:auto !important;
}
.btn.role-guide:hover,
.mobile-sticky-cta__btn.role-guide:hover{
  opacity:.92 !important;
  background: linear-gradient(180deg, rgba(24,46,90,.98), rgba(12,25,54,.98)) !important;
}
.btn.role-guide::before,
.btn.role-guide::after,
.mobile-sticky-cta__btn.role-guide::before,
.mobile-sticky-cta__btn.role-guide::after{
  content:none !important;
  display:none !important;
}


.linklike{
  color: var(--text);
  text-decoration: underline;
  word-break: break-all;
}
.linklike:hover{
  color: var(--accent);
}


.public-note{
  margin-top:10px;
  padding:10px 12px;
  border:1px solid rgba(255,184,77,.32);
  background:rgba(255,184,77,.08);
  color:#f3d08a;
  border-radius:12px;
  font-size:13px;
  line-height:1.7;
}
.sample-box{
  margin-top:10px;
  border:1px solid rgba(91,132,255,.28);
  border-radius:12px;
  background:rgba(15,23,42,.18);
}
.sample-box summary{
  cursor:pointer;
  list-style:none;
  padding:12px 14px;
  font-weight:700;
  color:var(--accent);
}
.sample-box summary::-webkit-details-marker{display:none;}
.sample-box summary::after{
  content:'＋';
  float:right;
  color:var(--muted);
}
.sample-box[open] summary::after{content:'−';}
.sample-box pre{
  margin:0;
  padding:0 14px 14px;
  white-space:pre-wrap;
  word-break:break-word;
  font-family:inherit;
  line-height:1.7;
  color:var(--text);
  font-size:13px;
}


/* TALENT 投稿/編集 調整 */
#screenT .panel{max-width:1180px; margin:0 auto;}
#screenT .grid2{grid-template-columns:minmax(360px,0.95fr) minmax(440px,1.15fr); gap:22px; align-items:start;}
#screenT #tBio{min-height:200px; line-height:1.55;}
#screenT .public-note{margin-top:8px; padding:12px 14px; line-height:1.6;}
#screenT #tVerBox .checklist{gap:8px;}
#screenT #tVerBox .check{padding:8px 10px;}
#screenT .agree-box{margin-top:8px;}
#screenT .row{margin-bottom:14px;}
@media (max-width: 980px){
  #screenT .grid2{grid-template-columns:1fr; gap:16px;}
  #screenT #tBio{min-height:180px;}
}


/* OFFER list UI */
.offer-panel{max-width:1200px;margin:0 auto;}
.offer-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:10px;}
.offer-selected-wrap{min-width:280px;}
.offer-selected-label{font-size:12px;color:var(--muted);margin-bottom:4px;}
.offer-selected-title{font-weight:800;font-size:18px;line-height:1.4;}
.offer-toolbar-actions{display:flex;gap:10px;flex-wrap:wrap;}
.offer-selected-meta{margin-bottom:14px;}
.offer-list{display:flex;flex-direction:column;gap:14px;}
.offer-item{cursor:pointer;}
.offer-item.active{border-color:rgba(91,132,255,.9); box-shadow:0 0 0 1px rgba(91,132,255,.25) inset; background:rgba(91,132,255,.08);}
.offer-card{width:100%;text-align:left;background:linear-gradient(180deg, rgba(8,24,56,.72), rgba(4,16,40,.86));cursor:pointer;border:1px solid rgba(91,132,255,.18);border-radius:18px;padding:16px 18px;display:block;box-shadow:0 10px 24px rgba(0,0,0,.14);}
.offer-card:hover{border-color:rgba(91,132,255,.48);box-shadow:0 12px 28px rgba(0,0,0,.18);}
.offer-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px;}
.offer-row-title{font-weight:700;font-size:14px;line-height:1.45;margin-bottom:6px;color:#dbe7ff;}
.offer-row-name{font-size:15px;line-height:1.45;margin:0;color:#c6d4f7;}
.offer-row-time{font-size:13px;line-height:1.5;color:var(--muted);}
.offer-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 10px;border-radius:999px;border:1px solid rgba(91,132,255,.35);background:rgba(91,132,255,.12);color:#dce7ff;font-size:12px;font-weight:700;white-space:nowrap;}


.pw-wrap{
  position:relative;
  display:flex;
  align-items:center;
}
.thread-quota{ margin-top:8px; }

.thread-no-inline{font-size:.82em; opacity:.8;}

.admin-kv{display:grid;grid-template-columns:140px 1fr;gap:6px 12px;align-items:start}
.admin-kv .k{color:var(--muted)}
.admin-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.admin-card .title{margin-bottom:8px}

.price-chip{display:inline-block;padding:4px 10px;border:1px solid rgba(255,255,255,.12);border-radius:999px;margin-right:8px;margin-bottom:6px;font-size:.92em;}


.mobile-home-switch{display:none;gap:10px;margin:0 0 14px 0}
.mobile-home-switch .btn{flex:1}

@media (max-width: 768px){
  .mobile-home-switch{display:flex}
  #homeContainer.mobile-tab-task #homeTaskCol{display:block}
  #homeContainer.mobile-tab-task #homeTalentCol{display:none}
  #homeContainer.mobile-tab-talent #homeTaskCol{display:none}
  #homeContainer.mobile-tab-talent #homeTalentCol{display:block}
}


.site-footer{
  max-width:1200px;
  margin:56px auto 24px;
  padding:0 18px 24px;
  text-align:center;
  font-size:11px;
  line-height:1.7;
  color:var(--muted);
}


/* ===== Mobile fixed header stack (home only) ===== */
@media (max-width: 768px){
  #screenA .topbar{
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 6px;
    padding: 8px 12px 6px;
    background: rgba(15,23,42,.96);
  }
  #screenA .brand{
    width: 100%;
  }
  #screenA .brand-title{
    font-size: 16px;
    line-height: 1.2;
  }
  #screenA .brand-sub{
    font-size: 11px;
    margin-top: 1px;
  }
  #screenA .nav{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 6px;
    flex-wrap: nowrap;
  }
  #screenA .nav .icon-btn{
    min-width: 0;
    width: 100%;
    justify-content: center;
    padding: 9px 6px;
    font-size: 12px;
    gap: 4px;
    border-radius: 12px;
  }
  #screenA .nav .nav-label{
    white-space: nowrap;
  }
  #screenA #homeContainer{
    padding-top: 10px;
  }
  #screenA .mobile-home-switch{
    position: sticky;
    top: var(--mobile-stack-top, 112px);
    z-index: 55;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0 0 10px;
    padding: 0 0 2px;
    background: linear-gradient(to bottom, rgba(11,18,32,.99), rgba(11,18,32,.96));
    border-top: 1px solid rgba(59,130,246,.08);
  }
  #screenA .mobile-home-switch .btn{
    padding: 10px 8px;
  }
  #screenA .account-menu{
    top: calc(var(--mobile-stack-top, 112px) + 2px);
    right: 12px;
  }
}


/* keep button text horizontal */
.btn, .icon-btn, .menu-btn, .seg-btn{
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (max-width: 768px){
  .thread-head{
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap:8px;
  }
  .thread-head-main,
  .thread-head-actions,
  .thread-title{
    width:100%;
  }
  .thread-head-actions{
    justify-content:flex-start;
  }
  .thread-head .btn,
  .offer-toolbar-actions .btn,
  .thread-send .btn{
    width:auto;
    min-width:72px;
    white-space:normal;
    line-height:1.2;
    text-align:center;
  }
  .thread-send{
    display:grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items:center;
  }
  .offer-toolbar-actions{
    gap:8px;
  }
  #screenA .nav .icon-btn{
    font-size:11px;
  }
}


.field-count{
  margin-top:6px;
  text-align:right;
  font-size:12px;
  color:var(--muted);
}
.tag-row{display:flex; flex-wrap:wrap; gap:6px; margin-top:8px}
.tag.more{opacity:.8}
.clamp3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  line-height:1.45;
}
.detail-with-sticky-cta{padding-bottom:86px}
.mobile-sticky-cta{
  display:none;
}
@media (max-width: 767px){
  .mobile-sticky-cta{
    display:block;
    position:sticky;
    bottom:-14px;
    margin:16px -14px -14px;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:rgba(15,23,42,.98);
    border-top:1px solid rgba(31,42,68,.95);
    z-index:5;
  }
  .mobile-sticky-cta__meta{
    font-size:12px;
    color:var(--muted);
    text-align:center;
    margin-bottom:8px;
  }
  .mobile-sticky-cta__btn{
    width:100%;
    min-height:48px;
  }
}


.detail-mobile-back-wrap{display:none}
@media (max-width:767px){
  .detail-mobile-back-wrap{display:block}
  .detail-floating-back{
    position:fixed;
    left:14px;
    bottom:92px;
    width:54px;
    height:54px;
    min-width:54px;
    padding:0;
    border-radius:999px;
    z-index:30;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    line-height:1;
    touch-action:none;
    user-select:none;
    -webkit-user-select:none;
    box-shadow:0 14px 36px rgba(0,0,0,.32);
  }
  .detail-floating-back.is-dragging{
    opacity:.92;
    transform:scale(1.04);
    cursor:grabbing;
  }
  .mobile-sticky-cta__btn.is-disabled{opacity:.72}
}


.label-with-action{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.inline-action{white-space:nowrap}
.reader-view{padding:4px 0}
.reader-view__body{
  line-height:1.9;
  font-size:16px;
  white-space:normal;
  word-break:break-word;
}
@media (max-width:767px){
  .reader-view__body{font-size:17px;line-height:1.95}
}


.reader-modal{padding:0; background:rgba(5,10,20,.82);}
.reader-modal-panel{
  width:100vw;
  max-width:none;
  height:100vh;
  max-height:none;
  border-radius:0;
  border:none;
}
.reader-view--fullscreen{
  min-height:calc(100vh - 72px);
}
.reader-view--fullscreen .reader-view__body{
  width:min(1100px, 100%);
  margin:0 auto;
  font-size:18px;
  line-height:1.9;
  white-space:normal;
}
@media (max-width: 767px){
  .large-reader-only{display:none !important;}
}



/* ===== MOBILE LAYOUT FIX (SAFE) ===== */
@media (max-width:768px){

  #screenA .topbar{
    gap:4px;
    padding:6px 10px 4px;
    align-items:flex-start;
  }

  #screenA .brand{
    width:100%;
  }

  #screenA .brand-title{
    font-size:15px;
    line-height:1.15;
  }

  #screenA .brand-sub{
    font-size:10px;
    line-height:1.1;
    margin-top:0;
  }

  #screenA .nav{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }

  #screenA .nav .icon-btn{
    min-width:0;
    width:100%;
    justify-content:center;
    padding:8px 6px;
    font-size:12px;
    gap:4px;
    border-radius:10px;
  }

  #screenA #homeContainer{
    padding-top:4px;
  }

  #screenA .mobile-home-switch{
    position:static;
    top:auto;
    z-index:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin:0 0 8px;
    padding:0;
    background:transparent;
    border-top:0;
  }

  #screenA .mobile-home-switch .btn{
    padding:8px 6px;
    min-height:36px;
    font-size:13px;
  }

  .container{
    gap:10px;
    padding:8px 10px;
  }

  .col,
  .panel{
    padding:10px;
    border-radius:12px;
  }

  .col-head{
    gap:8px;
    margin-bottom:8px;
  }

  .h{
    font-size:14px;
    line-height:1.2;
  }

  .sub{
    font-size:11px;
    font-weight:700;
    margin-top:1px;
    line-height:1.2;
  }

  .actions{
    gap:6px;
  }

  .search-row{
    gap:8px;
    margin-bottom:10px;
  }

  .search-row .input,
  .search-row .search-wide,
  .search-row .search-third{
    flex:1 1 100%;
    min-width:0;
  }

  .btn{
    padding:8px 10px;
    border-radius:10px;
    font-size:13px;
  }

  .btn.small{
    padding:7px 9px;
    font-size:11px;
  }

}

/* ===== Footer ===== */
.site-footer{
  margin-top:20px;
  padding:16px 12px 24px;
  border-top:1px solid rgba(31,42,68,.85);
  text-align:center;
}
.footer-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:8px;
}
.footer-links a{
  color:var(--muted);
  text-decoration:none;
  font-size:12px;
}
.footer-links a:hover{
  color:var(--text);
}
.footer-text{
  font-size:11px;
  color:#9aa4b2 !important;
  line-height:1.5;
}
.footer-contact{
  display:inline-block;
  margin-top:2px;
  font-size:11px;
  line-height:1.5;
  color:#9aa4b2 !important;
  text-decoration:none;
}
.footer-contact:hover{
  color:#c7d0db !important;
}

.footer-copyright{
  margin-top:10px;
  font-size:12px;
  color:#c7d0db !important;
  line-height:1.6;
}


/* ===== build_20260319_02 mobile header + agreement readability ===== */
@media (max-width:768px){
  #screenA .topbar{
    gap:4px;
    padding:6px 10px 4px;
  }

  #screenA #homeContainer{
    padding-top:2px;
  }

  #screenA .mobile-home-switch{
    position:sticky;
    top:var(--mobile-stack-top, 72px);
    z-index:55;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin:0 0 8px;
    padding:0 0 2px;
    background:linear-gradient(to bottom, rgba(11,18,32,.99), rgba(11,18,32,.96));
    border-top:1px solid rgba(59,130,246,.08);
  }

  #screenA .mobile-home-switch .btn{
    min-height:40px;
    padding:8px 6px;
    font-size:13px;
  }
}

.agree-box,
.agree-title,
.agree-item{
  color:#c7ced8;
}

.agree-item a{
  color:#d7deea;
  text-decoration:none;
  font-weight:600;
}

.agree-item a:hover{
  color:#ffffff;
  text-decoration:underline;
}

.agree-item input:disabled + a,
.agree-item input:disabled + a + span{
  opacity:1;
}

.check-hint{
  margin-left:6px;
  font-size:12px;
  color:#94a3b8;
}

.footer-build{
  display:none;
}


.admin-summary{
  margin:8px 0 12px;
  padding:0 4px;
  font-size:13px;
  color:#e6edf3;
  letter-spacing:.2px;
}

.ver-other-input{width:120px; max-width:120px; height:28px; padding:4px 8px; font-size:12px; margin-left:6px;}
.ver-other-inline{display:inline-flex; align-items:center; gap:6px;}
.chip{display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border:1px solid rgba(148,163,184,.35); border-radius:999px; background:rgba(15,23,42,.55); font-size:12px;}
.chip button{border:0; background:transparent; color:#cbd5e1; cursor:pointer; padding:0; line-height:1;}


.external-modal{position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center;}
.external-modal__backdrop{position:absolute; inset:0; background:rgba(2,6,23,.66);}
.external-modal__panel{position:relative; z-index:1; min-width:280px; max-width:calc(100vw - 32px); padding:18px; border-radius:16px; border:1px solid rgba(255,255,255,.12); background:rgba(15,23,42,.98); box-shadow:0 18px 60px rgba(0,0,0,.45); text-align:center;}
.external-modal__title{font-size:14px; font-weight:800; color:#fff; line-height:1.5;}
.external-modal__actions{display:flex; justify-content:center; gap:10px; margin-top:14px;}


.reader-view__actions{display:flex;justify-content:flex-end;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
.reader-view__actions .btn{min-width:88px}

.reader-view__actions--center{justify-content:center}
.reader-view__copy-wrap{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.reader-copy-btn{min-width:88px;padding-inline:18px;border-radius:10px;box-shadow:0 8px 24px rgba(2,6,23,.24)}
.reader-view__copy-note{font-size:12px;line-height:1.5;color:#9aa4b2}


.intro-splash{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at center, rgba(16,40,48,.96) 0%, rgba(7,20,31,.985) 72%, rgba(6,16,26,.995) 100%);opacity:1;visibility:visible;transition:opacity .28s ease, visibility .28s ease;pointer-events:auto;}
.intro-splash.hidden{opacity:0;visibility:hidden;pointer-events:none;}
.intro-splash-inner{display:flex;align-items:center;justify-content:center;padding:24px;}
.intro-splash-logo{display:block;width:min(54vw, 320px);max-width:320px;min-width:180px;height:auto;filter:drop-shadow(0 10px 26px rgba(0,0,0,.22));transform:scale(.97);opacity:.98;animation:introSplashPulse .9s ease forwards;}
@keyframes introSplashPulse{0%{opacity:0;transform:scale(.94)}35%{opacity:1;transform:scale(1)}100%{opacity:1;transform:scale(1)}}
@media (max-width: 640px){.intro-splash-logo{width:min(70vw, 320px);min-width:160px;}}


.thread-payment-modal{position:fixed;inset:0;z-index:10020;display:flex;align-items:center;justify-content:center;padding:18px;}
.thread-payment-modal__backdrop{position:absolute;inset:0;background:rgba(2,6,23,.72);backdrop-filter:blur(3px);}
.thread-payment-modal__panel{position:relative;z-index:1;width:min(440px, calc(100vw - 32px));padding:22px 20px 18px;border-radius:22px;border:1px solid rgba(226,232,240,.16);background:linear-gradient(180deg, rgba(15,23,42,.98), rgba(11,18,32,.98));box-shadow:0 24px 80px rgba(0,0,0,.52);color:#e5edf8;text-align:left;}
.thread-payment-modal__eyebrow{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:rgba(59,130,246,.14);border:1px solid rgba(96,165,250,.26);font-size:12px;font-weight:800;color:#bfdbfe;letter-spacing:.03em;}
.thread-payment-modal__title{margin:12px 0 10px;font-size:18px;line-height:1.45;font-weight:900;color:#fff;}
.thread-payment-modal__price{margin:2px 0 12px;font-size:34px;line-height:1;font-weight:900;color:#fff;letter-spacing:.02em;}
.thread-payment-modal__body{margin:0;font-size:13px;line-height:1.75;color:#cbd5e1;}
.thread-payment-modal__note{margin-top:12px;padding:10px 12px;border-radius:14px;background:rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.16);font-size:12px;line-height:1.65;color:#9fb0c4;}
.thread-payment-modal__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;}
.thread-payment-modal__cancel,.thread-payment-modal__pay{min-width:104px;}
.thread-payment-modal__pay[disabled]{opacity:.78;cursor:wait;}
.thread-payment-modal__spinner{display:inline-block;width:13px;height:13px;margin-right:7px;border-radius:999px;border:2px solid rgba(255,255,255,.34);border-top-color:#fff;vertical-align:-2px;animation:threadPaymentSpin .72s linear infinite;}
.thread-payment-modal.is-connecting .thread-payment-modal__backdrop{background:rgba(2,6,23,.82);}
.thread-payment-connecting-modal__panel{text-align:center;max-width:360px;}
.thread-payment-connecting-modal__spinner{width:34px;height:34px;margin:0 auto 14px;border-radius:999px;border:3px solid rgba(255,255,255,.28);border-top-color:#fff;animation:threadPaymentSpin .72s linear infinite;}
@keyframes threadPaymentSpin{to{transform:rotate(360deg)}}
@media (max-width:640px){.thread-payment-modal{align-items:flex-end;padding:12px}.thread-payment-modal__panel{width:100%;border-radius:22px 22px 18px 18px}.thread-payment-modal__actions{flex-direction:column-reverse}.thread-payment-modal__cancel,.thread-payment-modal__pay{width:100%;}}


/* Mobile direct COPY action for detail text. PC keeps the large reader flow. */
.mobile-copy-action{display:none}
@media (max-width: 767px){
  .mobile-copy-action{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:8px;
  }
  .mobile-copy-btn{
    min-width:72px;
  }
  .mobile-copy-note{
    font-size:12px;
    color:#9aa4b2;
    line-height:1.5;
  }
}

/* SNS share: quiet external contact route for TASK / TALENT detail URLs */
.social-share{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(148,163,184,.22);
}
.social-share--compact{
  margin-top:12px;
  padding-top:10px;
}
.social-share__label{
  color:#9aa4b2;
  font-size:12px;
  line-height:1.5;
  margin-bottom:8px;
}
.social-share__buttons{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.social-share__btn{
  min-height:30px;
  padding:6px 10px;
  font-size:12px;
}
@media (max-width: 640px){
  .social-share__buttons{gap:6px;}
  .social-share__btn{padding:6px 9px;}
}

.detail-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
  align-items:center;
}
.social-share-inline__btn{
  padding:8px 12px;
  font-size:13px;
}
.detail-action-spacer{
  width:44px;
  flex:0 0 44px;
}
.social-share-inline__btn,
.social-share__btn{
  border-radius:10px;
  font-weight:800;
}
.social-share-inline__btn--x,
.social-share__btn--x{
  background:#000;
  border-color:#000;
  color:#fff;
}
.social-share-inline__btn--linkedin,
.social-share__btn--linkedin{
  background:#fff;
  border-color:#0a66c2;
  color:#0a66c2;
}
.social-share-inline__btn--facebook,
.social-share__btn--facebook{
  background:#1877f2;
  border-color:#1877f2;
  color:#fff;
}
.social-share-inline__btn--reddit,
.social-share__btn--reddit{
  background:#fff;
  border-color:#ff4500;
  color:#ff4500;
}
.social-share-inline__btn--threads,
.social-share__btn--threads{
  background:#000;
  border-color:#000;
  color:#fff;
}
.social-share-inline__btn--line,
.social-share__btn--line{
  background:#06c755;
  border-color:#06c755;
  color:#fff;
}
.social-share-inline__btn--x:hover,
.social-share__btn--x:hover,
.social-share-inline__btn--facebook:hover,
.social-share__btn--facebook:hover,
.social-share-inline__btn--line:hover,
.social-share__btn--line:hover{
  color:#fff;
  filter:brightness(.96);
}
.social-share-inline__btn--linkedin:hover,
.social-share__btn--linkedin:hover{
  background:#f8fbff;
  color:#0a66c2;
}
@media (max-width:640px){
  .detail-action-row{gap:8px;}
  .detail-action-spacer{width:100%;flex:0 0 100%;height:0;}
  .social-share-inline__btn{padding:7px 10px;font-size:12px;}
}

/* Premium title animation */
@keyframes text08{
  0%{opacity:0;transform:scale(.3) translateY(150%)}
  30%{opacity:1}
  75%{transform:scale(1.5) translateY(-30%)}
  100%{opacity:1;transform:scale(1) translateY(0)}
}

/* MATCH AI COPY picker */
.match-ai-picker{display:flex;flex-direction:column;gap:12px}
.match-ai-picker__list{display:flex;flex-direction:column;gap:10px}
.match-ai-picker__item{width:100%;text-align:left;border:1px solid rgba(148,163,184,.28);background:rgba(15,23,42,.72);color:#e5e7eb;border-radius:14px;padding:12px 14px;cursor:pointer;transition:border-color .16s ease, transform .16s ease, background .16s ease}
.match-ai-picker__item:hover{border-color:rgba(226,232,240,.72);background:rgba(30,41,59,.88);transform:translateY(-1px)}
.match-ai-picker__item b{display:block;font-size:14px;line-height:1.45;margin-bottom:5px}
.match-ai-picker__item span{display:block;font-size:12px;line-height:1.55;color:#aeb8c6}

/* build_20260615_01: mobile modal is rendered as an in-flow page, not a fixed overlay.
   Desktop keeps the existing layered modal. */
@media (max-width: 767px){
  body.modal-open{
    overflow:auto;
  }
  body.modal-open .screen{
    display:none !important;
  }
  .modal{
    position:static;
    inset:auto;
    z-index:auto;
    display:block;
    align-items:initial;
    justify-content:initial;
    padding:0;
    background:transparent;
  }
  .modal.hidden{
    display:none !important;
  }
  .modal-panel{
    width:100%;
    max-width:100%;
    height:auto;
    min-height:0;
    max-height:none;
    border-radius:0;
    border-left:0;
    border-right:0;
    box-shadow:none;
    overflow:visible;
  }
  .modal-head{
    padding:10px 12px;
    gap:8px;
  }
  .modal-title{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    text-align:left;
  }
  .modal-body{
    padding:12px;
    overflow:visible;
  }
  .grid2,
  .grid2 > *,
  .row,
  .card,
  .card.mini,
  .detail-long,
  .txt{
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .card,
  .card.mini,
  .detail-long,
  .txt,
  .linklike,
  .external-hp-link{
    overflow-wrap:anywhere;
    word-break:break-word;
  }
  .detail-long{
    min-height:160px;
    max-height:none;
  }
  .mobile-copy-action{
    display:flex;
    flex-wrap:wrap;
    align-items:stretch;
    gap:8px;
    width:100%;
  }
  .mobile-copy-btn{
    flex:1 1 140px;
    min-width:0;
    justify-content:center;
  }
  .mobile-copy-note{
    flex:1 1 100%;
  }
  .detail-action-row{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
}

/* legacy_build_20260516_08: usage modal for first-time and logged-in users */
.usage-modal{display:flex;flex-direction:column;gap:18px;color:#dbe5f5;line-height:1.75;}
.usage-lead{padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);font-size:14px;color:#fff;}
.usage-section{padding:14px 16px;border-radius:16px;background:rgba(15,23,42,.55);border:1px solid rgba(255,255,255,.10);}
.usage-title{font-size:15px;font-weight:900;color:var(--text-normal);margin-bottom:8px;}
.usage-steps{margin:0;padding-left:22px;font-size:14px;}
.usage-steps li{margin:4px 0;}
.usage-note{font-size:13px;color:#c9d5e7;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09);}
@media(max-width: 760px){
  .usage-modal{gap:14px;}
  .usage-lead,.usage-section,.usage-note{padding:12px 13px;border-radius:14px;}
  .usage-steps{padding-left:20px;}
}

/* legacy_build_20260516_08: usage writing guide buttons and modal readability */
.usage-write-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:4px 12px;
  margin-left:8px;
  border-radius:999px;
  border:1px solid rgba(116,150,255,.55);
  background:rgba(37,65,143,.46);
  color:#f7fbff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
  cursor:pointer;
  vertical-align:middle;
  box-shadow:0 0 0 1px rgba(255,255,255,.04) inset;
}
.usage-write-btn:hover{
  background:rgba(65,96,190,.68);
  border-color:rgba(151,180,255,.78);
}
.writing-guide-modal{gap:12px;}
.usage-guide-text{
  max-height:62vh;
  overflow:auto;
  font-size:14px;
  line-height:1.82;
  color:#e4ecfb;
  background:rgba(8,15,31,.64);
}
@media(max-width:760px){
  .usage-write-btn{
    margin-left:6px;
    padding:3px 10px;
    min-height:26px;
    font-size:12px;
  }
  .usage-guide-text{
    max-height:66vh;
    font-size:13px;
    line-height:1.78;
  }
}

/* legacy_build_20260516_08: compact payment timing notes in usage flow */
.usage-pay-inline{display:inline-flex;align-items:center;margin-left:8px;font-size:12px;font-weight:800;color:var(--text-secondary);white-space:nowrap;}
.usage-pay-note{margin-top:4px;font-size:12px;line-height:1.55;color:var(--text-secondary);}
@media(max-width:760px){
  .usage-pay-inline{display:inline;margin-left:6px;white-space:normal;}
  .usage-pay-note{font-size:12px;}
}

.thread-partner-card{
  margin-top:10px;
  padding:10px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:12px;
  background:rgba(15,23,42,.35);
}
.thread-partner-card__label{
  font-size:12px;
  color:#9aa4b2;
  margin-bottom:4px;
}
.thread-partner-card__text{
  font-size:14px;
  font-weight:700;
  color:#e5e7eb;
  line-height:1.5;
}
.thread-partner-card__sub{
  margin-top:4px;
  font-size:12px;
  color:#cbd5e1;
  line-height:1.6;
}
.thread-partner-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}

.brand-sub{
  font-size:11px;
  opacity:.7;
  margin-top:2px;
  letter-spacing:.08em;
}
.col-head .sub small{
  display:block;
  font-size:11px;
  opacity:.7;
  margin-top:2px;
}

/* Stage: post form content fields - expand the actual writing area without changing modal/screen size */
.post-long-field{margin-bottom:10px;}
.post-main-textarea{min-height:340px;}
#screenC .post-main-textarea,
#screenT .post-main-textarea{min-height:360px;}
#screenC .grid2,
#screenT .grid2{align-items:start;}
@media (max-width:768px){
  .post-main-textarea,
  #screenC .post-main-textarea,
  #screenT .post-main-textarea{min-height:300px;}
}

@media (max-width:767px){
  .modal.has-floating-detail-back .modal-back{display:none}
}


/* build_20260615_01: fixed header back; draggable/floating detail back disabled */
.detail-mobile-back-wrap,
.detail-floating-back{
  display:none !important;
}
@media (max-width: 760px){
  .modal .modal-back{
    display:inline-flex;
  }
}


/* build_20260627_03_jp_pagea_auth_blur_modal_fix: pageA sign-in gate */
#screenA{
  position:relative;
}
#screenA.pagea-auth-locked #homeContainer{
  filter:blur(5px);
  opacity:.82;
  pointer-events:none;
  user-select:none;
  transition:filter .22s ease, opacity .22s ease;
}
#screenA:not(.pagea-auth-locked) #homeContainer{
  filter:blur(0);
  opacity:1;
  transition:filter .22s ease, opacity .22s ease;
}
.pagea-auth-gate{
  display:none;
  position:fixed;
  left:0;
  right:0;
  top:72px;
  bottom:0;
  z-index:40;
  align-items:center;
  justify-content:center;
  padding:24px 16px;
  background:rgba(11,18,32,.16);
  pointer-events:auto;
}
#screenA.pagea-auth-locked .pagea-auth-gate{
  display:flex;
}
body.modal-open #pageAAuthGate{
  display:none !important;
}

.pagea-auth-card{
  width:min(420px, calc(100vw - 32px));
  border:1px solid rgba(226,232,240,.20);
  border-radius:22px;
  background:rgba(15,23,42,.88);
  backdrop-filter:blur(14px);
  box-shadow:0 18px 48px rgba(0,0,0,.38);
  padding:22px;
  text-align:center;
}
.pagea-auth-title{
  font-size:18px;
  line-height:1.35;
  font-weight:900;
  letter-spacing:.02em;
}
.pagea-auth-text{
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}
.pagea-auth-actions{
  margin-top:18px;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.pagea-auth-actions .btn{
  min-width:138px;
}
@media (max-width: 720px){
  .pagea-auth-gate{
    top:96px;
    align-items:center;
    padding-top:18px;
  }
  .pagea-auth-card{
    padding:18px;
  }
}

/* ===== inclinq Light Premium Theme ===== */
html{background:var(--bg)}
body{
  color:var(--text);
  background:
    radial-gradient(1000px 760px at 12% -10%, rgba(53,104,240,.10), transparent 58%),
    radial-gradient(900px 680px at 92% 22%, rgba(15,159,143,.08), transparent 60%),
    var(--bg);
}
.topbar{background:rgba(255,255,255,.90);border-bottom-color:#dbe3ee;box-shadow:0 8px 26px rgba(31,41,55,.06)}
.brand-sub,.brand-sub-secondary{color:#526078}
.icon-btn,.menu-btn,.account-chip,.account-mode-switch,.seg-btn{background:rgba(255,255,255,.84);border-color:var(--line);color:var(--text)}
.account-menu{background:rgba(255,255,255,.98);border-color:var(--line)}
.col,.panel,.thread-list,.thread-pane{background:rgba(255,255,255,.84);border-color:var(--line);box-shadow:var(--shadow)}
.card,.thread-item,.bubble,.chip,.pill,.check{background:rgba(255,255,255,.94);border-color:var(--line);color:var(--text)}
.card:not(.task-card):not(.talent-card):hover,.thread-item:hover{border-color:rgba(53,104,240,.52);box-shadow:0 10px 24px rgba(53,104,240,.08)}
.card.ro:hover{border-color:var(--line);box-shadow:none}
.meta,.sub,.label,.note,.account-role,.thread-id,.ts,.msg-name,.offer-row-time,.offer-selected-label,.field-count{color:var(--muted)}
.meta-pay,.note.note-important{color:var(--text)}
.tag{background:#f4f6f9;border-color:#dce3ec;color:#5c6678}
.verify-badge,.verif-item,.verif-anti{background:#f5f7fa;border-color:#dce3ec;color:var(--text)}
.btn{border-color:#3568f0;background:linear-gradient(180deg,#4a79f4,#3568f0);color:#fff;box-shadow:0 7px 18px rgba(53,104,240,.18)}
.btn:hover{background:linear-gradient(180deg,#5a85f5,#3d6ef2)}
.btn.ghost{border-color:var(--line);background:#fff;color:var(--text);box-shadow:none}
.btn.ghost:hover{border-color:rgba(53,104,240,.48);background:#f7f9fc}
.btn.danger{border-color:rgba(216,75,91,.48);background:rgba(216,75,91,.08);color:#b42336;box-shadow:none}
.btn[disabled],.btn.is-disabled{border-color:#d8e0ea!important;background:#eef2f6!important;color:#98a2b3!important}
.input,.textarea{background:#fff;border-color:#d4dce7;color:var(--text)}
.input::placeholder,.textarea::placeholder{color:#98a2b3}
.input:focus,.textarea:focus{border-color:rgba(53,104,240,.72);box-shadow:0 0 0 3px rgba(53,104,240,.10)}
.modal{background:rgba(35,45,64,.34)}
.modal-panel{background:rgba(255,255,255,.99);border-color:var(--line)}
.modal-head,.thread-head,.thread-send{border-color:var(--line)}
.verify-modal__lead,.verify-modal__email span{color:var(--text)}
.verify-modal__text,.usage-modal,.usage-note{color:#445066}
.verify-modal__email,.verify-modal__status,.usage-lead,.usage-section,.usage-note{background:#f6f8fb;border-color:#dde5ef;color:var(--text)}
.thread-item.active{border-color:rgba(53,104,240,.75);background:rgba(53,104,240,.07)}
.msg.me .bubble{border-color:rgba(53,104,240,.38);background:#eaf0ff}
.msg.other .bubble,.msg.system .bubble{background:#f7f9fc}
.thread-task-inactive-notice,.thread-partner-card{background:#f6f8fb;border-color:#dce4ee}
.offer-card{background:linear-gradient(180deg,#fff,#f5f8fc);border-color:#d9e2ef;box-shadow:0 10px 24px rgba(33,48,75,.07)}
.offer-row-title{color:#25324a}.offer-row-name{color:#48556e}
.offer-pill{border-color:rgba(53,104,240,.28);background:rgba(53,104,240,.08);color:#2854bd}
.public-note{border-color:rgba(202,138,4,.28);background:#fff8e6;color:#8a5b00}
.sample-box{border-color:rgba(53,104,240,.24);background:#f7f9fc}.sample-box pre{color:var(--text)}
.agree-box{background:#f8fafc;border-color:#dce4ee}.agree-box,.agree-title,.agree-item{color:#46536b}.agree-item a{color:#2f5fcc}
.site-footer{border-top-color:#dce4ee}.footer-links a,.footer-text,.footer-contact{color:#748094!important}.footer-copyright{color:#526078!important}
.external-modal__backdrop,.thread-payment-modal__backdrop{background:rgba(32,43,61,.46)}
.external-modal__panel,.thread-payment-modal__panel{border-color:#dce4ee;background:linear-gradient(180deg,#fff,#f6f8fb);box-shadow:0 24px 70px rgba(31,41,55,.18);color:var(--text)}
.external-modal__title,.thread-payment-modal__title,.thread-payment-modal__price{color:var(--text)}
.thread-payment-modal__body{color:#526078}
.thread-payment-modal__note{background:#f5f7fa;border-color:#dce4ee;color:#667085}
.match-ai-picker__item{background:#fff;border-color:#dce4ee;color:var(--text)}
.match-ai-picker__item:hover{background:#f7f9fc;border-color:rgba(53,104,240,.42)}
.match-ai-picker__item span{color:#667085}
.usage-guide-text{background:#f7f9fc;color:#445066}
.pagea-auth-gate{background:rgba(238,243,250,.44)}
.pagea-auth-card{border-color:#d6dfec;background:rgba(255,255,255,.95);box-shadow:0 20px 54px rgba(31,41,55,.16)}
.mobile-sticky-cta{background:rgba(255,255,255,.98);border-top-color:var(--line)}
.reader-modal{background:rgba(31,41,55,.36)}
@media (max-width:768px){
  #screenA .topbar{background:rgba(255,255,255,.97)}
  #screenA .mobile-home-switch{background:linear-gradient(to bottom,rgba(244,247,251,.99),rgba(244,247,251,.96));border-top-color:rgba(53,104,240,.08)}
}

/* ===== inclinq Mint White refinement ===== */
:root{
  --bg:#edf2f7;
  --panel:#ffffff;
  --card:#ffffff;
  --line:#d8e0ea;
  --text:#172033;
  --text-main:#14213d;
  --text-normal:#374151;
  --text-secondary:#4b5563;
  --text-muted:#6b7280;
  --muted:var(--text-muted);
  --accent:#3568f0;
  --brand:#35c7b7;
  --brand-deep:#159d91;
  --task-hover:#14213d;
  --talent-hover:#4b5563;
}

body{
  background:
    radial-gradient(920px 680px at 12% -8%, rgba(53,199,183,.08), transparent 58%),
    radial-gradient(860px 620px at 92% 18%, rgba(53,104,240,.05), transparent 62%),
    var(--bg);
}
.topbar{
  background:#35c7b7;
  border-bottom-color:rgba(20,33,61,.14);
  box-shadow:none;
  color:#fff;
  isolation:isolate;
}
.topbar::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:0;
  right:0;
  bottom:-16px;
  height:16px;
  pointer-events:none;
  background:linear-gradient(to bottom, rgba(53,199,183,.22), rgba(53,199,183,0));
}
.topbar .brand-title{
  color:#14213d;
  font-size:17px;
}
.topbar .brand-sub,
.topbar .brand-sub-secondary,
.topbar .titleline{
  color:#374151;
}
.topbar .brand-sub{opacity:1}
.topbar .brand-sub-secondary{opacity:1}
.topbar .icon-btn{
  border-width:2px;
  border-color:rgba(55,65,81,.72);
  background:#fff;
  color:#374151;
}
.topbar .icon-btn .dot{background:#374151}
.topbar .icon-btn:hover{
  border-color:#374151;
  background:#fff;
  color:#374151;
}
@media (max-width:768px){
  #screenA .topbar{background:#35c7b7}
  #screenA .brand-title{font-size:16px}
}
.col,.panel,.thread-list,.thread-pane{background:rgba(255,255,255,.88)}
.input,.textarea{
  background:#f7f9fc;
  border-width:1.5px;
}
.card,.thread-item,.bubble,.chip,.pill,.check{background:#fff}
.card,.thread-item{border-width:2px}
.icon-btn,.menu-btn,.seg-btn,.account-chip,.account-mode-switch{border-width:2px}

.dot{background:var(--brand)}
.icon-btn:hover,.menu-btn:hover,.seg-btn:hover{border-color:rgba(53,199,183,.62)}
.menu-btn.mode-btn.is-active,.thread-item.active{
  border-color:rgba(53,199,183,.72);
  background:rgba(53,199,183,.08);
}
.verify-badge,.offer-pill,.thread-payment-modal__eyebrow{
  border-color:rgba(53,199,183,.28);
  background:rgba(53,199,183,.09);
  color:#117d73;
}
.linklike:hover,.sample-box summary,.footer-links a:hover{color:var(--brand-deep)}
.input:focus,.textarea:focus{
  border-color:rgba(53,199,183,.78);
  box-shadow:0 0 0 3px rgba(53,199,183,.12);
}

.task-card,
.talent-card{
  border-width:2px;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.task-card:not(.premium),
.talent-card:not(.premium){
  transform:none !important;
}
.task-card:not(.premium):hover{
  border-color:var(--task-hover);
  box-shadow:0 0 0 1px var(--task-hover);
  transform:none;
}
.talent-card:not(.premium):hover{
  border-color:var(--talent-hover);
  box-shadow:0 0 0 1px var(--talent-hover);
  transform:none;
}
.card.ro:hover{
  border-color:var(--line);
  box-shadow:none;
  transform:none;
}

.task-card.premium,
.talent-card.premium{
  background:#fff;
  border:3px solid var(--brand);
  box-shadow:none;
  transform:none;
}
.task-card.premium:hover,
.talent-card.premium:hover{
  border-width:4px;
  border-color:var(--brand);
  box-shadow:none;
  transform:scale(1.04);
  z-index:3;
}
.task-card.premium:hover .title,
.talent-card.premium:hover .title{
  transform-origin:left center;
  animation:text08 .8s cubic-bezier(.175,.885,.32,1.275) both;
}

.task-card:has(.state-overlay.busy),
.talent-card:has(.state-overlay.busy),
.task-card:has(.state-overlay.closed),
.talent-card:has(.state-overlay.closed){
  background:#eef1f4;
  border-color:#d5dbe3;
}
.state-overlay{background:rgba(92,102,116,.18)}
.state-overlay span,
.state-overlay.busy span,
.state-overlay.closed span{
  color:#4b5563;
  background:#e5e7eb;
  border-color:#cbd5e1;
  box-shadow:none;
}

.btn{
  border-width:2px;
  border-color:#3568f0;
  background:linear-gradient(180deg,#4a79f4,#3568f0);
  color:#fff;
  box-shadow:0 7px 18px rgba(53,104,240,.18);
}
.btn:hover{
  border-color:#2f5fdc;
  background:linear-gradient(180deg,#5a85f5,#3d6ef2);
}
.btn.ghost{
  border-color:rgba(53,104,240,.58);
  background:rgba(53,104,240,.07);
  color:#2854bd;
  box-shadow:none;
}
.btn.ghost:hover{
  border-color:#3568f0;
  background:rgba(53,104,240,.13);
  color:#2148a8;
}
.btn.role-guide,
.mobile-sticky-cta__btn.role-guide{
  border-color:#3568f0 !important;
  background:linear-gradient(180deg,#4a79f4,#3568f0) !important;
  color:#fff !important;
  box-shadow:0 7px 18px rgba(53,104,240,.18) !important;
}
.btn.role-guide:hover,
.mobile-sticky-cta__btn.role-guide:hover{
  background:linear-gradient(180deg,#5a85f5,#3d6ef2) !important;
}

.social-share-inline__btn,
.social-share__btn{
  border-width:2px;
}
.social-share-inline__btn--x,
.social-share__btn--x{
  background:#000 !important;
  border-color:#000 !important;
  color:#fff !important;
}
.social-share-inline__btn--linkedin,
.social-share__btn--linkedin{
  background:#fff !important;
  border-color:#0a66c2 !important;
  color:#0a66c2 !important;
}
.social-share-inline__btn--facebook,
.social-share__btn--facebook{
  background:#1877f2 !important;
  border-color:#1877f2 !important;
  color:#fff !important;
}
.social-share-inline__btn--reddit,
.social-share__btn--reddit{
  background:#fff !important;
  border-color:#ff4500 !important;
  color:#ff4500 !important;
}
.social-share-inline__btn--threads,
.social-share__btn--threads{
  background:#000 !important;
  border-color:#000 !important;
  color:#fff !important;
}
.social-share-inline__btn--line,
.social-share__btn--line{
  background:#06c755 !important;
  border-color:#06c755 !important;
  color:#fff !important;
}
.social-share-inline__btn--x:hover,
.social-share__btn--x:hover,
.social-share-inline__btn--facebook:hover,
.social-share__btn--facebook:hover,
.social-share-inline__btn--line:hover,
.social-share__btn--line:hover{
  filter:brightness(.96);
}
.social-share-inline__btn--linkedin:hover,
.social-share__btn--linkedin:hover{
  background:#f8fbff !important;
  color:#0a66c2 !important;
}

.nav-badge,.badge-unread{background:#d92d20}
.account-mode-title,.thread-updated,.mobile-sticky-cta__meta{color:var(--muted)}

/* ===== Mobile header menu ===== */
.nav-mobile-toggle{display:none}
@media (max-width:768px){
  #screenA .nav{
    grid-template-columns:1fr;
  }
  #screenA .nav .nav-mobile-toggle{
    display:flex;
    justify-content:space-between;
    padding:9px 12px;
  }
  #screenA .nav > .icon-btn:not(.nav-mobile-toggle){
    display:none;
  }
  #screenA .nav.mobile-open > .icon-btn:not(.nav-mobile-toggle){
    display:flex;
  }
  #screenA .nav.mobile-open .icon-btn:not(.nav-mobile-toggle){
    justify-content:flex-start;
    padding-left:14px;
  }
  #screenA .nav-mobile-menu-label{
    font-weight:700;
  }
  #screenA .nav-mobile-arrow{
    margin-left:auto;
    font-size:10px;
  }
}

/* build_20260712_03_jp: mobile mode selector must stay inside the viewport */
@media (max-width: 767px){
  .mode-select-actions{
    grid-template-columns:minmax(0, 1fr);
  }
  .mode-select-actions .btn{
    width:100%;
    min-width:0;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}

/* US information available upon request */
.request-info-panel{
  border:2px solid #d7e0eb;
  border-radius:14px;
  background:#fff;
  padding:12px 14px;
}
.request-info-panel summary{
  cursor:pointer;
  font-weight:700;
  color:var(--text-main);
  line-height:1.4;
}
.request-info-panel summary span{
  font-weight:400;
  color:var(--text-muted);
}
.request-info-help{
  margin:10px 0 12px;
  color:var(--text-secondary);
  font-size:13px;
  line-height:1.55;
}
.request-info-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.request-info-check{
  display:flex;
  align-items:flex-start;
  gap:9px;
  width:100%;
  min-width:0;
  color:var(--text-normal);
  line-height:1.45;
}
.request-info-check > input[type="checkbox"]{
  flex:0 0 auto;
  margin:3px 0 0;
}
.request-info-check > span{
  display:block;
  min-width:0;
  overflow-wrap:anywhere;
}
.request-info-subtitle{
  margin:14px 0 8px;
  font-weight:700;
  color:var(--text-main);
}
.request-info-other{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
}
.request-info-other > span{
  padding-top:1px;
}
.request-info-other-input{
  grid-column:1 / -1;
  width:100%;
  margin-top:2px;
}
@media (max-width: 640px){
  .request-info-panel{padding:12px;}
}


/* US social brand button states */
.social-share-inline__btn--reddit:hover,
.social-share__btn--reddit:hover{
  background:#fff7f3 !important;
  border-color:#ff4500 !important;
  color:#ff4500 !important;
}
.social-share-inline__btn--threads:hover,
.social-share__btn--threads:hover{
  background:#000 !important;
  border-color:#000 !important;
  color:#fff !important;
  filter:brightness(.92);
}
