.bosses-page { max-width: 1120px; min-height: 70vh; }
.bosses-page h1 { font: 400 clamp(48px,6vw,72px)/1.05 var(--serif); margin: 14px 0 20px; }
.bosses-intro { max-width: 620px; color: #4d453a; }
.boss-update { font-size: 12px; color: #655943; margin-top: 18px; }
.boss-update span { display: block; margin-top: 8px; }
.boss-times { margin-top: 52px; }
.boss-view-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 44px; padding-bottom: 14px; border-bottom: 1px solid #b69a654d; }
.boss-view-tabs button { position: relative; padding: 10px 16px; border: 0; background: transparent; color: #756547; font: 400 19px/1.15 var(--serif); cursor: pointer; }
.boss-view-tabs button[aria-selected=true] { color: #493716; }
.boss-view-tabs button[aria-selected=true]::after { content: ''; position: absolute; right: 16px; bottom: -15px; left: 16px; height: 2px; background: #aa8746; }
.boss-view-tabs button:focus-visible { outline: 2px solid #967132; outline-offset: 2px; }
.boss-group { margin-bottom: 64px; }
.boss-group > h2 { font: 400 clamp(32px,4vw,42px)/1.15 var(--serif); margin: 0 0 28px; }
.boss-group > h2::after { content: ''; display: block; width: 52px; height: 1px; background: #ac8c50; margin-top: 16px; }
.epic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.epic-card { padding: 30px 26px; background: linear-gradient(145deg,#fffaf0b3,#ffffff40); border: 1px solid #b69a655c; box-shadow: inset 0 0 0 4px #fff9; position: relative; }
.epic-card::before { content: ''; position: absolute; top: -1px; left: 26px; width: 38px; height: 2px; background: #aa8746; }
.epic-card h3 { font: 400 32px/1.1 var(--serif); margin: 12px 0 22px; overflow-wrap: anywhere; }
.epic-card > small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #726247; }
.boss-badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 10px; border: 1px solid #89817155; color: #59534a; background: #e9e5db; font-size: 12px; font-weight: 600; white-space: nowrap; }
.boss-badge::before { content: ''; width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); }
.boss-badge[data-state=alive] { color: #35583b; background: #e8eddf; border-color: #62795055; }
.boss-badge[data-state=dead] { color: #803f34; background: #f1e3dc; border-color: #a3614e55; }
.boss-badge[data-state=available] { color: #765014; background: #f3e9cb; border-color: #b18c4555; }
.boss-badge[data-state=fighting] { color: #85472a; background: #f4e1d1; }
.boss-timing { display: grid; gap: 5px; font-size: 13px; color: #544a39; }
.boss-timing small { font-size: 10px; letter-spacing: .06em; color: #76684e; }
.boss-timing time[data-respawn-countdown] { font-variant-numeric: tabular-nums; color: #7b392e; }
.respawn-local { text-transform: none; letter-spacing: 0 !important; }
.epic-card .boss-timing { margin-top: 24px; padding-top: 18px; border-top: 1px solid #b69a653b; min-height: 54px; }
.quest-section { padding: 42px 0; border-top: 1px solid #b69a655c; }
.quest-intro { max-width: 480px; margin: -12px 0 28px; color: #655943; }
.quest-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.quest-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 20px; border: 1px solid #b69a6548; background: #fffdf77d; }
.quest-card h3 { font: 400 22px/1.15 var(--serif); margin: 0 0 5px; overflow-wrap: anywhere; }
.quest-card small { color: #726247; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.quest-card .boss-timing { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #b69a652c; }
.raid-section { border-top: 1px solid #b69a655c; padding-top: 48px; }
.boss-tools { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.boss-tools label { display: grid; gap: 8px; font-size: 12px; color: #655638; width: min(100%,360px); }
.boss-tools input { width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid #a88c57; border-radius: 0; background: #fffcf680; color: #352e22; padding: 10px 12px; }
.boss-filters { display: flex; gap: 8px; }
.boss-filters button { min-height: 44px; padding: 8px 16px; border: 1px solid transparent; background: transparent; color: #655638; font-family: var(--serif); font-size: 18px; cursor: pointer; }
.boss-filters button[aria-pressed=true] { border-color: #ae8c4d; background: #eee3cc80; color: #493716; }
.boss-tools :focus-visible { outline: 2px solid #967132; outline-offset: 3px; }
.raid-count { font-size: 12px; color: #76684e; margin: 22px 0 8px; }
.boss-row { display: grid; grid-template-columns: minmax(0,1fr) 145px minmax(150px,220px); align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid #b69a652c; }
.boss-row h3 { font: 400 23px/1.2 var(--serif); margin: 0 0 4px; overflow-wrap: anywhere; }
.boss-row small { color: #726247; font-size: 11px; }
.boss-row .boss-timing { text-align: right; }
@media(max-width:900px) { .epic-grid,.quest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .boss-view-tabs { gap: 2px; margin: 26px 0 32px; }
 .boss-view-tabs button { padding: 10px 9px; font-size: 16px; }
 .epic-grid,.quest-grid { grid-template-columns: 1fr; gap: 16px; }
 .boss-tools { align-items: stretch; flex-direction: column; gap: 16px; }
 .boss-tools label { width: 100%; }
 .boss-filters button { flex: 1; }
 .boss-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
 .boss-row .boss-timing { grid-column: 1 / -1; text-align: left; }
 .boss-row .boss-timing:has(> span) { display: none; }
 .boss-row h3 { font-size: 22px; }
 .boss-group { margin-bottom: 40px; }
}

/* Ornamental epic board: scoped to epics, leaving raid presentation intact. */
.epic-section { position: relative; padding: 48px 38px 38px; border: 1px solid #b59a626e; background: linear-gradient(135deg,#fffdf6a6,#f5efdf40); outline: 1px solid #b59a6230; outline-offset: -7px; }
.epic-section::before,.epic-section::after { content: ''; position: absolute; width: 60px; height: 60px; background: url('/bosses/ornament.svg') center/contain no-repeat; pointer-events: none; }
.epic-section::before { top: -1px; left: -1px; }
.epic-section::after { bottom: -1px; right: -1px; transform: rotate(180deg); }
.epic-section > h2 { text-align: center; margin-bottom: 36px; }
.epic-section > h2::after { margin: 18px auto 0; }
.epic-section > h2::before { content: ''; position: absolute; width: 12px; height: 12px; top: -7px; left: calc(50% - 6px); background: #faf6eb; border: 1px solid #b09052; transform: rotate(45deg); box-shadow: 0 0 0 5px #faf6eb; }
.epic-grid { gap: 28px; }
.epic-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 18px 26px; min-height: 310px; background: linear-gradient(160deg,#fffdf8b8,#fbf7ec73); border-color: #b59a6273; box-shadow: none; }
.epic-card::before,.epic-card::after { content: ''; position: absolute; width: 34px; height: 34px; background: url('/bosses/ornament.svg') center/contain no-repeat; pointer-events: none; }
.epic-card::before { top: 4px; left: 4px; }
.epic-card::after { bottom: 4px; right: 4px; transform: rotate(180deg); }
.epic-card h3 { font-size: clamp(28px,2.8vw,36px); margin: 0 0 10px; }
.epic-card > small { margin-bottom: 28px; font-size: 10px; }
.epic-card .boss-badge { justify-content: center; padding: 10px 18px; font-size: 15px; min-height: 42px; }
.epic-card .boss-badge::before { width: 6px; height: 6px; border-radius: 50%; transform: none; }
.epic-card .boss-timing { border: none; padding: 0; margin: 20px 0 0; min-height: 0; gap: 5px; }
.epic-card .boss-timing[hidden] { display: none; }
.epic-card time { font: 400 24px/1.2 var(--serif); }
.epic-card time[data-respawn-countdown] { font-size: 30px; color: #7b392e; }
.epic-clock { font-size: 12px; color: #75654a; }
.epic-share { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; margin-top: auto; }
.epic-share-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 11px; background: #fffaf0; border: 1px solid #b99b607a; color: #8c6b32; box-shadow: inset 0 0 0 3px #fffdf7; transition: background .2s,border-color .2s; }
.epic-share-button:hover { background: #f5ecd9; border-color: #a3844a; }
.epic-share-button:focus-visible { outline: 2px solid #967132; outline-offset: 3px; }
.epic-share-button svg { width: 20px; height: 20px; }
@media(max-width:600px) { .epic-section { padding: 38px 18px 22px; } .epic-grid { gap: 22px; } .epic-card { padding: 34px 16px 26px; } }
