/* "Why Always Me?" on top of the game's sticker-album look (djupkaf.css). */
.wam .screen { gap: 12px; }
.wbrand h1 { font-size: 58px; }
.wbrand h1 span { display: inline; }
.back { color: var(--muted); text-decoration: none; font-weight: 800; font-size: 14px; }
.wcard { background: var(--card); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.wlabel { margin: 0; font: 900 13px Inter, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wlabel .muted, .muted { color: var(--muted); font-weight: 700; text-transform: none; letter-spacing: 0; }
.center { text-align: center; }
#wname, .wjoin input { width: 100%; font: 800 18px Inter, sans-serif; padding: 12px 14px; border-radius: 12px; border: 2.5px solid var(--ink); background: #fff; color: var(--ink); outline: none; }
.avgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.avpick { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; cursor: pointer; }
.avpick.on { background: #fff3c4; box-shadow: 0 0 0 3px var(--gold); }
.avpick.locked { opacity: 0.45; cursor: default; filter: grayscale(0.8); }
.avn { font: 900 10.5px Inter, sans-serif; text-align: center; line-height: 1.15; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.avd { font: 800 10px Inter, sans-serif; color: var(--muted); min-height: 12px; }
.wbtns { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.wjoin { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.wjoin input { text-transform: uppercase; letter-spacing: 0.3em; font-family: var(--display); font-weight: 400; }
.wrooms { display: flex; flex-direction: column; gap: 6px; }
.wroom { display: grid; grid-template-columns: 70px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; background: #fff; border: 2px solid var(--ink); border-radius: 10px; cursor: pointer; text-align: left; }
.wroom b { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0.08em; color: var(--ink); }
.wroom span { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wroom em { font-style: normal; font-weight: 800; color: var(--muted); }
.wroom i { font-style: normal; font-weight: 900; color: var(--red); }
.wvariant { display: flex; justify-content: center; }
.wcodebig { margin: 0; text-align: center; font-family: var(--display); font-size: 84px; letter-spacing: 0.12em; color: var(--red); text-shadow: 4px 4px 0 var(--ink); line-height: 1; }
.wplayers { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.wplayers.small { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.wchip { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; background: var(--card); border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); transition: transform 0.2s; }
.wplayers.small .wchip { padding: 5px 2px; box-shadow: 2px 2px 0 var(--ink); }
.wchip .wn { font: 900 12.5px Inter, sans-serif; text-align: center; overflow-wrap: anywhere; }
.wchip .wn i { color: var(--muted); font-style: normal; font-weight: 700; }
.wchip .wcards { min-height: 16px; font-size: 13px; letter-spacing: 1px; }
.wchip.active { background: #fff3c4; transform: translateY(-4px) rotate(-1.5deg); box-shadow: 0 0 0 3px var(--gold), 4px 5px 0 var(--ink); }
.wchip.out { opacity: 0.45; filter: grayscale(1); }
.wchip.off { opacity: 0.6; }
.wq { margin: 0; gap: 10px; }
.wturn { display: flex; justify-content: space-between; align-items: center; font: 800 16px Inter, sans-serif; }
.wturn b { color: var(--red); }
.wclock { font-family: var(--display); font-size: 34px; color: var(--ink); min-width: 48px; text-align: right; }
.wclock.hurry { color: var(--red); animation: beat 0.5s ease infinite; }
.wbar { height: 10px; border-radius: 99px; background: #e9dfc8; overflow: hidden; border: 2px solid var(--ink); }
.wbar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width 0.1s linear; }
.mform.waiting { opacity: 0.5; pointer-events: none; }
.wfeed { display: flex; flex-wrap: wrap; gap: 6px; }
.wused { display: flex; flex-direction: column; padding: 5px 9px; background: #fff; border: 2px solid var(--ink); border-radius: 8px; box-shadow: inset 4px 0 0 var(--tc); animation: rise 0.3s ease both; }
.wused b { font-family: var(--display); font-weight: 400; font-size: 15px; text-transform: uppercase; }
.wused span { font: 700 10.5px Inter, sans-serif; color: var(--muted); }
.wflash { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; pointer-events: none; z-index: 8; text-align: center; padding: 20px;
  background: radial-gradient(ellipse at center, rgba(242,232,210,0.85), rgba(242,232,210,0) 70%); animation: fadein 0.2s ease both; }
.wflash.hidden { display: none; }
.wflash b { font-family: var(--display); font-weight: 400; font-size: 34px; text-transform: uppercase; color: var(--ink); text-shadow: 3px 3px 0 #fff; }
.wflash em { font: 900 16px Inter, sans-serif; font-style: normal; background: var(--gold); border: 2.5px solid var(--ink); border-radius: 99px; padding: 4px 12px; }
.wflash.red b { color: var(--red); }
.wcardbig { font-size: 90px; animation: flipup 0.6s cubic-bezier(.2,1.3,.4,1) both; }
.wsticker { display: flex; flex-direction: column; gap: 2px; padding: 12px 22px; background: #fff; border: 3px solid var(--ink); border-radius: 12px; box-shadow: inset 0 0 0 6px var(--tc), 6px 6px 0 var(--ink);
  transform: rotate(-3deg); animation: slap 0.4s cubic-bezier(.2,1.5,.4,1) both; }
.wsticker b { font-size: 30px; text-shadow: none; }
.wsticker i { font: 900 13px Inter, sans-serif; font-style: normal; text-transform: uppercase; color: var(--muted); }
.wwin { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wwinner { margin: 0; font-family: var(--display); font-size: 40px; text-transform: uppercase; color: var(--red); text-shadow: 3px 3px 0 var(--ink); text-align: center; }
#lstart[hidden], #oagain[hidden] { display: none; }
@media (max-width: 380px) { .wbrand h1 { font-size: 46px; } .wcodebig { font-size: 66px; } }
.wquick { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px; }
.wquick span { font-size: 24px; }
.wquick small { font: 700 13px Inter, sans-serif; text-transform: none; letter-spacing: 0; opacity: 0.85; }
.wpub { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 14px; background: #fff; border: 2.5px dashed var(--ink); border-radius: 12px; cursor: pointer; font: 800 15px Inter, sans-serif; color: var(--ink); }
.wpub.on { background: #e6f7d9; border-style: solid; }
.wpub span { font-size: 12.5px; color: var(--red); text-decoration: underline; }
.wpub:disabled { cursor: default; }
