/* RaftSMP Staff — built from the site's existing shared style.css + theme.css.
   Scoped to .staff-page / .tile-staff; does not restyle Store or RaftAdmin. */
.staff-page{color:var(--raft-text);font-family:var(--font)}
.staff-page-nav{direction:ltr}
.staff-shell{padding-top:30px;padding-bottom:22px}
.staff-heading{margin:0 0 20px}
.staff-heading h1{font-size:clamp(29px,4.8vw,52px);line-height:1.2;letter-spacing:-.035em;font-weight:900;margin:0 0 7px}
.staff-heading p{margin:0;font-size:14px;line-height:1.9;color:var(--raft-muted)}
.staff-hero{height:300px;display:block;position:relative;border:1px solid var(--raft-line);border-radius:var(--radius);background:#1d1c1c;overflow:hidden;box-shadow:0 16px 45px #00000020;isolation:isolate}
.staff-hero:hover{transform:none}
.staff-hero img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 37%;filter:brightness(.85) saturate(.88)}
.staff-hero-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#10100fde,transparent 55%)}
.staff-hero-tag{position:absolute;bottom:20px;left:22px;color:#efe9e0;font-size:11px;letter-spacing:1.8px;font-weight:900;text-shadow:0 2px 10px #000}
.staff-form-card{margin-top:15px;padding:30px 34px 27px;background:#1d1c1c;border:1px solid var(--raft-line);border-radius:var(--radius);box-shadow:0 16px 45px #00000020}
.staff-form-head{border-bottom:1px solid var(--raft-line);padding-bottom:22px}
.staff-form-head h2{font-size:24px;line-height:1.35;font-weight:850;letter-spacing:-.02em;margin:0 0 5px;color:var(--raft-text)}
.staff-form-head p{font-size:13px;line-height:1.9;margin:0;color:var(--raft-muted)}
#staff-form{display:grid;gap:24px;padding-top:24px}
.staff-question{border:0;margin:0;padding:0;min-width:0}
.staff-question>label,.staff-question legend{display:flex;align-items:center;gap:10px;color:var(--raft-text);font-size:15px;font-weight:750;line-height:1.6;margin:0 0 12px;width:100%}
.staff-question-no{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:31px;height:29px;color:var(--raft-accent);font:800 11px/1 var(--font);background:#ffae5213;border:1px solid #ffae5226;border-radius:9px;direction:ltr}
.staff-choices{display:flex;flex-wrap:wrap;gap:10px}
.staff-choices label{min-width:145px;max-width:230px;flex:1;position:relative;cursor:pointer}
.staff-choices input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}
.staff-choices span{display:flex;align-items:center;justify-content:center;min-height:49px;padding:12px 18px;background:#252322;border:1px solid #ffffff1a;border-radius:12px;color:#e4d9ca;font-size:14px;font-weight:650;transition:background .2s,border-color .2s}
.staff-choices label:hover span{background:#302b25;border-color:#ffae5252}
.staff-choices input:checked+span{color:#ffcd90;background:#3c2d20;border-color:var(--raft-accent)}
.staff-choices input:focus-visible+span{outline:2px solid var(--raft-accent);outline-offset:3px}
.staff-question input[type=number],.staff-question input[type=text],.staff-question textarea{appearance:none;display:block;width:100%;background:#161615;color:#f3eee8;border:1px solid #ffffff21;border-radius:12px;padding:14px 16px;font:400 15px/1.7 var(--font);outline:none;transition:border-color .2s,box-shadow .2s}
.staff-question input[type=number]{max-width:300px;min-height:51px}
.staff-question input[type=text]{max-width:450px;min-height:51px;text-align:left}
.staff-question .staff-field-hint{display:block;margin-top:9px;font-size:12px;line-height:1.6;color:var(--raft-muted)}
.staff-question textarea{resize:vertical;min-height:114px}
.staff-question input::placeholder,.staff-question textarea::placeholder{color:#8e8984}
.staff-question input:focus,.staff-question textarea:focus{border-color:var(--raft-accent);box-shadow:0 0 0 3px #ffae5215}
#staff-submit{min-height:51px;display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid #f5b55b;background:#ffb752;color:#20160c;border-radius:12px;font:800 15px var(--font);cursor:pointer;transition:background .2s,transform .2s}
#staff-submit:hover{background:#ffca78;transform:translateY(-1px)}
#staff-submit:disabled{opacity:.6;cursor:wait;transform:none}
.staff-message{margin:-10px 0 0;color:#e8c39a;font-size:13px;line-height:1.6}
.staff-message:empty{display:none}
.staff-message.error{color:#ffadad}
.staff-privacy{color:var(--raft-muted);font-size:12px;line-height:1.8;margin:-7px 0 0}
.staff-privacy a,.staff-discord-link{color:#ffc277;text-decoration:underline;text-underline-offset:3px}
.staff-success{text-align:center;padding:32px 0 10px}
.staff-success-icon{width:56px;height:56px;display:grid;place-items:center;margin:0 auto 17px;background:#23452f;color:#8ce3a7;border-radius:16px;font-size:26px}
.staff-success h3{margin:0 0 9px;font-size:22px}
.staff-success p{margin:0;color:var(--raft-muted);font-size:14px;line-height:1.85}
.staff-success-code{max-width:340px;margin:22px auto 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#161615;border:1px solid #ffffff21;border-radius:12px;padding:8px}
.staff-success-code strong{font-size:18px;color:#ffc277;direction:ltr;padding:0 12px}
.staff-success-code button{border:0;border-radius:9px;padding:11px 17px;background:#ffb752;color:#21170b;font-weight:800;cursor:pointer}
.staff-discord-link{display:inline-block;margin-top:7px;font-size:14px}
/* Home tile: same .tile, .tile-bg, .tile-title and .tile-inner layout as the existing cards. */
.home-shell .visual-bento{grid-template-rows:312px 282px 205px}
.home-shell .visual-bento .tile-staff{display:block;grid-column:span 12;position:relative;min-height:205px;overflow:hidden;text-decoration:none;background:#1d1c1c;border-color:var(--raft-line)}
.tile-staff .tile-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:74% 42%;filter:brightness(.73) saturate(.84);transition:transform .9s var(--raft-ease)}
.tile-staff:hover .tile-bg{transform:scale(1.035)}
.tile-staff:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#141311fa 0%,#141311e8 27%,#14131170 58%,#14131106 100%);pointer-events:none}
.tile-staff .staff-tile-inner{position:absolute;inset:24px 26px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;direction:ltr;text-align:left}
.tile-staff .tile-title{font-size:clamp(24px,3vw,34px);font-weight:750;line-height:1.15;letter-spacing:-.02em;margin:0;text-shadow:0 3px 12px #0009}
.tile-staff .tile-mini-text{margin:0;max-width:300px;font-size:13px;line-height:1.6!important;color:#e9e0d6!important}
@media(max-width:930px){.home-shell .visual-bento{grid-template-rows:280px 260px 195px}.home-shell .visual-bento .tile-staff{min-height:195px}.staff-hero{height:260px}}
@media(max-width:700px){.staff-shell{padding-top:17px}.staff-heading{margin-bottom:16px}.staff-heading h1{font-size:31px}.staff-heading p{font-size:13px}.staff-hero{height:215px;border-radius:17px}.staff-hero img{object-position:61% 40%}.staff-hero-tag{bottom:14px;left:15px;font-size:10px}.staff-form-card{padding:22px 18px;margin-top:12px;border-radius:17px}.staff-form-head h2{font-size:21px}#staff-form{gap:21px;padding-top:22px}.staff-question>label,.staff-question legend{font-size:14px;gap:8px}.staff-choices label{min-width:110px}.staff-question input[type=number],.staff-question input[type=text]{max-width:100%}.home-shell .visual-bento{grid-template-rows:none}.home-shell .visual-bento .tile-staff{grid-column:span 2;min-height:190px}.tile-staff .tile-bg{object-position:67% center}.tile-staff:after{background:linear-gradient(90deg,#141311f5,#141311af 55%,#1413111c)}.tile-staff .staff-tile-inner{inset:18px}.tile-staff .tile-title{font-size:26px}.tile-staff .tile-mini-text{font-size:12px;max-width:205px}}
@media(prefers-reduced-motion:reduce){.tile-staff .tile-bg,#staff-submit{transition:none}}


/* Staff role expectations — visible ONLY on /staff, after opening the Staff card. */
.staff-page .staff-rules-notice{
  display:flex;align-items:flex-start;gap:14px;
  margin-top:22px;padding:20px 22px;
  background:linear-gradient(120deg,rgba(255,183,82,.10),rgba(255,183,82,.035));
  border:1px solid rgba(255,183,82,.29);border-radius:14px;
  color:var(--raft-text);
}
.staff-page .staff-rules-symbol{
  display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;
  border-radius:10px;background:rgba(255,183,82,.15);color:var(--raft-accent);
  border:1px solid rgba(255,183,82,.25);font:900 21px/1 var(--font);
}
.staff-page .staff-rules-content{min-width:0}
.staff-page .staff-rules-content h3{font-size:17px;line-height:1.5;margin:0 0 9px;color:#ffd08d;font-weight:850}
.staff-page .staff-rules-content p{font-size:14px;line-height:1.95;margin:0 0 7px;color:#e7dfd4}
.staff-page .staff-rules-content p:last-child{margin-bottom:0}
.staff-page .staff-rules-content strong{color:#fff2d8;font-weight:800}
.staff-page .staff-rules-reminder{font-size:12px!important;color:var(--raft-muted)!important}
@media(max-width:700px){
  .staff-page .staff-rules-notice{gap:11px;padding:16px 14px;margin-top:18px}
  .staff-page .staff-rules-symbol{width:29px;height:29px;flex-basis:29px;font-size:17px}
  .staff-page .staff-rules-content h3{font-size:15px}
  .staff-page .staff-rules-content p{font-size:13px;line-height:1.85}
}
