.hs-section-nav{display:flex;justify-content:center;gap:28px;padding:0 24px;border-bottom:1px solid #839a9130;background:#142026}
.hs-section-nav button{position:relative;border:0;background:none;color:#a5b7b8;padding:16px 5px;font-size:12px}
.hs-section-nav button[aria-current=page]{color:#efdab0}
.hs-section-nav button[aria-current=page]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#dcc18b}
.hs-section-nav button:hover{color:#efdab0}
/* Constrain decorative images independently of their source resolution. */
.hs-builder .hs-page-heading>div:first-child{min-width:0;flex:1}
.hs-builder .hs-house-tile{min-width:0;height:100px;box-sizing:border-box}
.hs-builder .hs-house-tile>img,.hs-builder .hs-fan-center>img,.hs-builder .hs-deck-banner>img,.hs-builder .hs-deck-row-art>img{display:block;max-width:100%;max-height:100%}
.hs-builder .hs-deck-banner>div{min-width:0;width:100%}
.hs-builder .hs-deck-list button>.hs-mini-cost{flex:0 0 auto}
.hs-builder .hs-deck-row-name{flex:1;min-width:0}
.hs-builder-rules{display:flex;flex-wrap:wrap;gap:16px 35px;padding:18px 22px;margin-bottom:30px;border:1px solid #6c817344;border-radius:5px;background:#1b2b30}
.hs-builder-rules p{display:flex;align-items:center;gap:9px;font-size:12px;color:#b6c8c2}
.hs-builder-rules b{color:#e2dfca;font-weight:500}
.hs-neutral-dot,.hs-faction-dot{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#bbc6b7}
.hs-faction-dot{background:var(--house)}
.hs-library-panel{min-width:0}
.hs-library-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.hs-library-heading h2{font-size:27px}
.hs-library-heading>span{font-size:11px;color:#a5bcb7;white-space:nowrap}
.hs-library-scopes{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.hs-library-scopes button{display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #70857a55;background:#19272d;color:#b7c9c3;font-size:10px;border-radius:3px}
.hs-library-scopes button>span{font-size:9px;color:#93a9a4;border-left:1px solid #70857a55;padding-left:8px}
.hs-library-scopes button[aria-pressed=true]{border-color:#d6b779;color:#eedaa8;background:#6e563333}
.hs-library-scopes button:hover{border-color:#cdb87e}
.hs-builder .hs-library-tools{margin-bottom:24px;align-items:stretch}
.hs-builder .hs-library-tools input{min-width:0;flex:1}
.hs-builder .hs-library-tools select{max-width:180px}
.hs-library-group{margin-bottom:34px}
.hs-library-group>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #70857a55;margin-bottom:12px}
.hs-library-group>header>div{display:flex;align-items:center;gap:12px;min-width:0}
.hs-library-group .hs-seal,.hs-neutral-seal{width:35px;height:35px;font-size:18px;flex-shrink:0}
.hs-neutral-seal{display:grid;place-items:center;border:1px solid #bbc6b766;border-radius:50%;color:#dce2d1;background:#24312e}
.hs-library-group h3{font:21px Georgia,serif;color:var(--house);margin:0}
.hs-library-group h3 small{display:block;font:10px/1.6 Arial,sans-serif;color:#a9bcb7;margin-top:5px}
.hs-exclusive-tag{font-size:9px;color:#a9bcb7;padding:4px 8px;border:1px solid #71807b55;white-space:nowrap}
.hs-library-entry{width:166px;max-width:100%;text-align:center}
.hs-library-entry .hs-card{width:100%}
.hs-library-entry .hs-card:disabled{opacity:1;filter:none}
.hs-library-entry .hs-card:disabled:hover{transform:none}
.hs-other-house .hs-card{border-color:#687c7b;box-shadow:0 3px 0 #344745}
.hs-other-house .hs-card-art{filter:saturate(.6)}
.hs-card-availability{color:#b0c2bc;font-size:9px;line-height:1.6;margin:12px 0 0;min-height:28px}
.hs-other-house .hs-card-availability{color:#d4af83}
.hs-library-empty,.hs-deck-empty{padding:16px 0;color:#a9bcb7;font-size:12px}
.hs-deck-house-label{display:block;margin-bottom:7px;font-size:10px;color:#aec2bc;letter-spacing:1px;text-transform:uppercase}
.hs-deck-panel>select{width:100%;margin-bottom:20px}
.hs-builder .hs-deck-panel{max-height:calc(100dvh - 40px);overflow-y:auto;scrollbar-width:thin}
.hs-builder .hs-deck-list{max-height:clamp(120px,calc(100dvh - 480px),300px)}
.hs-deck-rule{color:#a9bcb7;font-size:10px;margin-top:15px}
.hs-builder-notice{font-size:11px;color:#d9c99e;min-height:36px;margin:8px 0 14px}

/* House portraits, collectible cards and a live visual deck. */
.hs-builder{position:relative;background:radial-gradient(ellipse at 95% 0,color-mix(in srgb,var(--deck-house) 8%,transparent),transparent 48%)}
.hs-builder .hs-page-heading{margin-bottom:22px;align-items:center}
.hs-builder .hs-page-heading h1{font-size:42px;margin:8px 0 12px;color:#eee2c5}
.hs-builder .hs-page-heading>.hs-eyebrow{color:#d7c499}
.hs-builder-heading-side{display:flex;align-items:center;gap:24px;flex-shrink:0}
.hs-builder-feature{width:145px;height:120px;position:relative;isolation:isolate}
.hs-fan-card{position:absolute;width:72px;height:99px;border:2px solid #a58d60;border-radius:10px;background:repeating-linear-gradient(45deg,#213239 0 8px,#1b2b32 8px 16px);box-shadow:0 9px 15px #0006;display:grid;place-items:center;font:28px Georgia,serif;color:#a78b5d;top:10px;left:37px}
.hs-fan-left{transform:rotate(-22deg) translateX(-30px);z-index:-1}
.hs-fan-right{transform:rotate(22deg) translateX(30px);z-index:-1}
.hs-fan-center{border-color:var(--deck-house);background:#1b2b32;overflow:hidden}
.hs-fan-center>img{width:100%;height:100%;object-fit:cover;opacity:.85}
.hs-fan-center .hs-seal{position:absolute;bottom:5px;width:28px;height:28px;font-size:15px;background:#19252ddd}
.hs-house-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}
.hs-house-tile{position:relative;min-height:88px;overflow:hidden;text-align:left;background:#1d2c31;border:1px solid #53656477;border-radius:5px;padding:19px 12px;isolation:isolate;transition:border-color .18s,transform .18s,box-shadow .18s}
.hs-house-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 28%;z-index:-2;opacity:.7;transition:transform .25s}
.hs-house-tile:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#12202cf2,#12202c66),linear-gradient(0deg,#101b25c9,transparent)}
.hs-house-tile-copy{display:block;padding-right:20px}
.hs-house-tile-copy b{display:block;font:18px Georgia,serif;color:#e6dfd0}
.hs-house-tile-copy small{display:block;font-size:9px;color:#b6c4c0;margin-top:7px}
.hs-house-tile>.hs-seal{position:absolute;right:10px;bottom:12px;width:27px;height:30px;font-size:15px;background:#16242ddd}
.hs-house-tile-check{display:none;position:absolute;right:9px;top:7px;font-size:11px;color:var(--house)}
.hs-house-tile[aria-pressed=true]{border-color:var(--house);box-shadow:inset 0 -3px var(--house),0 0 18px color-mix(in srgb,var(--house) 12%,transparent)}
.hs-house-tile[aria-pressed=true] b{color:var(--house)}
.hs-house-tile[aria-pressed=true] .hs-house-tile-check{display:block}
.hs-house-tile:hover{border-color:var(--house);transform:translateY(-2px)}
.hs-house-tile:hover>img{transform:scale(1.06)}
.hs-builder-rules{padding:11px 16px;margin-bottom:26px;background:#21313777;border-color:#77958933}
.hs-library-heading h2{font-size:29px;color:#e2dac5}
.hs-library-heading>span{padding:6px 10px;border:1px solid #61756944;border-radius:3px;background:#203037;font-size:10px}
.hs-library-scopes{gap:7px}
.hs-library-scopes button{gap:7px;border-radius:4px;padding:8px 10px;background:#1b2a31;transition:border-color .18s,background .18s}
.hs-library-scopes button>i{font:14px Georgia,serif;color:var(--scope);font-style:normal;width:14px;text-align:center}
.hs-library-scopes button[aria-pressed=true]{border-color:var(--scope);background:color-mix(in srgb,var(--scope) 14%,#19252c);color:#eee2c4}
.hs-builder .hs-library-tools input{background:#122129;border-color:#536e7166;padding:14px 16px;border-radius:5px;font-size:12px}
.hs-library-group>header{border-bottom-color:color-mix(in srgb,var(--house) 30%,transparent);padding:12px 0;margin-bottom:18px}
.hs-builder .hs-library{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:26px 18px;align-items:start;padding:4px 0 12px}
.hs-library-entry{width:180px;position:relative;transition:transform .2s}
.hs-entry-label{display:block;font-size:9px;letter-spacing:.4px;color:var(--card-house);text-align:left;margin:0 0 9px;padding:0 4px;min-height:14px;white-space:nowrap}
.hs-builder:not(.hs-card-collection) .hs-in-deck .hs-entry-label:after{content:'✓';float:right;color:#b4d4ae;font-size:11px}
.hs-library-entry .hs-card{min-height:326px;padding:10px 10px 32px;border-width:2px;border-color:color-mix(in srgb,var(--card-house) 55%,#8d7c5e);border-radius:16px 16px 10px 10px;box-shadow:0 4px 0 #566048,0 8px 20px #0005,inset 0 0 0 2px #f1e2bb44;transition:transform .18s,box-shadow .18s}
.hs-library-entry .hs-card-art{height:130px;border-width:2px;border-color:#ac966a;border-radius:45% 45% 8px 8px;overflow:hidden}
.hs-library-entry .hs-card-art>img{transition:transform .3s}
.hs-library-entry .hs-card-name{font:600 15px/1.2 Georgia,serif;min-height:42px;margin:7px 0 0;padding:5px 0}
.hs-library-entry .hs-card-type{font-size:7px;letter-spacing:.5px;margin:4px 0 7px;color:#6e654f}
.hs-library-entry .hs-card-text{font-size:10px;line-height:1.5;min-height:66px;padding:7px 1px;color:#3c392e}
.hs-library-entry .hs-cost{width:36px;height:36px;font-size:27px;top:-9px;left:-8px}
.hs-library-entry .hs-atk,.hs-library-entry .hs-hp{height:31px;min-width:31px;font-size:21px}
.hs-library-entry .hs-card-badge{bottom:8px;padding:3px 8px;border-radius:10px;background:#ede3c899;color:#5d5641;font-size:10px;font-weight:700}
.hs-in-deck .hs-card-badge{background:#456d52;color:#e6f5d8;border:1px solid #abc6a277}
.hs-entry-legendary .hs-card{border-color:#e3bf72;box-shadow:0 4px 0 #96723e,0 0 20px #d4a45525,inset 0 0 0 2px #f5d99166}
.hs-other-house .hs-card-art{filter:saturate(.8)}
.hs-library-entry:hover .hs-card,.hs-library-entry:hover .hs-card:disabled{transform:translateY(-3px);box-shadow:0 6px 0 #566048,0 14px 26px #0007}
.hs-library-entry:hover .hs-card-art>img{transform:scale(1.06)}
.hs-card-availability{font-size:9px;line-height:1.5;min-height:28px;margin-top:13px;color:#a6beb5}
.hs-deck-panel{border-color:color-mix(in srgb,var(--deck-house) 35%,#526969);background:linear-gradient(155deg,#25383d,#172a31);border-radius:8px}
.hs-deck-banner{position:relative;min-height:126px;margin:-18px -18px 17px;padding:19px 17px;isolation:isolate;overflow:hidden;border-bottom:1px solid color-mix(in srgb,var(--deck-house) 35%,transparent)}
.hs-deck-banner>img{position:absolute;inset:0 0 0 auto;width:76%;height:100%;object-fit:cover;object-position:70% 25%;z-index:-2;opacity:.85}
.hs-deck-banner:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#122630f7,#12263070),linear-gradient(0deg,#172a31,transparent 80%);z-index:-1}
.hs-deck-banner>div{position:relative;z-index:1;padding-right:25px}
.hs-deck-banner .hs-eyebrow{font-size:8px;letter-spacing:1.6px;color:#a8bfbb}
.hs-deck-banner .hs-deck-house-label{font-size:9px;margin:17px 0 3px;letter-spacing:.7px;color:#9db8b1}
.hs-deck-banner select{font:22px Georgia,serif;color:#f1e7ce;width:100%;padding:3px 0;border:0;background:transparent;box-shadow:none;min-height:28px}
.hs-deck-banner select option{color:#ece4d2;background:#1b2d34;font:14px Arial,sans-serif}
.hs-deck-banner>.hs-seal{position:absolute;right:12px;bottom:15px;width:36px;height:41px;font-size:21px;background:#172832e8}
.hs-deck-title{margin-bottom:9px}
.hs-deck-title h2{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;font-size:24px}
.hs-deck-title h2 b{max-width:140px;text-align:right;font-size:10px;line-height:1.6;margin:0;color:#b7cac1}
.hs-deck-rule{font-size:10px;line-height:1.6;margin:10px 0 15px;color:#9fb6ac}
.hs-composition-slots{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:3px}
.hs-composition-slots i{height:12px;border-radius:2px;background:#779b84}
.hs-composition-slots i.faction{background:var(--deck-house)}
.hs-composition-slots i.empty{background:#15252b;border:1px solid #51676a66}
.hs-composition-legend{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#b2c3b9;margin:8px 0 13px}
.hs-composition-legend>span{display:flex;align-items:center;gap:5px}
.hs-composition-legend i{width:6px;height:6px;border-radius:50%;background:#779b84}
.hs-composition-legend i.faction{background:var(--deck-house)}
.hs-deck-types{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:18px}
.hs-deck-types>span{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:1px 8px;text-align:center;border:1px solid #617a7455;background:#10202966;border-radius:4px;padding:8px 4px}
.hs-deck-types i{color:var(--deck-house);font-size:15px;font-style:normal;grid-row:1/3}
.hs-deck-types b{font:18px Georgia,serif;color:#e8debf}
.hs-deck-types small{font-size:8px;color:#a0b6aa}
.hs-curve-heading{display:flex;justify-content:space-between;align-items:center;color:#c1cec1;font-size:10px}
.hs-curve-heading small{font-size:7px;letter-spacing:1px;color:#839b91}
.hs-builder .hs-curve{height:72px;gap:7px;margin:12px 0 18px}
.hs-builder .hs-curve i{background:linear-gradient(var(--deck-house),color-mix(in srgb,var(--deck-house) 35%,#243b42));max-height:42px;border-radius:3px 3px 0 0}
.hs-curve-count{font:10px Arial,sans-serif;font-weight:400;color:#c7d7cf;min-height:12px}
.hs-builder .hs-deck-list{max-height:170px;margin:14px 0}
.hs-deck-list button{padding:3px 7px 3px 3px;gap:7px;min-height:37px;border-color:#61756b33;background:linear-gradient(90deg,#2b4145,#172b32);overflow:hidden}
.hs-deck-list button>span:nth-child(2){flex:none}
.hs-deck-row-art{width:30px;height:30px;overflow:hidden;border-radius:2px;flex-shrink:0}
.hs-deck-row-art>img{width:100%;height:100%;object-fit:cover;object-position:center 25%}
.hs-deck-row-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}
.hs-deck-list button>b{color:#b8d0bd;font-size:10px}
.hs-builder .hs-deck-panel>.hs-primary{border-radius:4px;background:linear-gradient(120deg,#e4cc95,#c1a163);font-weight:700}
.hs-builder .hs-deck-panel>.hs-primary:hover:not(:disabled){box-shadow:0 0 18px #e2c48c22}
.hs-deck-empty{border:1px dashed #70877b66;border-radius:4px;padding:22px 15px;text-align:center;background:#12252c77}
@media(max-width:950px){
  .hs-builder-layout{grid-template-columns:minmax(0,1fr) 275px;gap:20px}
  .hs-builder{padding:30px 24px 50px}
  .hs-builder-feature{display:none}
  .hs-house-gallery{gap:8px}
  .hs-house-tile{padding-left:9px}
  .hs-house-tile-copy b{font-size:15px}
  .hs-house-tile-copy small{font-size:8px}
  .hs-builder .hs-library{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:24px 14px}
  .hs-library-entry{width:170px}
}
@media(max-width:760px){
  .hs-builder-layout{display:flex;flex-direction:column}
  .hs-builder .hs-deck-panel{order:-1;position:static;width:100%;display:block;max-height:none;overflow:visible}
  .hs-builder .hs-deck-list{max-height:170px}
  .hs-builder .hs-library-panel{width:100%}
  .hs-builder{padding:25px 18px 50px}
  .hs-page-heading{align-items:flex-start;flex-direction:column}
  .hs-builder .hs-page-heading h1{font-size:34px}
  .hs-builder-rules{padding:16px;gap:12px;margin-bottom:24px}
  .hs-builder-rules p{font-size:11px;flex-wrap:wrap}
  .hs-builder .hs-library{grid-template-columns:repeat(auto-fill,minmax(146px,1fr));gap:22px 10px;padding:10px 0}
  .hs-library-entry{width:166px}
  .hs-builder .hs-library-tools{flex-direction:column;gap:10px}
  .hs-builder .hs-library-tools select{max-width:none;width:100%}
  .hs-house-gallery{display:flex;overflow-x:auto;padding:3px 2px 10px;margin:0 -2px 14px;scroll-snap-type:x proximity}
  .hs-house-tile{flex:0 0 155px;scroll-snap-align:start;min-height:84px}
  .hs-house-tile-copy b{font-size:17px}
  .hs-builder-heading-side{width:100%;justify-content:flex-end}
  .hs-builder .hs-page-heading{gap:10px;margin-bottom:15px}
  .hs-builder .hs-page-heading h1{font-size:34px}
  .hs-builder-rules{padding:12px;gap:8px}
  .hs-deck-banner{margin:-15px -15px 16px;min-height:112px}
  .hs-deck-title h2 b{display:block;margin:0;font-size:10px}
  .hs-library-entry{width:100%;max-width:180px}
  .hs-library-entry .hs-card{min-height:309px;padding:8px 8px 31px}
  .hs-library-entry .hs-card-art{height:115px}
  .hs-library-entry .hs-card-name{font-size:14px;min-height:41px}
  .hs-library-entry .hs-card-type{font-size:6px}
  .hs-library-entry .hs-card-text{font-size:10px;min-height:68px}
  .hs-entry-label{font-size:8px}
  .hs-library-entry .hs-cost{height:32px;width:32px;font-size:24px}
}
@media(prefers-reduced-motion:reduce){.hs-house-tile,.hs-house-tile>img,.hs-library-entry,.hs-library-entry .hs-card,.hs-library-entry .hs-card-art>img{transition:none}}

/* Saved decks, house selection and the dedicated personal deck editor. */
.hs-deck-gallery,.hs-create-house{background:radial-gradient(ellipse at 90% 0,#30434766,transparent 60%)}
.hs-deck-gallery section+section{margin-top:38px}
.hs-deck-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.hs-deck-group-heading h2{font:26px Georgia,serif;color:#e8dfc7}
.hs-deck-group-heading>span{color:#a9bcb3;font-size:11px}
.hs-gallery-notice{color:#d9c99e;font-size:12px;margin-bottom:22px}
.hs-gallery-notice:empty{display:none}
.hs-saved-decks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.hs-saved-deck{min-width:0;background:#1a2a31;border:1px solid #75888055;border-radius:10px;overflow:hidden;box-shadow:0 8px 25px #0003}
.hs-deck-cover{position:relative;isolation:isolate;display:block;text-align:left;width:100%;height:245px;border:0;background:#17232c;padding:18px;color:#ede1c7;overflow:hidden}
.hs-deck-cover>img,.hs-create-house-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 25%;z-index:-2;transition:transform .25s}
.hs-deck-cover-shade,.hs-create-house-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#111f2bf7,#14243025 75%),linear-gradient(180deg,#101b2aa3,transparent 35%)}
.hs-deck-cover-label{position:absolute;top:18px;left:16px;font-size:8px;letter-spacing:1px;padding:6px 8px;background:#12232acb;border:1px solid #aa98794d;border-radius:3px}
.hs-deck-cover>.hs-seal{position:absolute;left:18px;top:58px;width:35px;height:39px;background:#182830cf;font-size:20px}
.hs-deck-cover-copy{position:absolute;bottom:19px;left:18px;right:14px}
.hs-deck-cover-copy>b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font:23px/1.2 Georgia,serif;color:var(--house);overflow-wrap:anywhere}
.hs-deck-cover-copy>small{display:block;margin-top:8px;color:#b7c7bd;font-size:10px;line-height:1.5}
.hs-deck-cover:hover>img,.hs-create-house-card:hover>img{transform:scale(1.05)}
.hs-saved-deck:hover{border-color:var(--house)}
.hs-saved-deck-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:52px;padding:8px 12px}
.hs-saved-deck-footer>span{font-size:9px;color:#94aaa4}
.hs-saved-deck-footer .hs-link{font-size:10px;margin:0;color:#e1c994;white-space:nowrap}
.hs-saved-deck-footer .hs-link:disabled{color:#80928d;cursor:default}
.hs-new-deck{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:297px;border:1px dashed #b4c4b166;border-radius:10px;background:#6987780c;color:#c4d2c4;padding:25px;transition:background .2s,border-color .2s}
.hs-new-deck>span{display:grid;place-items:center;width:64px;height:64px;border:1px solid #a6ba9e55;border-radius:50%;font:48px Georgia,serif;font-weight:400;background:#6987780c}
.hs-new-deck>b{font:22px Georgia,serif;color:#e4dcc5}
.hs-new-deck>small{font-size:11px;line-height:1.7;max-width:165px;color:#a1b5ac}
.hs-new-deck:hover{background:#69877820;border-color:#cbb682}
.hs-create-houses{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.hs-create-house-card{height:410px;position:relative;isolation:isolate;overflow:hidden;text-align:left;border:1px solid #657e7755;border-radius:9px;background:#17262e;color:#d6dfd2;padding:22px}
.hs-create-house-card>.hs-seal{position:absolute;top:20px;left:20px;background:#16252ddd}
.hs-create-house-copy{position:absolute;bottom:24px;left:20px;right:20px;display:block}
.hs-create-house-copy>b{display:block;color:var(--house);font:26px/1.2 Georgia,serif;margin-bottom:12px}
.hs-create-house-copy>em{display:block;color:#e1d6ba;font-style:normal;font-size:12px;margin-bottom:10px}
.hs-create-house-copy>small{display:block;font-size:11px;line-height:1.7;color:#b0c1b7;min-height:76px}
.hs-create-house-copy>strong{display:block;margin-top:23px;padding-top:16px;border-top:1px solid #b1c0a344;font-size:11px;color:#e4cd94;font-weight:400}
.hs-create-house-card:hover{border-color:var(--house);box-shadow:0 0 24px color-mix(in srgb,var(--house) 12%,transparent)}
.hs-deck-banner h2{font:22px Georgia,serif;color:#f1e7ce;margin-top:7px}
.hs-deck-name-label{display:block;color:#a9bcb3;font-size:10px;margin:0 0 7px}
#hs-deck-name{width:100%;font-size:12px;padding:10px;margin-bottom:18px;background:#14262e;border:1px solid #617a7455;border-radius:4px;color:#eee2c5}
.hs-duel-deck-label{display:block;font-size:10px;color:#afbeb4;margin:12px 0 6px}
#hs-duel-deck{width:100%;padding:8px;font-size:11px}
.hs-deck-preview>.hs-primary{margin:0 0 24px}
.hs-deck-preview .hs-library{gap:30px 22px}
@media(max-width:1100px){.hs-saved-decks,.hs-create-houses{grid-template-columns:repeat(3,minmax(0,1fr))}.hs-create-house-card{height:360px}}
@media(max-width:760px){.hs-saved-decks,.hs-create-houses{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hs-deck-cover{height:220px}.hs-deck-cover-copy>b{font-size:20px}.hs-saved-deck-footer{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 12px}.hs-new-deck{min-height:280px;padding:15px}.hs-create-house-card{height:355px}.hs-create-house-copy{left:14px;right:14px}.hs-create-house-copy>b{font-size:23px}.hs-create-house-copy>small{font-size:10px}.hs-deck-group-heading h2{font-size:23px}.hs-deck-group-heading>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.hs-deck-cover>img,.hs-create-house-card>img,.hs-new-deck{transition:none}}
.hs-gallery-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;flex-shrink:0}
.hs-gallery-actions>[data-hs=collection]{border-color:#bca47088;color:#ecd8a9;background:#8d72431a}
.hs-collection-summary{display:flex;flex-wrap:wrap;align-items:center;gap:14px 30px;padding:18px 20px;margin-bottom:24px;border:1px solid #71897b44;border-radius:6px;background:#21303777;color:#b7c9c0;font-size:12px}
.hs-collection-summary b{color:#ede0c0;font:23px Georgia,serif;margin-right:7px}
.hs-collection-summary>span:last-child{margin-left:auto;font-size:11px}
.hs-card-collection .hs-collection-tools{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,minmax(140px,180px));gap:12px}
.hs-card-collection .hs-collection-tools select{width:100%;max-width:none;font-size:12px;border-radius:5px}
.hs-collection-missing .hs-card-art{filter:grayscale(.85);opacity:.7}
.hs-collection-missing .hs-entry-label{color:#81978d}
.hs-collection-missing .hs-card-badge{background:#575b54;color:#f1e4c8}
@media(max-width:950px){.hs-card-collection .hs-collection-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.hs-card-collection .hs-collection-tools input{grid-column:1/-1}}
@media(max-width:760px){.hs-gallery-actions{justify-content:flex-start;margin-top:12px;gap:8px}.hs-collection-summary{gap:12px;padding:15px}.hs-collection-summary>span:last-child{margin-left:0;width:100%}.hs-card-collection .hs-collection-tools{grid-template-columns:1fr}.hs-card-collection .hs-collection-tools input{grid-column:auto}}

/* General selection and personal deck management. */
.hs-deck-general{margin:16px 0;padding:12px;border:1px solid color-mix(in srgb,var(--deck-house) 45%,#526969);border-radius:6px;background:#14232c88}
.hs-deck-general>label{display:block;margin-bottom:7px;font-size:11px;color:#e4d5b6}
.hs-deck-general>select{width:100%;font-size:12px;padding:8px;margin:0 0 12px}
.hs-deck-general-detail{display:grid;grid-template-columns:46px minmax(0,1fr);gap:10px;align-items:start}
.hs-deck-general-detail>.hs-general-portrait{width:46px;height:58px;border:1px solid #96826466;border-radius:4px}
.hs-deck-general-detail b{display:block;color:#ebddb9;font-size:12px}
.hs-deck-general-detail b small{font-size:10px;font-weight:400;color:#b8c8c2}
.hs-deck-general-detail p{font-size:11px;line-height:1.5;color:#c0d0c9;margin:5px 0}
.hs-deck-general-detail div>small{font-size:9px;color:#92aaa2}
.hs-deck-tile-general{display:block;margin-top:5px;font:10px/1.4 Arial,sans-serif;color:#dac8a0}
.hs-deck-management,.hs-editor-management{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid #697f7733}
.hs-deck-management>button{padding:6px 9px;background:#26383d;border:1px solid #82958b44;border-radius:4px;color:#d8e0cf;font-size:11px}
.hs-deck-danger{padding:7px 10px;border:1px solid #b8776955;border-radius:4px;background:#743c3426;color:#e6aaa0;font-size:11px;cursor:pointer}
.hs-deck-management .hs-deck-danger{color:#e6aaa0;border-color:#b8776955;background:#743c3426}
.hs-deck-danger:hover{background:#743c3455;border-color:#d38779}
.hs-deck-management button:focus-visible,.hs-deck-danger:focus-visible{outline:2px solid #d6c294;outline-offset:3px}
.hs-editor-management{padding:10px 0;margin:10px 0}
.hs-delete-confirm-actions,.hs-preset-preview-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}
.hs-delete-confirm-actions>button{padding:12px 18px;font-size:12px}
.hs-delete-deck-confirm h2{overflow-wrap:anywhere;font-size:29px}
.hs-delete-deck-confirm p{line-height:1.6;color:#b9c9c0;font-size:13px}
@media(max-width:760px){.hs-deck-management{gap:6px;padding:8px}.hs-deck-management>button{padding:7px;font-size:10px}.hs-deck-general-detail{grid-template-columns:40px minmax(0,1fr)}.hs-deck-general-detail>.hs-general-portrait{width:40px;height:50px}.hs-delete-confirm-actions>button{flex:1}.hs-delete-deck-confirm h2{font-size:25px}}

/* Collection keeps its original card dimensions; the plaque has room between combat values. */
#app.duel-view .hs-card-collection .hs-card-faction{--plate-end:9px;max-width:calc(100% - 72px);min-height:23px;padding:3px 11px;font-size:9px}
#app .hs-card-collection .hs-library{align-items:stretch}
#app .hs-card-collection .hs-library-entry{display:flex;flex-direction:column}
#app.duel-view .hs-card-collection .hs-library-entry .hs-card{flex-grow:1;min-height:356px;padding-bottom:22px}
#app.duel-view .hs-card-collection .hs-card-type{margin:6px 0 4px}
#app.duel-view .hs-card-collection .hs-card-text{display:flex;align-items:center;justify-content:center;flex:1 0 auto;min-height:90px;padding:8px 2px 10px;font-size:12px;line-height:1.4;text-wrap:pretty}
#app .hs-card-collection .hs-collection-card-meta{display:flex;flex-direction:column;align-items:center;gap:5px;margin-top:24px}
#app .hs-card-collection .hs-collection-copies{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border:1px solid #89aa8666;border-radius:20px;background:#263c33;color:#c6d9bd;font-size:11px;line-height:1.2}
#app .hs-card-collection .hs-collection-copies b{font-size:12px;font-weight:600;color:#edf0d9;font-variant-numeric:tabular-nums}
#app .hs-card-collection .hs-collection-copies.is-missing{background:#29312f;border-color:#74847b55;color:#a1b2a9}
#app .hs-card-collection .hs-collection-copies.is-missing b{color:#bac5bb}
#app .hs-card-collection .hs-card-collection-name{margin:0;font-size:10px;line-height:1.5}
#app .hs-card-collection .hs-card-availability{margin:0;min-height:28px;line-height:1.5}
