/* Galaxy of Heroes dedicated field guides. Scoped; October 2026. */
.swgoh-page.sgd-page{background:#050810;color:#e7edf3}
.swgoh-page .sgd-wrap{max-width:1220px;margin:0 auto;padding:0 clamp(15px,3vw,28px) 76px;min-width:0}
.swgoh-page .sgd-wrap *{box-sizing:border-box}
.swgoh-page .sgd-crumbs{display:flex;gap:10px;flex-wrap:wrap;padding:22px 0;color:#b0bbc9;font-size:.8rem}
.swgoh-page .sgd-crumbs a{color:#f1b5c1}
.swgoh-page .sgd-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.8fr);align-items:center;gap:clamp(20px,4vw,45px);padding:clamp(22px,4vw,46px);border:1px solid #394a5d;border-top:4px solid #bd5969;background:radial-gradient(ellipse at 94% 15%,#39212c,#101b28 60%,#080e16)}
.swgoh-page .sgd-hero>div{min-width:0}
.swgoh-page .sgd-hero h1{font:900 clamp(2.2rem,5vw,4.65rem)/1.05 Impact,"Arial Narrow",Arial,sans-serif;text-transform:uppercase;overflow-wrap:normal;word-break:normal;margin:10px 0 17px;color:#fff}
.swgoh-page .sgd-hero .sgd-intro{font-size:1.05rem;line-height:1.72;color:#d3dee8}
.swgoh-page .sgd-hero img{width:100%;aspect-ratio:4/3;max-height:320px;object-fit:contain;background:#08111e;border:1px solid #4e6070}
.swgoh-page .sgd-hero figure{margin:0;min-width:0}
.swgoh-page .sgd-hero figcaption{font-size:.72rem;color:#9eb0bd;margin-top:8px}
.swgoh-page .sgd-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 0}
.swgoh-page .sgd-actions a,.swgoh-page .sgd-anchor{display:inline-flex;padding:11px 15px;text-decoration:none;border:1px solid #b86a7a;background:#662d3c;color:#fff;font-size:.85rem;font-weight:800}
.swgoh-page .sgd-actions a:nth-child(even){background:#1c3142;border-color:#708397}
.swgoh-page .sgd-actions a:hover,.swgoh-page .sgd-anchor:hover{background:#8f4354}
.swgoh-page .sgd-route{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 24px;padding:13px;background:#0d1925;border:1px solid #3c4c5c}
.swgoh-page .sgd-route a{text-decoration:none;color:#e3ecf4;border:1px solid #41596d;background:#182b3d;padding:9px 12px;font-size:.8rem;font-weight:700}
.swgoh-page .sgd-route a:hover{border-color:#f1adbd}
.swgoh-page .sgd-section{padding:33px 0 35px;border-bottom:1px solid #394653;scroll-margin-top:96px}
.swgoh-page .sgd-section h2{font:900 clamp(1.6rem,3vw,2.7rem)/1.13 Impact,"Arial Narrow",Arial,sans-serif;text-transform:uppercase;color:#fff;letter-spacing:0;margin:10px 0 17px}
.swgoh-page .sgd-section h3{font-size:1.13rem;line-height:1.3;margin:7px 0 10px}
.swgoh-page .sgd-section p{color:#cdd9e5;max-width:95ch;line-height:1.73}
.swgoh-page .sgd-label{font-size:.72rem;color:#eaa4b4!important;letter-spacing:.12em;font-weight:850;text-transform:uppercase}
.swgoh-page .sgd-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0}
.swgoh-page .sgd-cards article,.swgoh-page .sgd-cards>a,.swgoh-page .sgd-card{border:1px solid #43576a;background:#122131;padding:19px;min-width:0;color:#e7edf3;text-decoration:none}
.swgoh-page .sgd-cards article:hover,.swgoh-page .sgd-cards a:hover{border-color:#d08f9e}
.swgoh-page .sgd-cards article p,.swgoh-page .sgd-cards a p{font-size:.86rem;line-height:1.66;margin:7px 0}
.swgoh-page .sgd-cards article strong{color:#ffced6}
.swgoh-page .sgd-list{margin:10px 0;padding-left:24px;max-width:92ch;line-height:1.8;color:#cfdee9}
.swgoh-page .sgd-list li{margin:7px 0}
.swgoh-page .sgd-callout{padding:17px 20px;margin:18px 0;background:#1c2632;border-left:4px solid #d78292;max-width:100ch}
.swgoh-page .sgd-callout p{margin:7px 0 0;font-size:.9rem}
.swgoh-page .sgd-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.swgoh-page .sgd-tool{border:1px solid #526a7e;border-top:4px solid #b9566b;padding:clamp(16px,3vw,27px);margin:20px 0;background:#111f2e}
.swgoh-page .sgd-tool label{display:block;font-weight:800;margin:0 0 8px;color:#fff}
.swgoh-page .sgd-tool input,.swgoh-page .sgd-tool select{display:block;width:100%;max-width:590px;background:#050d17;border:1px solid #8298ab;color:#f5f8fc;padding:13px;font:inherit;font-size:.96rem;margin:7px 0 14px;border-radius:1px}
.swgoh-page .sgd-tool output,.swgoh-page .sgd-advice{display:block;padding:17px 20px;background:#1d3547;border:1px solid #607d91;color:#e7f0f6;line-height:1.65;max-width:900px;min-width:0}
.swgoh-page .sgd-tool output strong,.swgoh-page .sgd-advice strong{display:block;color:#fff;font-size:1.08rem;margin-bottom:7px}
.swgoh-page .sgd-tool output p,.swgoh-page .sgd-advice p{margin:0;color:#d5e4f0}
.swgoh-page .sgd-tool .sgd-small{font-size:.78rem;color:#b5c6d4}
.swgoh-page .sgd-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:15px}
.swgoh-page .sgd-directory article{background:#101f30;border:1px solid #486071;padding:17px;min-width:0}
.swgoh-page .sgd-directory article[hidden]{display:none!important}
.swgoh-page .sgd-directory small{color:#f0b5c1;display:block;line-height:1.6;font-size:.75rem}
.swgoh-page .sgd-directory h3{margin:8px 0;color:#fff;font-size:1.05rem}
.swgoh-page .sgd-directory p{font-size:.81rem;line-height:1.62;margin:5px 0 0}
.swgoh-page .sgd-results{color:#d2e5ef;font-weight:700;font-size:.83rem}
.swgoh-page .sgd-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #43576a}
.swgoh-page .sgd-table{border-collapse:collapse;width:100%;min-width:640px}
.swgoh-page .sgd-table td,.swgoh-page .sgd-table th{border-bottom:1px solid #304355;padding:13px;text-align:left;vertical-align:top;font-size:.86rem;line-height:1.65}
.swgoh-page .sgd-table th{background:#25374a;color:#fff}
.swgoh-page .sgd-table td{background:#0e1a28;color:#d7e3ed}
.swgoh-page .sgd-steps{counter-reset:step}
.swgoh-page .sgd-steps li{list-style:none;position:relative;padding-left:46px;margin:19px 0;color:#dae4ee;line-height:1.68}
.swgoh-page .sgd-steps li:before{counter-increment:step;content:counter(step,decimal-leading-zero);position:absolute;left:0;top:0;color:#f5afbc;font:bold 1.3rem Impact,Arial,sans-serif}
.swgoh-page .sgd-sources{font-size:.85rem}
.swgoh-page .sgd-sources a,.swgoh-page .sgd-section a:not(.sgd-anchor){color:#f2b7c4}
.swgoh-page .sgd-next{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:35px 0;padding:20px;background:#172636;border:1px solid #526275}
.swgoh-page .sgd-next p{margin:4px 0;color:#d0dae3}
.swgoh-page :focus-visible{outline:2px solid #ffc0ce;outline-offset:3px}
@media(max-width:900px){.swgoh-page .sgd-cards,.swgoh-page .sgd-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.swgoh-page .sgd-hero{grid-template-columns:minmax(0,1fr) minmax(225px,.8fr)}}
@media(max-width:640px){.swgoh-page .sgd-hero{display:flex;flex-direction:column;align-items:stretch;padding:17px}.swgoh-page .sgd-hero h1{font-size:clamp(2.1rem,10vw,3.15rem)}.swgoh-page .sgd-hero img{max-height:245px}.swgoh-page .sgd-hero figure{order:1}.swgoh-page .sgd-cards,.swgoh-page .sgd-grid2,.swgoh-page .sgd-directory{grid-template-columns:minmax(0,1fr)}.swgoh-page .sgd-route a{flex:1 1 130px;text-align:center}.swgoh-page .sgd-next{flex-direction:column;align-items:stretch}.swgoh-page .sgd-actions>a{flex:1 1 145px;justify-content:center}.swgoh-page .sgd-tool{padding:15px}}
@media(max-width:360px){.swgoh-page .sgd-hero h1{font-size:2rem}.swgoh-page .sgd-actions a{flex:1 1 100%}}

/* GOH planner and ship reference v2 */
.swgoh-page .sgd-planner{background:radial-gradient(ellipse at 88% 0,#2a1f30,#0d1c2c 60%);border-color:#637789}
.swgoh-page .sgd-farm-hint{margin:10px 0 18px;max-width:74ch;color:#d1e3ef;font-size:.91rem}
.swgoh-page .sgd-farm-heading{display:flex;justify-content:space-between;align-items:baseline;gap:13px;flex-wrap:wrap}
.swgoh-page .sgd-farm-heading h3{font-size:1.14rem;margin:7px 0 12px}
.swgoh-page .sgd-farm-heading p{color:#d6e7ef;margin:0;font-weight:bold}
.swgoh-page .sgd-planner progress{display:block;width:100%;height:15px;accent-color:#c36a7c;margin:8px 0 19px}
.swgoh-page .sgd-farm-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 22px}
.swgoh-page .sgd-farm-steps label{display:flex;align-items:flex-start;gap:11px;padding:15px;background:#152d40;border:1px solid #586f81;color:#eef5fb;line-height:1.6;font-size:.87rem;cursor:pointer;min-width:0}
.swgoh-page .sgd-farm-steps label:has(input:checked){background:#27333b;border-color:#b97c88}
.swgoh-page .sgd-farm-steps input{width:18px;height:18px;margin:3px 0 0;flex:0 0 auto;accent-color:#bd667a}
.swgoh-page .sgd-farm-steps label span{display:block;min-width:0}
.swgoh-page .sgd-planner textarea{background:#060e18;border:1px solid #7c91a4;color:#f1f7fb;font:inherit;width:100%;min-height:110px;padding:12px;resize:vertical;max-width:100%;border-radius:2px}
.swgoh-page .sgd-planner textarea::placeholder,.swgoh-page .sgd-planner input::placeholder{color:#bac9d5}
.swgoh-page .sgd-farm-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.swgoh-page .sgd-farm-actions button{cursor:pointer;padding:12px 17px;background:#663445;border:1px solid #c78d9b;color:white;font:800 .85rem/1.4 Arial,sans-serif}
.swgoh-page .sgd-farm-actions button:last-child{background:#1a3040;border-color:#6b8498}
.swgoh-page #sgd-farm-status{font-size:.79rem;color:#b9d6e7;margin:12px 0 0}
.swgoh-page #sgd-ship-tool{padding:clamp(13px,2.4vw,24px)}
.swgoh-page .sgd-ship-directory{grid-template-columns:repeat(3,minmax(0,1fr))}
.swgoh-page .sgd-ship-directory article h3{font-size:1.05rem}
.swgoh-page .sgd-ship-directory article p strong{color:#fff}
.swgoh-page .sgd-ship-directory article p{margin:8px 0}
@media(max-width:950px){.swgoh-page .sgd-ship-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.swgoh-page .sgd-farm-steps,.swgoh-page .sgd-ship-directory{grid-template-columns:minmax(0,1fr)}.swgoh-page .sgd-farm-actions button{flex:1 1 135px}}

/* GOH advanced modes and raids v3 */
.swgoh-page .sgd-mode-tool{background:radial-gradient(ellipse at top right,#33202e,#12253a 60%);border-color:#7a5c70}
.swgoh-page .sgd-mode-tool .sgd-advice{max-width:none}
.swgoh-page .sgd-mode-tool .sgd-advice a{display:inline-block;color:#ffd0d9;text-decoration:underline;text-underline-offset:3px;font-weight:850;margin-top:10px}
.swgoh-page .sgd-mode-tool textarea{width:100%;max-width:100%;min-height:112px;padding:14px;font:inherit;line-height:1.5;color:#f8fbff;background:#07121f;border:1px solid #7993a8;resize:vertical}
.swgoh-page .sgd-mode-tool progress{display:block;width:100%;height:15px;accent-color:#bc596d;margin:11px 0 21px}
.swgoh-page .sgd-raid-alert{padding:clamp(18px,3vw,27px);background:radial-gradient(ellipse at top right,#402432,#162433 65%);border:1px solid #8e5c6b;border-left:4px solid #ec9eaf;margin:18px 0 26px}
.swgoh-page .sgd-raid-alert h3{font-size:clamp(1.3rem,2.5vw,1.9rem);color:#fff}
.swgoh-page .sgd-raid-alert .sgd-anchor{margin-top:12px}
.swgoh-page .sgd-inset{margin:25px 0;max-width:850px;border:1px solid #4d687c;background:#101c28}
.swgoh-page .sgd-inset img{display:block;max-height:430px;width:100%;object-fit:contain}
.swgoh-page .sgd-inset figcaption{color:#afbfcc;padding:12px;font-size:.75rem;line-height:1.5}
.swgoh-page .sgd-mode-tool .sgd-farm-steps{grid-template-columns:repeat(2,minmax(0,1fr));margin:20px 0}
.swgoh-page .sgd-mode-tool .sgd-farm-steps label{background:#182d40;border:1px solid #536b80;display:flex;align-items:flex-start;gap:12px;padding:13px 15px;color:#f3f8fc;font-size:.86rem;line-height:1.6;cursor:pointer;min-width:0}
.swgoh-page .sgd-mode-tool .sgd-farm-steps input{width:19px;height:19px;flex:0 0 auto;accent-color:#c26f82;margin:3px 0 0}
.swgoh-page .sgd-mode-tool .sgd-farm-steps label:has(input:checked){background:#233c4b;border-color:#c88698}
.swgoh-page .sgd-mode-tool .sgd-farm-steps span{min-width:0}
.swgoh-page .sgd-mode-tool .sgd-farm-heading output{font-size:.83rem;font-weight:800;color:#f7c0ca}
.swgoh-page .sgd-mode-tool .sgd-farm-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.swgoh-page .sgd-mode-tool .sgd-farm-actions button{padding:12px 16px;background:#703346;color:#fff;font:bold .84rem/1.4 Arial,sans-serif;border:1px solid #c87e91;cursor:pointer}
.swgoh-page .sgd-mode-tool .sgd-farm-actions button:last-child{background:#182c3d;border-color:#7990a6}
.swgoh-page .sgd-mode-tool .sgd-farm-actions button:hover{background:#a15a6b}
.swgoh-page .sgd-mode-tool #sgd-raid-status{font-size:.79rem;color:#bdd4e3}
.swgoh-page .sgd-hero img{object-position:center}
@media(max-width:680px){.swgoh-page .sgd-mode-tool .sgd-farm-steps{grid-template-columns:minmax(0,1fr)}.swgoh-page .sgd-mode-tool .sgd-farm-actions button{flex:1 1 135px}.swgoh-page .sgd-inset img{max-height:260px}}

/* GOH counter research desk v4 */
.swgoh-page .sgc-tool{padding:clamp(16px,3vw,28px);background:radial-gradient(ellipse at top right,#2c2335,#102336 65%);border-top:4px solid #bc6077}
.swgoh-page .sgc-tool #sgc-mode{max-width:550px}
.swgoh-page .sgc-reference{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;background:#1a2d3e;border:1px solid #647c90;padding:17px 20px;margin:14px 0}
.swgoh-page .sgc-reference>div{min-width:0;flex:1 1 310px}
.swgoh-page .sgc-reference strong{display:block;color:#f8c6d1;font-size:1.05rem}
.swgoh-page .sgc-reference p{font-size:.83rem;margin:5px 0 0;line-height:1.55}
.swgoh-page .sgc-reference>a{display:inline-flex;color:white!important;background:#6e3445;border:1px solid #cf8f9f;text-decoration:none!important;padding:11px 15px;font:bold .83rem/1.4 Arial,sans-serif}
.swgoh-page .sgc-reference>a:hover{background:#964f63}
.swgoh-page .sgc-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.swgoh-page .sgc-directory article{padding:18px 21px;background:#122333;border-color:#486278}
.swgoh-page .sgc-directory article[hidden]{display:none!important}
.swgoh-page .sgc-directory article h3{font:900 1.28rem/1.2 Impact,"Arial Narrow",Arial,sans-serif;text-transform:uppercase;letter-spacing:0;margin:11px 0}
.swgoh-page .sgc-directory article p{color:#d0dfeb;font-size:.84rem;line-height:1.65;margin:11px 0}
.swgoh-page .sgc-directory article p strong{color:#fff}
.swgoh-page .sgc-directory article a{display:inline-flex;align-items:center;text-decoration:none!important;margin-top:9px;border:1px solid #995366;background:#422635;color:#ffccd7!important;padding:11px 13px;font:bold .82rem/1.35 Arial,sans-serif}
.swgoh-page .sgc-directory article a:hover{background:#73394d;color:#fff!important}
.swgoh-page #sgc-count{font-size:.9rem;color:#e4edf5;margin:18px 0}
.swgoh-page .sgd-section .sgd-cards article{overflow-wrap:break-word}
@media(max-width:760px){.swgoh-page .sgc-directory{grid-template-columns:minmax(0,1fr)}.swgoh-page .sgc-reference{display:block}.swgoh-page .sgc-reference>a{margin-top:13px;width:100%;justify-content:center}}

/* Six verified character dossiers · October 2026 */
.swgoh-page .sgd-character-hero{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);position:relative;isolation:isolate;overflow:hidden}
.swgoh-page .sgd-character-hero:before{content:"";position:absolute;inset:-120px -100px auto 48%;height:350px;background:radial-gradient(circle,#5d2938 0,transparent 70%);z-index:-1;pointer-events:none}
.swgoh-page .sgd-character-hero h1{font-size:clamp(2.35rem,5.2vw,4.4rem);line-height:1.06}
.swgoh-page .sgd-character-hero figure{display:grid;justify-items:center;align-items:center;padding:18px;background:radial-gradient(ellipse at center,#284256 0,#101827 75%);border:1px solid #5c6e80;min-width:0}
.swgoh-page .sgd-character-hero figure img{width:min(100%,260px);height:auto;max-height:280px;aspect-ratio:1;object-fit:contain;border:0;background:none;image-rendering:auto;filter:drop-shadow(0 16px 22px rgba(0,0,0,.62))}
.swgoh-page .sgd-character-hero figure figcaption{text-align:center;max-width:270px;line-height:1.5}
.swgoh-page .sgd-character-hero .sgd-intro{max-width:76ch}
.swgoh-page .sgd-facts{display:flex;flex-wrap:wrap;gap:1px;background:#364556;border:1px solid #3a4c5d;border-top:0}
.swgoh-page .sgd-facts span{display:flex;flex:1 1 250px;align-items:center;padding:12px 16px;background:#121c28;color:#d4e0ec;font-size:.76rem;font-weight:800;line-height:1.5}
.swgoh-page .sgd-kit-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:22px 0 0}
.swgoh-page .sgd-kit-flow>div{padding:17px 14px;background:#142635;border:1px solid #476073;min-width:0}
.swgoh-page .sgd-kit-flow>div span{display:block;color:#f3acbd;font-weight:900;font-size:1.35rem;margin-bottom:9px}
.swgoh-page .sgd-kit-flow>div strong{display:block;color:white;font-size:.87rem;line-height:1.4}
.swgoh-page .sgd-kit-flow>div small{display:block;font-size:.73rem;color:#bbcfda;margin-top:7px;line-height:1.5}
.swgoh-page .sgd-small-note{font-size:.8rem;color:#b7cbd9}
.swgoh-page .sgd-team-lineup{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:22px 0}
.swgoh-page .sgd-team-lineup>div{padding:17px 12px;background:#182939;border:1px solid #5b6b7b;min-width:0;display:flex;flex-direction:column;gap:9px}
.swgoh-page .sgd-team-lineup span{color:#f5b2c1;font:900 1.3rem Impact,Arial,sans-serif}
.swgoh-page .sgd-team-lineup strong{color:#f9fbfc;font-size:.87rem;line-height:1.35}
.swgoh-page .sgd-team-lineup small{color:#abbfcd;font-size:.62rem;letter-spacing:.05em;line-height:1.35;margin-top:auto}
.swgoh-page .sgd-mod-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:18px 0}
.swgoh-page .sgd-mod-rail>div{padding:15px 12px;background:#1b2e42;border:1px solid #587288;min-width:0}
.swgoh-page .sgd-mod-rail span{display:block;color:#e4a2b2;font-size:.65rem;font-weight:900;margin-bottom:8px}
.swgoh-page .sgd-mod-rail strong{display:block;color:#fff;font-size:.86rem;line-height:1.42}
.swgoh-page .sgd-accordion{display:grid;gap:9px;margin:18px 0}
.swgoh-page .sgd-accordion details{background:#17293b;border:1px solid #526c82}
.swgoh-page .sgd-accordion summary{cursor:pointer;padding:16px 19px;font-weight:800;line-height:1.5;color:#f8d4dc}
.swgoh-page .sgd-accordion details[open] summary{border-bottom:1px solid #526c82}
.swgoh-page .sgd-accordion details p{padding:0 19px 17px;margin:12px 0 0;font-size:.88rem}
.swgoh-page .sgd-featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:20px 0 27px}
.swgoh-page .sgd-featured>a{display:flex;align-items:center;gap:13px;padding:12px;text-decoration:none;border:1px solid #4c6073;background:#172737;min-width:0;color:#fff}
.swgoh-page .sgd-featured img{width:74px;height:74px;object-fit:contain;flex:0 0 74px;background:radial-gradient(circle,#374d61,#141b26);border-radius:4px}
.swgoh-page .sgd-featured span{display:block;min-width:0;font-size:.78rem;line-height:1.45;font-weight:800}
.swgoh-page .sgd-featured span small{display:block;color:#f1b3c2;font-size:.65rem;letter-spacing:.06em;margin-bottom:4px}
.swgoh-page .sgd-featured>a:hover,.swgoh-page .sgd-featured>a:focus-visible{border-color:#edacbb;background:#243549}
.swgoh-page .sgd-directory article .sgd-unit-link{display:inline-block;padding:9px 12px;margin-top:12px;text-decoration:none;color:#ffe0e7;background:#552b3b;border:1px solid #9d7180;font-size:.77rem;font-weight:850}
.swgoh-page .sgd-directory article .sgd-unit-link:hover{background:#743f53;color:white}
@media(max-width:960px){.swgoh-page .sgd-team-lineup{grid-template-columns:repeat(3,minmax(0,1fr))}.swgoh-page .sgd-featured{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){.swgoh-page .sgd-character-hero{flex-direction:column;align-items:stretch}.swgoh-page .sgd-character-hero h1{font-size:clamp(2.1rem,10vw,3.3rem)}.swgoh-page .sgd-character-hero figure{order:1;width:100%}.swgoh-page .sgd-character-hero figure img{max-width:180px;max-height:180px}.swgoh-page .sgd-kit-flow,.swgoh-page .sgd-team-lineup{grid-template-columns:repeat(2,minmax(0,1fr))}.swgoh-page .sgd-mod-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.swgoh-page .sgd-featured{grid-template-columns:minmax(0,1fr)}.swgoh-page .sgd-facts span{flex-basis:100%}}
@media(max-width:360px){.swgoh-page .sgd-team-lineup{grid-template-columns:minmax(0,1fr)}.swgoh-page .sgd-hero h1{overflow-wrap:break-word}}

/* Galaxy of Heroes saved character checkpoints */
.swgoh-page .sgd-char-check{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:clamp(16px,3vw,27px);background:radial-gradient(ellipse at top right,#302332,#102132 64%);border:1px solid #597084;border-top:4px solid #b9677a}
.swgoh-page .sgd-char-check label{display:flex;align-items:flex-start;gap:12px;padding:14px 15px;min-width:0;background:#203348;border:1px solid #5c748a;color:#eff5fa;font-size:.88rem;line-height:1.6;cursor:pointer}
.swgoh-page .sgd-char-check label:has(input:checked){background:#283c42;border-color:#d18e9d}
.swgoh-page .sgd-char-check input{width:19px;height:19px;accent-color:#bf6179;margin:4px 0 0;flex:0 0 auto}
.swgoh-page .sgd-char-check output{color:#fac7d2;font-weight:800}
.swgoh-page .sgd-char-check p{margin:8px 0;color:#dce7f0;align-self:center}
.swgoh-page .sgd-char-check button{justify-self:start;width:fit-content;min-height:42px;padding:10px 16px;background:#70384b;border:1px solid #ce8c9f;color:#fff;font:800 .85rem/1.4 Arial,sans-serif;cursor:pointer}
.swgoh-page .sgd-char-check button:hover{background:#984f63}
@media(max-width:640px){.swgoh-page .sgd-char-check{grid-template-columns:minmax(0,1fr)}}


/* IDS Holotable field guides, visual overhaul. Replaces a wall of framed panels
   with editorial sections and character art. Functional controls remain distinct. */
.swgoh-page.sgd-page{background:#05070a}
.swgoh-page .sgd-wrap{padding-bottom:80px}
.swgoh-page .sgd-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr);align-items:center;gap:clamp(18px,3vw,38px);border:0;border-top:3px solid #e46b7e;padding:clamp(22px,4vw,44px);background:radial-gradient(ellipse at right 30%,rgba(129,33,56,.27),transparent 55%),linear-gradient(115deg,#101825,#070a10)}
.swgoh-page .sgd-hero h1{font-size:clamp(2.15rem,4.9vw,4.6rem);line-height:1.02;margin:10px 0 18px;text-wrap:balance}
.swgoh-page .sgd-hero .sgd-intro{font-size:clamp(.98rem,1.3vw,1.12rem);line-height:1.55;max-width:55ch;color:#dae3ec}
.swgoh-page .sgd-hero figure{border:0;background:none;min-width:0}
.swgoh-page .sgd-hero figure img{border:0;object-fit:contain;background:radial-gradient(ellipse at center,#26394e,#0a0e16 75%);width:100%;max-height:350px;filter:drop-shadow(0 15px 22px rgba(0,0,0,.35))}
.swgoh-page .sgd-hero figure figcaption{color:#a1b2c0;margin-top:7px;font-size:.69rem}
.swgoh-page .sgd-actions{gap:7px}
.swgoh-page .sgd-actions a{border-radius:2px}
.swgoh-page .sgd-section{padding:clamp(28px,4.4vw,56px) 0;border-bottom:1px solid #293440}
.swgoh-page .sgd-section h2{font-size:clamp(1.7rem,3.25vw,3rem);line-height:1.08;margin-bottom:18px;text-wrap:balance}
.swgoh-page .sgd-section p{max-width:76ch;font-size:.95rem;line-height:1.63;color:#d2dce6}
.swgoh-page .sgd-section>p:first-of-type{max-width:72ch}
.swgoh-page .sgd-cards{gap:10px}
.swgoh-page .sgd-cards article,.swgoh-page .sgd-cards>a,.swgoh-page .sgd-card{border:0;border-top:1px solid #465365;background:transparent;padding:17px 10px 18px 0;color:#e5edf5}
.swgoh-page .sgd-cards article:hover,.swgoh-page .sgd-cards>a:hover{border-color:#e77f95}
.swgoh-page .sgd-cards article h3{font-size:clamp(1.04rem,1.6vw,1.27rem);color:#fff}
.swgoh-page .sgd-cards article p{font-size:.88rem;line-height:1.5;color:#b6c5d3}
.swgoh-page .sgd-cards article .sgd-label{margin:0;font-size:.68rem;color:#f6a1b3}
.swgoh-page .sgd-callout{border:0;border-left:2px solid #c35a6e;padding:15px 21px;margin:24px 0;background:linear-gradient(90deg,rgba(134,42,62,.13),transparent);max-width:80ch}
.swgoh-page .sgd-callout>strong{font-size:.98rem;color:#fff}
.swgoh-page .sgd-callout p{max-width:70ch;line-height:1.55}
.swgoh-page .sgd-facts{border:0;border-bottom:1px solid #344251;border-top:1px solid #344251;background:transparent;gap:0}
.swgoh-page .sgd-facts span{background:transparent;border:0;color:#ccd8e2;padding:13px 17px}
.swgoh-page .sgd-tool{border-radius:3px;border:1px solid #465d71;background:linear-gradient(110deg,#101f2d,#11131c)}
.swgoh-page .sgd-team-lineup{gap:12px;margin:23px 0 30px}
.swgoh-page .sgd-team-lineup>div{border:0;border-bottom:2px solid #9e4558;background:linear-gradient(170deg,#172839,#0c151f);padding:18px 13px}
.swgoh-page .sgd-team-lineup strong{font-size:.93rem}
.swgoh-page .sgd-mod-rail>div{border:0;border-top:2px solid #93566b;background:#101b28}
.swgoh-page .sgd-kit-flow>div{border:0;border-top:2px solid #74495d;background:#121e2b}
.swgoh-page .sgd-accordion details{background:#101c28;border:0;border-bottom:1px solid #415266}
.swgoh-page .sgd-accordion summary{font-size:.96rem;color:#ffd8e0}
.swgoh-page .sgd-accordion details[open] summary{border-bottom:1px solid #3b4d61}
.swgoh-page .sgd-featured>a{border:0;border-bottom:2px solid #8e4354;background:linear-gradient(100deg,#172737,#0e131e);padding:11px}
.swgoh-page .sgd-featured img{border-radius:0;background:radial-gradient(ellipse,#4c2937,#101b28 72%)}
.swgoh-page .sgd-squad-fast{border-bottom:1px solid #263440}
.swgoh-page .sgd-quick-rules{list-style:none;counter-reset:rule;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(24px,5vw,80px);padding:0;margin:22px 0 12px}
.swgoh-page .sgd-quick-rules li{counter-increment:rule;position:relative;min-width:0;padding:17px 10px 19px 47px;border-top:1px solid #31414e;font-size:.95rem;line-height:1.5;color:#cedbe5}
.swgoh-page .sgd-quick-rules li::before{content:counter(rule,decimal-leading-zero);position:absolute;left:0;top:17px;color:#f68fa3;font:900 1.28rem Impact,"Arial Narrow",Arial,sans-serif}
.swgoh-page .sgd-quick-rules strong{display:block;color:#fff;font-size:1.05rem;margin-bottom:3px}
.swgoh-page .sgd-quick-note{font-size:.83rem!important;color:#9fb3c4!important}
.swgoh-page .sgd-guide-extras{border-bottom:1px solid #334456;margin:10px 0 28px}
.swgoh-page .sgd-guide-extras summary{cursor:pointer;min-height:44px;padding:11px 0;color:#f4b8c5;font-weight:850;list-style-position:inside}
.swgoh-page .sgd-guide-extras p{padding:5px 0 14px;line-height:1.9}
.swgoh-page .sgd-guide-extras a{color:#f9c9d3}
.swgoh-page .sgd-squad-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:25px 0 10px}
.swgoh-page .sgd-squad-gallery article{min-width:0;position:relative;border:0;border-bottom:3px solid #b9576b;overflow:hidden;background:radial-gradient(ellipse at 50% 24%,#344b5d 0,#101927 66%);padding:8px 16px 16px;text-align:left;transition:transform .2s ease}
.swgoh-page .sgd-squad-gallery article:hover{transform:translateY(-3px);border-bottom-color:#ffc0ce}
.swgoh-page .sgd-squad-gallery article>a{display:flex;flex-direction:column;text-decoration:none;color:#fff}
.swgoh-page .sgd-squad-gallery article img{display:block;margin:4px auto 10px;width:100%;max-width:190px;height:160px;object-fit:contain;filter:drop-shadow(0 13px 12px rgba(0,0,0,.5))}
.swgoh-page .sgd-squad-gallery article h3{font-size:clamp(1.06rem,1.7vw,1.42rem);line-height:1.2;margin:2px 0 7px}
.swgoh-page .sgd-squad-gallery article p{font-size:.83rem;color:#c7d6e2;margin:0;line-height:1.43}
.swgoh-page .sgd-squad-gallery article h3::after{content:" ↗";color:#ffa7b8}
@media(max-width:960px){
.swgoh-page .sgd-squad-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.swgoh-page .sgd-hero{grid-template-columns:minmax(0,1fr) minmax(0,.7fr)}
}
@media(max-width:680px){
.swgoh-page .sgd-hero{display:flex;flex-direction:column;gap:12px;padding:20px}
.swgoh-page .sgd-hero figure{order:1;min-width:0;width:100%}
.swgoh-page .sgd-hero figure img{max-height:245px}
.swgoh-page .sgd-hero h1{font-size:clamp(2.15rem,9.5vw,3.2rem)}
.swgoh-page .sgd-cards,.swgoh-page .sgd-quick-rules{grid-template-columns:minmax(0,1fr)}
.swgoh-page .sgd-squad-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.swgoh-page .sgd-squad-gallery article{padding:5px 10px 12px}
.swgoh-page .sgd-squad-gallery article img{height:122px;max-width:140px}
.swgoh-page .sgd-squad-gallery article h3{font-size:1rem}
.swgoh-page .sgd-squad-gallery article p{font-size:.76rem}
.swgoh-page .sgd-section{padding:29px 0}
.swgoh-page .sgd-team-lineup{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:355px){.swgoh-page .sgd-squad-gallery{grid-template-columns:minmax(0,1fr)}.swgoh-page .sgd-squad-gallery article img{height:140px;max-width:170px}}
@media(prefers-reduced-motion:reduce){.swgoh-page .sgd-squad-gallery article{transition:none}.swgoh-page .sgd-squad-gallery article:hover{transform:none}}
