html.iwg-wrong body{background:var(--iwg-paper);color:var(--iwg-ink)}
.wrong-entry{max-width:1184px;margin:auto;padding:26px 24px 36px;font-family:var(--iwg-font);color:var(--iwg-ink)}
.wrong-crumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--iwg-muted);margin-bottom:24px}.wrong-heading{display:flex;align-items:center;gap:18px;margin-bottom:28px}.wrong-mark{display:grid;place-items:center;width:66px;height:66px;flex-shrink:0;border:2px solid #f0c5d4;border-radius:17px;background:#fff0f4;color:#b52d60;font-size:37px;font-weight:800;transform:rotate(-6deg)}.wrong-heading h1{display:flex;align-items:center;flex-wrap:wrap;gap:14px;font:850 38px/1.2 var(--iwg-font);letter-spacing:-1.3px}.wrong-heading h1 span{font:750 9px var(--iwg-font);letter-spacing:1px;padding:6px 9px;border-radius:30px;background:#fff0f4;color:#9b2851}.wrong-heading p{font-size:13px;color:var(--iwg-muted);margin-top:7px}
.wrong-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.wrong-panel{overflow:hidden}.wrong-mode-bar{display:flex;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid var(--iwg-border);font-size:12px}.wrong-mode-bar strong{color:var(--iwg-blue)}.wrong-mode-bar a{color:var(--iwg-muted)}.wrong-setup{padding:30px 24px}.wrong-intro{text-align:center;margin-bottom:26px}.wrong-intro h2{font:800 22px/1.4 var(--iwg-font)}.wrong-intro p{font-size:12px;color:var(--iwg-muted);margin-top:9px}
.wrong-name{max-width:380px;margin:0 auto 24px}.wrong-entry label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}.wrong-entry input{display:block;width:100%;min-width:0;min-height:48px;padding:12px 14px;border:1px solid var(--iwg-border);border-radius:12px;background:var(--iwg-paper);color:var(--iwg-ink);font:500 14px var(--iwg-font)}.wrong-entry input::placeholder{color:var(--iwg-muted)}.wrong-entry :is(input,button,a):focus-visible{outline:3px solid var(--iwg-blue);outline-offset:3px}.wrong-forms{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wrong-forms>section{display:flex;flex-direction:column;min-width:0;padding:22px;border:1px solid var(--iwg-border);border-radius:18px;background:var(--iwg-soft)}.wrong-forms h3{font:800 17px var(--iwg-font);margin-bottom:16px}.wrong-forms p{font-size:12px;line-height:1.7;color:var(--iwg-muted);margin-bottom:20px}.wrong-entry .iwg-button{width:100%;font-size:12px;min-height:48px;margin-top:auto}.wrong-forms input{margin-bottom:18px}.wrong-panel-bottom{border-top:1px solid var(--iwg-border);padding:18px 24px;text-align:center;color:var(--iwg-muted);font-size:11px}
.wrong-guide{padding:24px}.wrong-guide h2{font:800 22px/1.3 var(--iwg-font);letter-spacing:-.5px;margin-bottom:12px}.wrong-guide p{font-size:12px;line-height:1.7;color:var(--iwg-muted)}.wrong-rule{display:flex;gap:12px;align-items:start;margin-top:24px}.wrong-rule>span{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:9px;background:var(--iwg-soft);font-size:22px;color:var(--iwg-blue)}.wrong-rule h3{font-size:12px;font-weight:750;margin-bottom:5px}.wrong-rule p{font-size:11px}.wrong-guide .wrong-tip{margin-top:24px;padding-top:18px;border-top:1px solid var(--iwg-border);font-size:11px}.wrong-related{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:28px}.wrong-related h2{font:800 18px var(--iwg-font);margin-right:auto}.wrong-related a{font-size:12px;padding:12px;border:1px solid var(--iwg-border);border-radius:12px}.wrong-related a:hover{background:var(--iwg-soft);color:var(--iwg-blue)}.wrong-related span{margin-left:12px}
/* Pair active-room control colors without altering gameplay or state styling. */
html.iwg-wrong[data-theme] #app :is(input,textarea,select){background:var(--iwg-paper);color:var(--iwg-ink);border:1px solid var(--iwg-border)}
html.iwg-wrong[data-theme] #app :is(input,textarea)::placeholder{color:var(--iwg-muted)}
html.iwg-wrong[data-theme] #app button:is([class~="hover:bg-dark-700"],[class~="hover:bg-dark-600"],[class~="hover:text-white"]){color:var(--iwg-ink);background:var(--iwg-soft)}
html.iwg-wrong[data-theme] #app button:is([class~="hover:bg-dark-700"],[class~="hover:bg-dark-600"],[class~="hover:text-white"]):hover{color:#123c8c;background:#ebf4ff}
html.iwg-wrong[data-theme] #app button[class*="bg-gradient-to"]{color:#0b1535}
@media(max-width:900px){.wrong-layout{grid-template-columns:1fr}}
@media(max-width:600px){.wrong-entry{padding:20px 12px 30px}.wrong-heading{gap:12px}.wrong-mark{width:50px;height:50px;font-size:29px}.wrong-heading h1{font-size:27px;gap:8px}.wrong-heading h1 span{font-size:7px}.wrong-heading p{font-size:11px;line-height:1.6}.wrong-setup{padding:24px 14px}.wrong-intro h2{font-size:20px}.wrong-forms{grid-template-columns:1fr}.wrong-forms>section{padding:18px}.wrong-mode-bar{padding:18px 14px}.wrong-related{gap:8px}.wrong-related h2{width:100%}.wrong-related a{font-size:11px}}

.wrong-forms>section{background:var(--iwg-paper)}
.wrong-recommendations{margin-top:34px}
.wrong-related-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.wrong-related-heading h2{font:800 20px var(--iwg-font)}
.wrong-related-heading>a{font-size:11px;font-weight:700;color:var(--iwg-blue)}
.wrong-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.wrong-related-grid>a{display:flex;align-items:center;gap:12px;padding:16px;color:var(--iwg-ink)}
.wrong-related-grid svg{width:64px;height:60px;flex-shrink:0;border-radius:12px;background:var(--iwg-soft)}
.wrong-related-grid h3{font:800 12px var(--iwg-font)}
.wrong-related-grid p{font:400 10px/1.6 var(--iwg-font);color:var(--iwg-muted);margin-top:5px}
.wrong-related-grid>a>span{margin-left:auto}
html.iwg-wrong[data-theme] #app :is(#screen-menu,#screen-lobby) .mockup-window{border:1px solid var(--iwg-border);border-radius:20px;background:var(--iwg-paper);box-shadow:none}
html.iwg-wrong[data-theme] #app :is(#screen-menu,#screen-lobby) .mockup-bar{display:none}
html.iwg-wrong[data-theme] #app :is(#screen-menu,#screen-lobby) .border-dashed{border:1px solid var(--iwg-border);background:var(--iwg-soft)}
html.iwg-wrong[data-theme] #app :is(input,textarea,select){border:1px solid var(--iwg-border);border-radius:12px;min-height:44px;background:var(--iwg-soft)}
html.iwg-wrong[data-theme] #app :is(#btn-create-room,#btn-start-game){background:#3155ef;color:#fff;border:1px solid transparent;min-height:44px;border-radius:12px;font-size:14px;box-shadow:none;animation:none;transform:none}
html.iwg-wrong[data-theme] #app #btn-home{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--iwg-border);border-radius:12px;background:var(--iwg-soft);color:var(--iwg-ink);font:700 13px var(--iwg-font)}
html.iwg-wrong[data-theme] #app #btn-home:hover{border-color:var(--iwg-blue);background:var(--iwg-paper)}
@media(max-width:900px){.wrong-related-grid{grid-template-columns:1fr}}
@media(max-width:600px){.wrong-related-heading{flex-direction:column;align-items:flex-start}.wrong-related-heading h2{font-size:19px}}

.wrong-copy-control { position: relative; flex: none; }
.wrong-copy-status {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 4px);
  z-index: 1;
  padding: 4px 8px;
  border: 1px solid var(--iwg-border);
  border-radius: 8px;
  background: var(--iwg-paper);
  color: var(--iwg-ink);
  font: 700 12px var(--iwg-font);
  white-space: nowrap;
  pointer-events: none;
}
.wrong-copy-status:empty { opacity: 0; }
