/* Deliberately explicit colours keep this island readable under theme dark mode. */
body:has(#hhcc-game) h1.zox-post-title.entry-title{display:none!important}
#hhcc-game,#hhcc-game *{box-sizing:border-box}
#hhcc-game{--red:#aa1f15;--ink:#191919;max-width:1100px;width:100%;margin:0 auto 40px;background:#fff!important;color:var(--ink)!important;font-family:Arial,Helvetica,sans-serif!important;line-height:1.5;border:1px solid #ddd;border-radius:14px;overflow:hidden;isolation:isolate}
#hhcc-game [hidden]{display:none!important}
#hhcc-game h1,#hhcc-game h2,#hhcc-game p{float:none!important;width:auto!important;font-family:inherit!important;padding:0;color:inherit!important}
#hhcc-game .hc-hero{position:relative;overflow:hidden;padding:36px 42px;background:radial-gradient(ellipse at 100% 100%,#611911,transparent 65%),#161616!important;border-bottom:5px solid var(--red);color:#fff!important}
#hhcc-game .hc-hero:after{content:"";position:absolute;right:-65px;top:-90px;width:300px;height:300px;border-radius:50%;border:38px double #ffffff08;box-shadow:0 0 0 22px #ffffff04;pointer-events:none}
#hhcc-game .hc-kicker{font-size:11px;font-weight:800;letter-spacing:2px;color:#eee!important;margin-bottom:12px}
#hhcc-game .hc-hero h1{position:relative;z-index:1;margin:0 0 12px;font-size:clamp(32px,4.8vw,55px)!important;line-height:1.05!important;font-weight:900!important;letter-spacing:-1.8px;color:#fff!important}
#hhcc-game .hc-hero h1 span{color:#f46c60!important}
#hhcc-game .hc-hero p{margin:0 0 22px;font-size:16px;color:#eee!important;line-height:1.5}
#hhcc-game .hc-edition{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#ccc!important}
#hhcc-game .hc-edition span{color:#ec6559!important;margin:0 8px}
#hhcc-game .hc-main{padding:28px 36px 24px;background:#fff!important;color:#191919!important}
#hhcc-game .hc-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
#hhcc-game .hc-instruction{font-size:16px;font-weight:700;margin:0!important;color:#191919!important}
#hhcc-game .hc-help{max-width:440px;font-size:13px;color:#333!important}
#hhcc-game summary{cursor:pointer;min-height:28px;font-weight:700;color:#aa1f15!important;text-align:right}
#hhcc-game .hc-help p{font-size:13px;line-height:1.6;margin:12px 0;color:#333!important}
#hhcc-game .hc-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;background:#f6f5f3!important;border:1px solid #e5e3df;border-radius:9px;padding:14px 0;margin-bottom:24px}
#hhcc-game .hc-stat{text-align:center;border-right:1px solid #ddd;color:#191919!important}
#hhcc-game .hc-stat:last-child{border:0}
#hhcc-game .hc-stat strong{display:block;font-size:22px;line-height:1.3;color:#191919!important;font-weight:800}
#hhcc-game .hc-stat span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#555!important;margin-top:4px}
#hhcc-game .hc-storage{font-size:12px;margin:0 0 16px;color:#7c170f!important}
#hhcc-game .hc-progress{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:700;align-items:center;color:#444!important}
#hhcc-game .hc-mistakes{display:flex;align-items:center;gap:6px;color:#444!important}
#hhcc-game .hc-dot{width:9px;height:9px;background:#aa1f15!important;border-radius:50%;display:inline-block}
#hhcc-game .hc-dot.hc-spent{background:#ddd!important}
#hhcc-game .hc-message{font-size:13px;line-height:1.4;min-height:40px;padding:10px 0;color:#444!important}
#hhcc-game .hc-message.hc-error{color:#9a1c12!important;font-weight:700}
#hhcc-game .hc-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#hhcc-game button{font-family:inherit!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:none!important;float:none!important;margin:0;cursor:pointer;-webkit-text-fill-color:currentColor;opacity:1!important}
#hhcc-game .hc-tile{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:92px;padding:12px 8px;border:1px solid #dcd9d3!important;border-radius:8px;background:#efeeea!important;color:#191919!important;font-size:clamp(13px,1.5vw,18px)!important;font-weight:700!important;line-height:1.25!important;text-align:center;overflow-wrap:anywhere;transition:background .12s,transform .12s}
#hhcc-game .hc-tile:hover:not(:disabled){background:#e3e0da!important;transform:translateY(-1px)}
#hhcc-game .hc-tile[aria-pressed=true]{background:#292929!important;color:#fff!important;border-color:#292929!important}
#hhcc-game .hc-tile[aria-pressed=true]:hover{background:#3d3d3d!important}
#hhcc-game button:disabled{cursor:default}
#hhcc-game .hc-tile:disabled{cursor:wait}
#hhcc-game button:focus-visible,#hhcc-game summary:focus-visible{outline:3px solid #aa1f15!important;outline-offset:3px}
#hhcc-game .hc-groups{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}
#hhcc-game .hc-groups:empty{display:none}
#hhcc-game .hc-group{padding:16px 20px;border-radius:8px;text-align:center;color:#171717!important;background:#edd285!important}
#hhcc-game .hc-group-1{background:#b8d7ae!important}
#hhcc-game .hc-group-2{background:#afc9e1!important}
#hhcc-game .hc-group-3{background:#ceb9de!important}
#hhcc-game .hc-group h2{margin:0 0 4px;font-size:16px!important;line-height:1.3;font-weight:800!important;color:#171717!important}
#hhcc-game .hc-group p{margin:0;font-size:14px;line-height:1.5;color:#171717!important}
#hhcc-game .hc-group small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;margin-top:6px;color:#333!important}
#hhcc-game .hc-group .hc-explanation{margin:6px 0 8px;font-size:13px;font-style:italic}
#hhcc-game .hc-revealed{border:1px dashed #777}
#hhcc-game .hc-controls{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:24px 0}
#hhcc-game .hc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border-radius:24px;border:1px solid #777!important;background:#fff!important;color:#222!important;font-size:13px!important;font-weight:700!important;line-height:1.3!important}
#hhcc-game .hc-btn:hover:not(:disabled){background:#f1f0ed!important}
#hhcc-game .hc-primary{background:#aa1f15!important;color:#fff!important;border-color:#aa1f15!important;min-width:165px}
#hhcc-game .hc-primary:hover:not(:disabled){background:#80180f!important}
#hhcc-game .hc-btn:disabled{background:#ecebea!important;color:#777!important;border-color:#ddd!important}
#hhcc-game .hc-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e4e1dc;padding-top:20px;margin-top:24px}
#hhcc-game .hc-bottom span{font-size:11px;color:#666!important}
#hhcc-game .hc-result{border:1px solid #e4e1dc;background:#f8f7f5!important;padding:24px;text-align:center;border-radius:9px;margin-top:20px;color:#191919!important}
#hhcc-game .hc-result h2{font-size:26px!important;line-height:1.2;margin:0 0 10px;color:#191919!important}
#hhcc-game .hc-result p{font-size:14px;margin:0 0 14px;color:#333!important}
#hhcc-game .hc-share-grid{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;font-size:24px;margin-bottom:18px}
#hhcc-game textarea.hc-share-fallback{width:100%;min-height:140px;background:#fff!important;color:#191919!important;font-size:14px;margin-top:16px;border:1px solid #777;padding:12px}
#hhcc-game .hc-loading{padding:40px;color:#191919!important}
@media(max-width:600px){#hhcc-game{border-radius:8px}#hhcc-game .hc-hero{padding:28px 20px}#hhcc-game .hc-hero h1{font-size:36px!important;letter-spacing:-1.1px}#hhcc-game .hc-hero h1 span{display:block}#hhcc-game .hc-hero p{font-size:14px;margin-bottom:18px}#hhcc-game .hc-edition{font-size:8px;letter-spacing:1px}#hhcc-game .hc-main{padding:22px 14px}#hhcc-game .hc-top{display:block}#hhcc-game .hc-instruction{font-size:14px}#hhcc-game summary{text-align:left;margin-top:8px}#hhcc-game .hc-stats{padding:12px 0}#hhcc-game .hc-stat strong{font-size:19px}#hhcc-game .hc-stat span{font-size:8px;letter-spacing:.2px}#hhcc-game .hc-board{gap:6px}#hhcc-game .hc-tile{min-height:82px;padding:8px 4px;font-size:12px!important;line-height:1.2!important;border-radius:6px}#hhcc-game .hc-controls{gap:8px;margin:20px 0}#hhcc-game .hc-btn{padding:10px 14px;font-size:12px!important}#hhcc-game .hc-primary{min-width:140px}#hhcc-game .hc-bottom{flex-direction:column}#hhcc-game .hc-progress{font-size:11px}#hhcc-game .hc-group{padding:14px 10px}#hhcc-game .hc-group h2{font-size:14px!important}#hhcc-game .hc-group p{font-size:12px}}
@media(prefers-reduced-motion:reduce){#hhcc-game *{transition:none!important;animation:none!important}}

#hhcc-game .hc-session-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}

#hhcc-game .hc-result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
#hhcc-game .hc-message.hc-mistake-alert{font-size:17px!important;font-weight:800!important;line-height:1.45!important;padding:16px 18px;margin:12px 0 16px;background:#fff0ed!important;color:#8a170f!important;border:2px solid #aa1f15;border-radius:8px}
#hhcc-game .hc-tile.hc-wrong-tile{background:#f8d7d2!important;color:#78140e!important;border:2px solid #aa1f15!important;animation:hhcc-wrong-shake .35s ease-in-out}
@keyframes hhcc-wrong-shake{0%,100%{transform:translateX(0)}25%,75%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
@media(prefers-reduced-motion:reduce){#hhcc-game .hc-tile.hc-wrong-tile{animation:none!important}}

#hhcc-game a.hc-kicker{display:inline-block;text-decoration:none!important;color:#eee!important}#hhcc-game a.hc-kicker:hover{text-decoration:underline!important;text-underline-offset:4px}#hhcc-game a.hc-kicker:focus-visible{outline:2px solid #f07a68;outline-offset:5px;border-radius:2px}

/* Compact graphic-series header. Gameplay styles above are unchanged. */
#hhcc-game .hc-hero{display:flex;align-items:center;min-height:380px;padding:28px 5% 46px;background:linear-gradient(90deg,#17131144,transparent 65%),url('connections-header-background.jpg') center/cover,#171311!important;border-bottom:5px solid #aa2118}
#hhcc-game .hc-hero:after{display:none!important}
#hhcc-game .hc-hero-copy{width:58%;position:relative;z-index:1}
#hhcc-game a.hc-kicker{display:inline-flex;align-items:center;min-height:44px;font-size:12px!important;line-height:1.4;letter-spacing:.12em;color:#fff3e7!important;margin:0!important}
#hhcc-game .hc-hero h1{font-family:Impact,'Arial Narrow',Arial,sans-serif!important;font-size:clamp(36px,5vw,64px)!important;line-height:1.05!important;letter-spacing:-.02em!important;color:#fff4e5!important;margin:12px 0 14px!important;font-weight:900!important;user-select:text}
#hhcc-game .hc-hero h1 span{display:block;color:#ef725f!important}
#hhcc-game .hc-hero p{font-size:18px!important;color:#fff1e4!important;font-weight:700;line-height:1.5!important;margin:0!important}
#hhcc-game .hc-edition{margin-top:16px;font-size:11px!important;letter-spacing:.08em;color:#edd5c5!important}
@media(max-width:640px){#hhcc-game .hc-hero{min-height:300px;padding:22px 6%;background-image:linear-gradient(90deg,#171311ed,#171311ad 60%,#17131155),url('connections-header-background.jpg')!important;background-position:70% center!important}#hhcc-game .hc-hero-copy{width:100%}#hhcc-game .hc-hero h1{font-size:clamp(28px,8.4vw,46px)!important;margin:10px 0 14px!important}#hhcc-game .hc-hero p{font-size:17px!important;max-width:94%}#hhcc-game .hc-edition{font-size:10px!important;letter-spacing:.03em}#hhcc-game a.hc-kicker{font-size:12px!important;letter-spacing:.1em}}
