/* Memory guide styles. Scoped to the new guide experience. */
.guide-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px;border-bottom:1px solid var(--edge);padding-bottom:16px}
.guide-tabs a{padding:12px 18px;color:#b4bfc8;border:1px solid transparent;font-size:14px;line-height:1.5}
.guide-tabs a[aria-current=page]{color:#f4d69c;background:#b68a3e17;border-color:#b68a3e66}
.guide-tabs a:hover{color:#ffe3ab;border-color:var(--edge)}
.guide-kicker{color:var(--gold);font-size:11px;letter-spacing:.15em;text-transform:uppercase}
.guide-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:28px}
.guide-intro h2{font-size:28px;line-height:1.4;margin:8px 0 10px;color:#f1dfbf;letter-spacing:-.04em}
.guide-intro p{max-width:690px;color:#aab7c1;font-size:14px;line-height:1.9;margin:0;word-break:keep-all}
.guide-total{padding-left:25px;border-left:1px solid var(--edge);min-width:135px;flex-shrink:0;color:#aab7c1;font-size:12px}
.guide-total strong{display:block;font:40px Georgia,serif;color:#e4c48c;margin-bottom:6px}
.guide-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}
.guide-sidebar{padding:24px;position:sticky;top:95px;background:linear-gradient(145deg,#17242b,#09131c)}
.guide-sidebar h3{font-size:18px;color:#ead5af;margin:10px 0 22px}
.guide-field{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#b4c0ca;min-width:0}
.guide-field+ .guide-field{margin-top:17px}
.guide-field input,.guide-field select,.guide-level-select{width:100%;min-width:0;min-height:44px;padding:10px 12px;background:#09131d;color:#ecdfc9;border:1px solid #3b4447;border-radius:3px;font:inherit;font-size:14px}
.guide-field input::placeholder{color:#7e909f}
.guide-sidebar p{font-size:12px;line-height:1.9;color:#a9b4bf;margin:20px 0 0}
.guide-sidebar a,.guide-note a,.guide-source a{color:#e2bf83;text-decoration:underline;text-underline-offset:4px}
.guide-content{min-width:0}
.guide-filter-panel{padding:22px;background:#0c1922;border:1px solid var(--edge);margin-bottom:22px}
.guide-filter-grid{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(90px,1fr));gap:14px;align-items:end}
.guide-filter-grid .guide-field+.guide-field{margin:0}
.guide-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px;flex-wrap:wrap}
.guide-reset{border:0;background:transparent;color:#d7bd94;padding:8px 0;cursor:pointer;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.guide-filter-actions small{color:#95a6b3;font-size:11px}
.guide-results-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:24px 0 16px}
.guide-results-head h3{margin:0;color:#e9d8b9;font-size:19px;line-height:1.5}
.guide-results-head p{color:#9aabb8;font-size:12px;margin:5px 0 0}
.guide-result-count{color:#d8b67b;font-size:13px;white-space:nowrap}
.guide-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px;background:#09151e}
.guide-table th{text-align:left;font-weight:500;color:#aab8c4;font-size:11px;padding:14px 12px;background:#10212c;border-top:1px solid var(--edge);border-bottom:1px solid var(--edge)}
.guide-table td{padding:17px 12px;border-bottom:1px solid #ffffff10;vertical-align:top;color:#c0ccd4;line-height:1.65;overflow-wrap:anywhere}
.guide-table th:first-child{width:46%}
.guide-table tbody tr:hover{background:#d6ba7d07}
.guide-skill-name{font-weight:600;font-size:14px;color:#ecd9b6;display:block}
.guide-english{font-size:11px;color:#8e9fab;display:block;margin-top:4px;overflow-wrap:anywhere}
.guide-badge{display:inline-block;background:#102e37;color:#a4d2d9;padding:3px 8px;font-size:10px;border:1px solid #47798655;white-space:nowrap}
.guide-badge.passive{background:#292719;color:#d8cba0;border-color:#95845244}
.guide-badge.chance,.guide-badge.toggle{background:#231e33;color:#c5b3df;border-color:#79628f55}
.guide-row-details{margin-top:10px;font-size:11px;color:#9eafba}
.guide-row-details summary{cursor:pointer;color:#bfa57b;padding:3px 0}
.guide-row-details p{margin:10px 0;line-height:1.8}
.guide-row-details a{color:#d4ba8f;text-decoration:underline;text-underline-offset:3px}
.guide-number{color:#dfc291;font-variant-numeric:tabular-nums}
.guide-pagination{display:flex;gap:16px;align-items:center;justify-content:center;padding:26px 0;color:#b7c3cd;font-size:12px}
.guide-pagination button{min-height:42px;min-width:65px;border:1px solid var(--edge);background:#10202b;color:#e1c79c;cursor:pointer}
.guide-pagination button:disabled{opacity:.35}
.guide-empty{padding:55px 24px;text-align:center;border:1px solid var(--edge);background:#0b1721;color:#b2c0c9;line-height:1.9}
.guide-empty strong{display:block;color:#e5cfa7;margin-bottom:6px}
.guide-note{margin-top:24px;padding:20px 22px;border-left:2px solid #a17b42;background:#10202a66;color:#a9b6c0;font-size:12px;line-height:1.9}
.guide-note p{margin:0 0 8px}.guide-note p:last-child{margin:0}
.guide-source{margin:32px 0 0;color:#899eae;font-size:11px;line-height:1.9}
.guide-kind-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.guide-kind-card{padding:22px;border:1px solid var(--edge);background:linear-gradient(130deg,#15232d,#0a151d)}
.guide-kind-card span{font:20px Georgia,serif;color:#a58855}
.guide-kind-card h3{font-size:16px;color:#e2ccaa;margin:14px 0 10px}
.guide-kind-card p{font-size:12px;line-height:1.8;color:#9eb0bd;margin:0}
.guide-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.guide-option{padding:22px;border:1px solid var(--edge);background:#0b1821;display:flex;flex-direction:column;min-width:0}
.guide-option-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.guide-option-id{font:11px Georgia,serif;color:#8597a5;letter-spacing:.03em}
.guide-option h3{font-size:18px;line-height:1.5;color:#eddbba;margin:20px 0 0}
.guide-option>p{font-size:13px;line-height:1.9;color:#adbdc8;margin:16px 0}
.guide-trigger{font-size:11px;color:#b4a0d2;padding-top:10px}
.guide-option-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid #ffffff12;padding-top:15px;margin-top:auto;font-size:11px;color:#92a8b9}
.guide-option-stats strong{display:block;color:#dcc69f;font-weight:500;margin-top:5px;font-size:14px}
.guide-clan-table th:first-child{width:43%}.guide-clan-table td{padding:20px 16px}
.guide-clan-desc{font-size:12px;color:#a6b7c2;margin:9px 0}.guide-clan-rank{font-size:11px;color:#b39c77}
.guide-shortcuts{display:flex;gap:12px;flex-wrap:wrap;padding:20px 0;margin-bottom:20px;border-bottom:1px solid var(--edge);font-size:13px;color:#dabd8b}
.guide-shortcuts a{padding:8px 0}.guide-shortcuts a:hover{color:#ffe0a2}
.guide-level-strip{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.guide-level-strip button{min-width:48px;min-height:40px;padding:8px 14px;color:#beccd4;border:1px solid #3a4448;background:#0d1a24;cursor:pointer}.guide-level-strip button[aria-pressed=true]{background:#342f23;color:#f3d79f;border-color:#a88a54}
@media(min-width:961px){.nav{gap:20px}}
@media(max-width:1000px){.guide-layout{grid-template-columns:210px minmax(0,1fr)}.guide-sidebar{padding:18px}.guide-filter-grid{grid-template-columns:1fr 1fr}.guide-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-table th:first-child{width:40%}}
@media(max-width:700px){.guide-layout{display:block}.guide-sidebar{position:relative;top:auto;margin-bottom:22px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.guide-sidebar h3,.guide-sidebar>.guide-kicker,.guide-sidebar p{grid-column:1/-1;margin:0}.guide-sidebar .guide-field+.guide-field{margin:0}.guide-sidebar .guide-field:last-of-type{grid-column:1/-1}.guide-intro{gap:15px}.guide-intro h2{font-size:23px}.guide-total{min-width:80px;padding-left:12px}.guide-total strong{font-size:30px}.guide-intro p{font-size:12px}.guide-tabs{gap:2px}.guide-tabs a{padding:10px;font-size:12px}.guide-kind-grid{grid-template-columns:1fr;gap:10px}.guide-kind-card{padding:16px}.guide-kind-card h3{display:inline;margin-left:12px}.guide-kind-card p{margin-top:10px}.guide-option-grid{grid-template-columns:1fr}.guide-filter-panel{padding:16px}.guide-filter-grid{grid-template-columns:1fr 1fr}.guide-filter-grid>.guide-field:first-child{grid-column:1/-1}.guide-table thead{display:none}.guide-table,.guide-table tbody,.guide-table tr,.guide-table td{display:block;width:100%}.guide-table tr{padding:16px;border:1px solid var(--edge);margin-bottom:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.guide-table td{padding:0;border:0}.guide-table td:first-child{grid-column:1/-1;margin-bottom:4px}.guide-table td:not(:first-child)::before{content:attr(data-label);display:block;font-size:10px;color:#859bab;margin-bottom:3px}.guide-results-head{align-items:flex-start}.guide-results-head h3{font-size:17px}.guide-pagination{padding-top:15px}.guide-filter-actions small{line-height:1.8}.guide-note{padding:16px}.guide-source{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

#memory-guide .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(max-width:700px){.guide-sidebar,.guide-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-sidebar{min-width:0}.guide-result-count{font-size:12px}.guide-table tr{min-width:0}}


/* v9.3.1: source skill icons, shared navigation on all guide pages. */
.guide-skill-icon{width:40px;height:40px;object-fit:contain;flex:0 0 40px;border:1px solid #b38e4e77;border-radius:3px;background:#080f15;image-rendering:auto}.guide-table td:first-child>.guide-skill-icon{float:left;margin:2px 12px 10px 0}.guide-table .guide-row-details,.guide-clan-desc{clear:both}.guide-option-top{justify-content:flex-start}.guide-option-id{margin-left:auto}

/* v9.3.2: Korean descriptions are readable without expanding a row. */
.guide-skill-description{clear:both;margin:12px 0 0;color:#bbc8d1;font-size:13px;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}.guide-table .guide-row-details{margin-top:10px}.guide-table td:first-child{padding-bottom:20px}
