/* Public raid planner demo (/raidplaner). Reuses guild-workspace.css and guild-raids.css; only the page frame lives here. */
.rd-page{max-width:1240px}
.rd-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:36px;align-items:center;margin:18px 0 56px}
.rd-hero h1{font:600 clamp(36px,5.4vw,64px)/1.08 var(--gb-font-heading,Georgia,serif);margin:10px 0 18px;color:#f6e7c1}
.rd-hero h1 em{font-style:normal;color:#e2bd68}
.rd-lead{font-size:18px;color:#d6cebf;max-width:560px}
.rd-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.gw-page a.rd-button{display:inline-flex;align-items:center;min-height:48px;padding:12px 22px;border:1px solid #bba15c;border-radius:3px;text-decoration:none;color:#e8dbbe;font-weight:600}
.gw-page a.rd-button:hover{border-color:#e2bd68;background:#332d21}
.gw-page a.rd-primary{background:#e2bd68;border-color:#e2bd68;color:#171510;font-weight:700}
.gw-page a.rd-primary:hover{background:#ecc977}
.rd-raids{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.rd-raids .gr-head{min-height:112px;align-items:flex-start;flex-direction:column;justify-content:flex-end;gap:6px;border:1px solid #71633e;border-radius:3px;overflow:hidden}
.rd-raids strong{font:700 clamp(24px,2.6vw,30px)/1.1 var(--title,Georgia,serif);color:#f6e7c1;text-shadow:0 2px 12px #000}
@media(prefers-reduced-motion:no-preference){html:not([data-gm-motion=off]) .rd-raids .gr-head{animation:rd-rise .7s cubic-bezier(.2,.7,.2,1) both}html:not([data-gm-motion=off]) .rd-raids .gr-head:nth-child(2){animation-delay:.12s}html:not([data-gm-motion=off]) .rd-raids .gr-head:nth-child(3){animation-delay:.24s}}
@keyframes rd-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.rd-demo{position:relative;padding:28px 28px 8px;border:1px solid #71633e;border-radius:4px;background:linear-gradient(180deg,#191919,#141312)}
.rd-demo::before,.rd-demo::after{content:'';position:absolute;width:14px;height:14px;pointer-events:none}
.rd-demo::before{top:6px;left:6px;border-top:2px solid #b29b5c;border-left:2px solid #b29b5c}
.rd-demo::after{bottom:6px;right:6px;border-bottom:2px solid #b29b5c;border-right:2px solid #b29b5c}
.rd-demo-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px}
.rd-guild{display:flex;align-items:center;gap:16px}
.rd-guild h2{margin:4px 0 0}
.rd-badge{display:grid;place-items:center;min-width:64px;height:84px;padding:0 8px;clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);background:linear-gradient(90deg,#42231e,#704034,#42231e);border-top:3px solid #bca778;font:700 12px/1 var(--gb-font-ui,system-ui,sans-serif);letter-spacing:.12em;text-transform:uppercase;color:#f1e3bf}
.rd-guild[data-faction=alliance] .rd-badge{background:linear-gradient(90deg,#203349,#385e85,#203349)}
.rd-view{display:flex;gap:6px;padding:4px;border:1px solid #2b2822;border-radius:4px;background:#111}
.gw-page .rd-view button{border-color:transparent;background:transparent;color:#a39c8f}
.gw-page .rd-view button[aria-pressed=true]{border-color:#438e90;background:#102e30;color:#95e5df}
.rd-note{margin:14px 0 0;padding:10px 14px;border-left:3px solid #438e90;background:#102e3055;color:#cfe9e6;font-size:14px}
.rd-demo #gr-demo>.gw-section-head{margin-top:22px}
.rd-steps{margin:64px 0 0}
.rd-steps ol{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;counter-reset:rd}
.rd-steps li{position:relative;padding:22px;border:1px solid #414141;border-radius:4px;background:#191919;counter-increment:rd}
.rd-steps li::after{content:counter(rd);position:absolute;top:14px;right:18px;font:700 34px/1 var(--title,Georgia,serif);color:#71633e}
.rd-steps h3{margin:12px 0 8px;color:#e2bd68}
.rd-steps p{margin:0;color:#d6cebf;font-size:15px}
.rd-faq{margin:56px 0 0;max-width:820px}
.rd-faq details{border-top:1px solid #39372f}
.rd-faq details:last-child{border-bottom:1px solid #39372f}
.rd-faq summary{display:flex;align-items:center;min-height:52px;cursor:pointer;font-weight:600;color:#e8dbbe}
.rd-faq p{margin:0 0 16px;color:#d6cebf}
@media(max-width:900px){.rd-hero{grid-template-columns:1fr;gap:24px}.rd-raids{grid-template-columns:repeat(3,minmax(0,1fr))}.rd-raids .gr-head{min-height:96px;padding:14px}.rd-steps ol{grid-template-columns:1fr}}
@media(max-width:620px){.rd-raids{grid-template-columns:1fr}.rd-raids .gr-head{min-height:72px;padding:12px 14px}.rd-demo{padding:18px 12px 4px;margin:0 -8px}.rd-view{width:100%}.gw-page .rd-view button{flex:1;padding:8px}.rd-guild{gap:12px}.rd-badge{min-width:60px;height:72px;font-size:11px;letter-spacing:.08em}.rd-actions{flex-direction:column}.rd-lead{font-size:16px}.gw-page a.rd-button{flex:1;justify-content:center}}
