/* Noir Royale v3. v1 arena-v1.css, v2 arena-v2.css. Lobi görünen katman. Oyun sayfasına taşmaz. */
body:has(.lobby-v12:not(.hidden)):has(.ref-board){
  --bg-primary:#050505;
  --bg-secondary:#0A0A0A;
  --bg-panel:#090909;
  --bg-elevated:#121212;
  --accent-gold:#E2B44A;
  --accent-gold-light:#F8E7B0;
  --gold-metal:linear-gradient(180deg, rgba(255,248,226,.72) 0%, rgba(255,248,226,0) 18%), linear-gradient(180deg, #F8E8C4 0%, #E4C27A 20%, #B5873C 48%, #F1D69A 66%, #8C672F 100%);
  --accent-teal:#35B9AE;
  --accent-blue:#527DAF;
  --text-primary:#F2EEE5;
  --text-secondary:#CDB892;
  --text-muted:#8C7A5C;
  --border-subtle:rgba(226,184,96,.38);
  --border-highlight:rgba(248,231,176,.9);
  --radius-medium:16px;
  --radius-large:22px;
  background:var(--bg-primary) !important;
  color:var(--text-primary);
  font-family:"Segoe UI", "Helvetica Neue", Arial, sans-serif;
  overflow:hidden;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .app-shell{
  background:
    radial-gradient(880px 460px at 46% 42%, rgba(226,180,74,.20), transparent 62%),
    radial-gradient(640px 180px at 50% 100%, rgba(226,180,74,.12), transparent 70%),
    #050505 !important;
  box-shadow:inset 0 0 160px 48px rgba(0,0,0,.78), inset 0 0 0 1px rgba(226,184,96,.55) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .topbar{
  height:0 !important; min-height:0 !important; margin:0 !important; padding:0 !important;
  border:0 !important; background:transparent !important; overflow:visible !important; max-width:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .topbar .brand,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .topbar .online-dot,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .topbar .lobby-feed{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .top-actions{
  position:absolute; top:18px; right:18px; z-index:40; display:flex; gap:6px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .top-actions .ghost{
  height:30px !important; padding:0 10px !important; border-radius:999px !important;
  border:1px solid rgba(232,196,112,.62) !important; background:#0A0A0A !important;
  color:var(--accent-gold-light) !important; font-size:11px !important; font-weight:700 !important;
  box-shadow:inset 0 1px 0 rgba(255,248,220,.12), 0 0 0 1px rgba(90,64,28,.45) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .landing{
  display:flex !important; flex-direction:column !important; height:100vh !important; max-width:none !important;
  padding:14px 18px 108px !important; min-height:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .lobby-v12{
  width:min(1680px, calc(100vw - 28px)) !important; margin:0 auto !important;
}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-header{
  min-height:68px !important; max-height:none !important; overflow:visible !important;
  display:flex !important; align-items:center !important; justify-content:flex-start !important; gap:16px !important;
  padding:0 168px 8px 0 !important;
  border-bottom:1px solid rgba(232,196,112,.55) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .nr-brand{
  display:flex; align-items:center; gap:8px; flex:0 0 auto;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .nr-brand span{
  width:42px; height:42px; display:grid; place-items:center; border-radius:50%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.62), transparent 32%),
    linear-gradient(165deg, #FFE9A6 0%, #E2B44A 40%, #A56E24 100%);
  color:#2A1C0C; font-weight:800; letter-spacing:.04em;
  border:1px solid #F6E7C4;
  box-shadow:inset 0 1px 0 #FFF8E8, inset 0 -2px 0 #6A4C20, 0 8px 16px rgba(0,0,0,.35);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .nr-brand b{
  display:block; font-family:"Palatino Linotype", Palatino, Georgia, serif;
  font-size:18px; letter-spacing:.16em; color:var(--accent-gold-light); font-weight:700;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .nr-brand small{
  display:block; color:var(--text-muted); letter-spacing:.22em; font-size:10px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile>img{
  width:48px !important; height:48px !important; border-radius:50% !important;
  border:2px solid #E7CC8A !important;
  box-shadow:0 0 0 1px #6A4E24, 0 0 0 4px rgba(198,161,90,.22) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile-copy{
  display:grid !important; grid-template-columns:auto minmax(72px,110px) auto !important;
  grid-template-areas:"name name name" "lvl bar frac" "badges badges badges";
  row-gap:2px !important; column-gap:8px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile-copy small{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #profileName{
  grid-area:name; font-family:"Palatino Linotype", Palatino, Georgia, serif !important;
  font-size:16px !important; color:var(--accent-gold-light) !important; font-weight:700 !important; letter-spacing:.04em;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #levelText{
  grid-area:lvl; width:28px !important; height:28px !important; font-size:12px !important;
  display:grid !important; place-items:center; border-radius:50%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.7), transparent 36%),
    linear-gradient(180deg, #FFE7A0, #D7A441 55%, #8C5E1C) !important;
  color:#2A1608 !important;
  border:1px solid #F8E7B0 !important;
  box-shadow:inset 0 1px 0 #fff, 0 0 10px rgba(226,180,74,.35) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile-copy i{
  grid-area:bar; width:100px !important; height:6px !important; border-radius:999px !important;
  background:#050505 !important; border:1px solid var(--border-subtle) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #xpBar{background:linear-gradient(90deg, #8A5A18, #F8E7B0) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #xpText{grid-area:frac; color:var(--text-secondary); font-style:normal; font-size:11px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .profile-badges{grid-area:badges; display:flex; gap:4px; flex-wrap:nowrap; overflow:hidden}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .profile-badges em{
  font-size:10px !important; padding:2px 7px !important; border-radius:999px !important;
  background:rgba(197,166,106,.12) !important; color:var(--accent-gold-light) !important; border:1px solid var(--border-subtle);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #vipBadge{background:rgba(226,180,74,.16) !important; color:#F8E7B0 !important; border-color:rgba(232,196,112,.7)}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #profileBio{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status{
  width:auto !important; height:auto !important; min-width:0 !important; padding:6px 10px !important;
  border-radius:999px !important; background:var(--bg-elevated) !important;
  border:1px solid var(--border-subtle) !important; box-shadow:none !important;
  display:flex !important; gap:6px; align-items:center;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status span{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status b{font-size:12px !important; color:var(--text-primary) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet{
  min-width:168px !important; height:46px !important; padding:0 6px 0 14px !important; border-radius:14px !important;
  background:#080808 !important;
  border:1px solid #F8E7B0 !important;
  box-shadow:0 0 0 1px #120c06, 0 0 0 2px rgba(196,146,46,.85), inset 0 1px 0 rgba(255,248,220,.16), 0 0 16px rgba(226,180,74,.18) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet small{color:var(--text-muted) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet strong{font-size:16px !important; color:var(--accent-gold-light) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #coinShopBtn{
  height:40px !important; min-height:40px !important; padding:0 18px 0 22px !important; border-radius:999px !important;
  color:#F8E7B0 !important; font-weight:800 !important; letter-spacing:.08em !important;
  border:0 !important; border-image:none !important;
  background:url("../asset/lobby/gold-cap.png") center / 100% 100% no-repeat !important;
  box-shadow:0 8px 16px rgba(0,0,0,.4), 0 0 14px rgba(226,180,74,.28) !important;
  text-shadow:0 1px 0 #000 !important;
}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-dashboard{
  position:relative !important; isolation:isolate;
  flex:1 1 auto !important; min-height:0 !important; display:grid !important;
  grid-template-columns:minmax(220px,250px) minmax(0,1fr) minmax(220px,270px) !important;
  grid-template-rows:minmax(0,1.7fr) minmax(176px,.78fr) !important;
  gap:16px !important; padding:8px 0 0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-dashboard::before{
  content:"" !important; position:absolute; inset:-6% -3%; z-index:0; pointer-events:none;
  background:url("../asset/lobby/noir-bot.jpg?v=2") center 40% / cover no-repeat !important;
  filter:blur(16px) brightness(.32) saturate(1.2);
  transform:scale(1.06);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > *{position:relative; z-index:1}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .ref-events{grid-column:1 !important; grid-row:1 / 3 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .main-game-cards{grid-column:2 !important; grid-row:1 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .promotion-section{grid-column:2 !important; grid-row:2 !important; flex-direction:row !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .showcase-section{grid-column:3 !important; grid-row:1 / 3 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .promotion-section > .ref-poster{
  flex:1 1 0 !important; min-width:0 !important; min-height:0 !important; height:100% !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .main-game-cards{
  display:grid !important; grid-template-columns:1fr 1fr !important; gap:14px !important; min-width:0 !important; min-height:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .main-game-cards .ref-okey,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .main-game-cards #createRoomBtn{
  grid-column:auto !important; grid-row:auto !important; height:100% !important; min-width:0 !important; min-height:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-events,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-stack{
  display:flex !important; flex-direction:column !important; gap:10px !important; min-height:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-events>*{flex:1 1 0; min-height:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect{flex:0 0 64px !important}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-mini,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize{
  border:1px solid var(--border-subtle) !important; border-radius:var(--radius-large) !important;
  box-shadow:0 18px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05) !important;
  background:
    linear-gradient(180deg, rgba(230,209,160,.06), transparent 24%),
    var(--bg-panel) !important;
  color:var(--text-primary) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster{
  overflow:visible !important;
  border-radius:0 !important;
  border:16px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 110 / 16px / 0 stretch !important;
  box-shadow:0 22px 36px rgba(0,0,0,.5), 0 0 22px rgba(226,180,74,.2) !important;
  animation:nrStage 7.5s ease-in-out infinite;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel{
  overflow:visible !important;
  border-radius:0 !important;
  border:12px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 110 / 12px / 0 stretch !important;
  box-shadow:0 16px 28px rgba(0,0,0,.42) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel.ref-mini{
  background:
    linear-gradient(180deg, rgba(226,180,74,.08), transparent 28%),
    #080808 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-okey::before,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn::before,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn::before,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-gift::before,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize::before,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel::before{
  content:none !important; display:none !important; background:none !important; box-shadow:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-mini-head .ref-script,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize h3,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .ref-logo,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-okey .ref-logo,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-logo,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refGifts b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect b{
  font-family:"Palatino Linotype", Palatino, Georgia, serif !important;
  font-weight:700 !important; color:#F8E7B0 !important;
  -webkit-text-stroke:0 !important; text-shadow:none !important; letter-spacing:.14em !important;
  background:linear-gradient(185deg, #FFF8E4 0%, #F6E2A8 40%, #C4922E 100%) !important;
  -webkit-background-clip:text !important; background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
  filter:drop-shadow(0 2px 7px rgba(0,0,0,.9));
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-mini-head .ref-script{font-size:22px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-mini-head small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize-top small{
  color:var(--text-muted) !important; letter-spacing:.16em !important; font-size:10px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rank-tabs button{
  background:transparent !important; color:var(--text-secondary) !important;
  border:1px solid transparent !important; border-radius:999px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rank-tabs button.on{
  color:#1A1208 !important; background:linear-gradient(180deg, #FFF3C8, #C4922E) !important; border-color:#F8E7B0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-row{
  background:var(--bg-elevated) !important; color:var(--text-primary) !important; border-radius:10px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect{
  display:grid !important; grid-template-columns:28px minmax(0,1fr); grid-template-areas:"ico title" "ico sub";
  align-items:center; column-gap:10px; padding:6px 14px !important; text-align:left !important;
  background:none !important; border-radius:0 !important;
  border:10px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 110 fill / 10px / 0 stretch !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks svg,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect svg{grid-area:ico; width:22px; height:22px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect b{grid-area:title; font-size:16px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect small{grid-area:sub; color:var(--text-muted); font-size:11px}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-okey,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-gift{
  position:relative !important;
  overflow:visible !important;
  background-image:none !important;
  justify-content:flex-end !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-okey{background:#0B1422 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn{background:#24180F !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn{background:#0C2E26 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-gift{background:#10182A !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel{position:relative}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-okey::after,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn::after,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn::after,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-gift::after{
  content:"" !important; display:block !important; position:absolute; z-index:1; pointer-events:none;
  top:0 !important; right:0 !important; bottom:0 !important; left:0 !important;
  width:auto !important; height:auto !important; border:0 !important; border-radius:0 !important;
  box-shadow:none !important; opacity:1 !important; filter:none !important; background-size:auto !important;
  background-image:none !important;
  background:linear-gradient(180deg, rgba(5,5,5,.55) 0 10%, rgba(5,5,5,0) 26% 72%, rgba(5,5,5,.82) 100%) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-logo{
  position:relative !important; z-index:2; width:auto !important; height:auto !important;
  overflow:visible !important; clip:auto !important; margin:6px 0 auto !important;
  font-size:clamp(28px, 2.4vw, 40px) !important; line-height:1 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-okey .ref-logo,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .ref-logo{
  font-size:clamp(36px, 3.2vw, 56px) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero-art,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-rack,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-rings,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-present{
  position:absolute !important; inset:0 !important; left:0 !important; top:0 !important;
  width:100% !important; height:100% !important; max-height:none !important;
  object-fit:cover !important; object-position:center 46% !important;
  pointer-events:none; z-index:0; filter:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-rack{object-position:center 42% !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-rings{object-position:center 50% !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-present{object-position:center 42% !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .face{fill:#F7F3EA !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-fan{display:none !important}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-gift::before{content:none !important; display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refGifts b{
  position:relative; z-index:2; font-size:clamp(20px, 1.6vw, 28px) !important; margin-bottom:auto !important;
}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .jelly,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #coinShopBtn{
  transition:transform .18s ease, filter .18s ease;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero .jelly,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster .jelly{
  position:relative; z-index:2; width:calc(100% - 8px) !important; min-height:52px !important;
  border-radius:999px !important; border:0 !important; color:#F8E7B0 !important;
  font-family:"Segoe UI", Arial, sans-serif !important; font-size:16px !important; font-weight:800 !important;
  letter-spacing:.08em !important; text-shadow:0 1px 0 #000 !important;
  background:url("../asset/lobby/gold-cap.png") center / 100% 100% no-repeat !important;
  border-image:none !important;
  box-shadow:0 10px 16px rgba(0,0,0,.35), 0 0 16px rgba(226,180,74,.22) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster .jelly{min-height:40px !important; font-size:14px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .jelly:hover,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #coinShopBtn:hover{filter:brightness(1.06)}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .jelly:active{transform:translateY(1px)}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster small{
  position:relative; z-index:2; color:var(--text-secondary) !important; font-weight:600 !important; text-shadow:none !important;
}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize{
  background:#080808 !important;
  display:flex; flex-direction:column; padding:12px !important; min-height:0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize h3{font-size:26px !important; margin:0; max-width:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .v12-player-list{flex:1; min-height:0; overflow:auto}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player{
  background:var(--bg-elevated) !important; color:var(--text-primary) !important; border-radius:12px !important;
  border:1px solid rgba(255,255,255,.04) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player small{color:var(--text-secondary) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .profile-hit{color:var(--text-primary) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .follow-btn{
  background:transparent !important; color:var(--accent-gold-light) !important;
  border:1px solid rgba(232,196,112,.7) !important; border-radius:999px !important;
  box-shadow:none !important; height:28px; padding:0 10px; font-size:11px; font-weight:700;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player{
  display:grid !important; grid-template-columns:56px minmax(0,1fr) auto !important;
  align-items:center; gap:8px; padding:12px 10px !important; margin-bottom:8px; min-height:76px;
  border-left:2px solid rgba(197,166,106,.55) !important;
  background:linear-gradient(90deg, rgba(226,180,74,.14), #101010 46%) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .avatar-face{position:relative; width:52px; height:52px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .avatar-face::after{
  content:""; position:absolute; right:0; bottom:1px; width:10px; height:10px; border-radius:50%;
  background:#F8E7B0; box-shadow:0 0 0 2px #080808;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .avatar-face img{
  width:52px !important; height:52px !important; border-radius:50% !important;
  border:1px solid var(--accent-gold) !important; object-fit:cover;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player b{font-size:14px; display:block; letter-spacing:.01em}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player small{
  display:block !important; font-size:11px !important; line-height:1.4 !important; white-space:normal !important;
  color:var(--text-secondary) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-row{
  display:grid !important; grid-template-columns:26px minmax(0,1fr) auto !important;
  align-items:center; gap:6px; padding:8px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-row b{
  color:var(--accent-gold-light) !important; width:22px; height:22px; border-radius:50%;
  display:grid; place-items:center; border:1px solid rgba(197,166,106,.45); font-size:11px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-list .league-row:first-child{
  border:1px solid rgba(197,166,106,.45) !important;
  background:linear-gradient(90deg, rgba(226,180,74,.18), #101010) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-list .league-row:first-child b{
  background:linear-gradient(180deg, #FFF3C8, #C4922E); color:#2A1608 !important; border-color:#F8E7B0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-row em{color:var(--accent-gold-light); font-style:normal; font-weight:700}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster{
  transition:transform .2s ease, box-shadow .2s ease;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero:hover,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster:hover{
  transform:translateY(-3px);
  animation-play-state:paused;
  box-shadow:0 26px 40px rgba(0,0,0,.55), 0 0 34px rgba(226,180,74,.42) !important;
}
@keyframes nrStage{
  0%,100%{box-shadow:0 22px 36px rgba(0,0,0,.5), 0 0 16px rgba(226,180,74,.14)}
  50%{box-shadow:0 22px 36px rgba(0,0,0,.5), 0 0 30px rgba(226,180,74,.32)}
}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rooms-sheet{
  background:#080808 !important;
  border:1px solid var(--border-highlight) !important; color:var(--text-primary);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rooms-head h3{color:var(--accent-gold-light)}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rooms-sheet .room-card{
  background:var(--bg-elevated) !important; color:var(--text-primary) !important;
}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-dock{
  height:92px !important; left:12px !important; right:12px !important; bottom:10px !important;
  border-radius:20px !important; border:1px solid rgba(232,196,112,.7) !important;
  background:
    linear-gradient(180deg, rgba(226,180,74,.12), transparent 30%),
    #070707 !important;
  box-shadow:0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,248,230,.2) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play{
  width:min(460px, 34vw) !important; height:72px !important; bottom:20px !important; border-radius:999px !important;
  border:0 !important; color:#F8E7B0 !important;
  background:url("../asset/lobby/gold-cap.png") center / 100% 100% no-repeat !important;
  border-image:none !important;
  box-shadow:0 12px 18px rgba(0,0,0,.4), 0 0 18px rgba(226,180,74,.28) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play b{
  font-family:"Segoe UI", Arial, sans-serif !important; font-size:22px !important; color:#F8E7B0 !important;
  letter-spacing:.14em !important; text-shadow:0 1px 0 #000 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play small{color:#E7D7A4 !important; text-shadow:0 1px 0 #000 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play:hover{filter:brightness(1.06)}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play:active{transform:translateX(-50%) translateY(1px)}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-lig{
  width:36px !important; height:36px !important; border-radius:50% !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.7), transparent 34%),
    linear-gradient(180deg, #FFE7A0, #D7A441 55%, #8C5E1C) !important;
  color:#2A1608 !important; border:1px solid #F8E7B0 !important;
  box-shadow:inset 0 1px 0 #fff, 0 0 12px rgba(226,180,74,.4) !important;
  font-size:11px !important; letter-spacing:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero .jelly::after,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster .jelly::after,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play::after,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #coinShopBtn::after{
  content:none !important; animation:none !important; opacity:0 !important;
}
@media (prefers-reduced-motion:reduce){
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero,
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster{animation:none !important}
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel{
  left:18px !important; bottom:16px !important; width:72px !important; height:72px !important;
  background:conic-gradient(from 20deg, #111, #F8E7B0, #8A5A18, #111) !important;
  box-shadow:0 0 0 4px #050505, 0 0 0 5px rgba(248,231,176,.85), 0 0 16px rgba(226,180,74,.35) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel span{background:radial-gradient(circle at 40% 35%, #1A1A1A, #050505) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel b{color:var(--accent-gold-light) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-chest{
  left:102px !important; bottom:24px !important; width:86px !important; height:56px !important;
  background:#080808 !important;
  border:1px solid var(--border-highlight); box-shadow:0 4px 0 #070B12 !important; color:var(--accent-gold-light) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-chest span{
  background:linear-gradient(180deg, #FFF3C8, #C4922E 60%, #8A5A18) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-icons{right:22px !important; bottom:24px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-icons button,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble-btn{
  width:48px !important; height:48px !important; border-radius:50% !important; padding:0 !important;
  display:grid !important; place-items:center !important;
  background:#080808 !important;
  border:1px solid rgba(230,196,130,.55) !important;
  box-shadow:inset 0 1px 0 rgba(255,244,214,.16), 0 0 0 1px rgba(90,64,28,.45) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-icons svg,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble-btn svg{width:22px; height:22px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-icons path,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble-btn path{fill:var(--accent-gold-light) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble{right:140px !important; bottom:20px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{
  left:200px !important; bottom:30px !important; width:150px !important; height:36px !important; z-index:33 !important;
  background:#080808 !important; border:1px solid var(--border-highlight) !important; color:var(--accent-gold-light) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #ok101-issues{
  top:78px !important; left:22px !important; right:auto !important; bottom:auto !important;
}

@media (max-width:1400px){
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-dashboard{
    grid-template-columns:minmax(180px,210px) minmax(0,1fr) minmax(180px,220px) !important;
    grid-template-rows:minmax(0,1.55fr) minmax(156px,.72fr) !important;
    gap:12px !important;
  }
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play{width:min(320px, 30vw) !important}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-logo{font-size:30px !important}
}
@media (max-width:1100px){
  body:has(.lobby-v12:not(.hidden)):has(.ref-board){overflow:auto}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .landing{height:auto !important; overflow:auto}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-dashboard{
    grid-template-columns:1fr 1fr !important; grid-template-rows:auto auto auto !important;
  }
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .ref-events{grid-column:1 !important; grid-row:1 / 3 !important}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .main-game-cards{grid-column:2 !important; grid-row:1 / 3 !important; min-height:280px}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .promotion-section{grid-column:1 !important; grid-row:3 !important; flex-direction:row}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .showcase-section{grid-column:2 !important; grid-row:3 !important; min-height:200px}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-header{padding-right:0 !important; flex-wrap:wrap}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .top-actions{position:static}
}
@media (max-width:760px){
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-dashboard{grid-template-columns:1fr !important}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .main-game-cards{grid-template-columns:1fr !important}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .ref-events,
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .main-game-cards,
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .promotion-section,
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .game-main > .showcase-section{grid-column:1 !important; grid-row:auto !important}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play{width:min(240px, 70vw) !important; height:54px !important}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{display:none !important}
}

/* Tek set. Giriş, pencereler, hesap, sohbet, profil. */
body{background:#050505 !important}
body .app-shell{
  background:
    radial-gradient(720px 280px at 50% 0%, rgba(226,180,74,.14), transparent 62%),
    #050505 !important;
  box-shadow:inset 0 0 0 1px rgba(226,184,96,.35) !important;
}
.hero{background:transparent !important; color:#F2EEE5 !important}
.hero h1,.auth-visual h2,.auth-panel h2{
  font-family:"Palatino Linotype", Palatino, Georgia, serif !important;
  color:#F8E7B0 !important;
}
.auth-stage{
  background:#080808 !important;
  border-radius:0 !important;
  border:16px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 110 / 16px / 0 stretch !important;
  box-shadow:0 28px 60px rgba(0,0,0,.5) !important;
}
.auth-visual,.auth-panel{background:transparent !important; color:#F2EEE5 !important}
.auth-kicker,.auth-panel .mini,.auth-help{color:#CDB892 !important}
.server-pill{color:#F8E7B0 !important; border-color:rgba(248,231,176,.45) !important; background:#050505 !important}
.auth-panel .tab{background:transparent !important; color:#CDB892 !important; border:1px solid rgba(248,231,176,.35) !important}
.auth-panel .tab.active{background:linear-gradient(180deg,#FFF3C8,#C4922E) !important; color:#1A1208 !important; border-color:#F8E7B0 !important}
.auth-panel input,.auth-panel select{
  background:#050505 !important; color:#F8E7B0 !important;
  border:1px solid rgba(248,231,176,.55) !important; border-radius:12px !important; box-shadow:none !important;
}
#authSubmit{
  border-radius:999px !important; border:0 !important; border-image:none !important;
  background:url("../asset/lobby/gold-cap.png") center / 100% 100% no-repeat !important;
  color:#F8E7B0 !important; text-shadow:0 1px 0 #000 !important;
  box-shadow:0 10px 16px rgba(0,0,0,.35), 0 0 16px rgba(226,180,74,.22) !important;
}
#roomModal,#accountModal,.profile-modal,.rooms-drawer{
  background:rgba(0,0,0,.78) !important;
}
#roomModal .modal-card,
#accountModal .modal-card,
.profile-sheet,
.rooms-sheet,
.salon-bubble .salon-pop{
  background:#080808 !important; color:#F2EEE5 !important;
  border-radius:0 !important;
  border:14px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 110 / 14px / 0 stretch !important;
  box-shadow:0 30px 70px rgba(0,0,0,.55) !important;
}
#roomModal .modal-card::before,.profile-glow{content:none !important; display:none !important}
#roomModal .modal-head h3,
#accountModal h3,
.profile-sheet h3,
.rooms-head h3,
.salon-pop h3{
  font-family:"Palatino Linotype", Palatino, Georgia, serif !important;
  color:#F8E7B0 !important; text-shadow:none !important;
}
#roomModal .modal-head small,
#accountModal small,
.rooms-head small,
.salon-pop small,
#roomModal .modal-card>label,
#roomModal .stake-options>span,
#accountModal .account-field>span,
#accountModal .account-avatars>span,
#accountModal .account-racks>span{color:#CDB892 !important; letter-spacing:.16em}
#roomModal .modal-head button,
#accountModalClose,
.profile-x,
#roomsDrawerClose,
#salonPopClose{
  background:#050505 !important; color:#F8E7B0 !important;
  border:1px solid #F8E7B0 !important; box-shadow:none !important;
}
#roomModal input:not([type=checkbox]):not([type=radio]),
#accountModal input,
#accountModal textarea,
#accountModal select,
.salon-pop input{
  background:#050505 !important; color:#F8E7B0 !important;
  border:1px solid rgba(248,231,176,.55) !important;
  border-radius:12px !important; box-shadow:none !important;
}
#roomModal .room-options label,
#roomModal .stake-options label,
#roomModal .room-summary{
  background:#101010 !important; color:#F2EEE5 !important;
  border:1px solid rgba(248,231,176,.4) !important;
  box-shadow:none !important;
}
#roomModal .stake-options label:has(input:checked),
#roomModal .room-options label:has(input:checked),
.auth-panel .tab.active,
#accountModal .gender-picks button.on,
.salon-pop .salon-tabs button.on{
  background:linear-gradient(180deg,#FFF3C8,#C4922E) !important;
  color:#1A1208 !important; border-color:#F8E7B0 !important;
}
#roomModal .room-summary span{background:transparent !important; color:#F2EEE5 !important}
#roomCreateConfirm,#accountSave,#giftSendBtn,.salon-pop .v12-chat-form button,.profile-actions button{
  border-radius:999px !important; border:0 !important; border-image:none !important;
  background:url("../asset/lobby/gold-cap.png") center / 100% 100% no-repeat !important;
  color:#F8E7B0 !important; text-shadow:0 1px 0 #000 !important;
  box-shadow:0 8px 14px rgba(0,0,0,.35), 0 0 14px rgba(226,180,74,.22) !important;
}
.profile-actions button:after{content:none !important; animation:none !important}
.salon-pop .salon-tabs,.salon-pop .lobby-chat,.salon-pop .dm-stage,.pack-grid button,.task-list article,.gift-grid button{
  background:#101010 !important; border-color:rgba(248,231,176,.28) !important; color:#F2EEE5 !important;
}
.chat-tag.gm{background:#1A140C !important; color:#F8E7B0 !important; border:1px solid rgba(248,231,176,.55)}

/* Kapsül kenarı genişlikte ezilmesin. */
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #coinShopBtn,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero .jelly,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster .jelly,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play,
#authSubmit,#roomCreateConfirm,#accountSave,#giftSendBtn,
.salon-pop .v12-chat-form button,.profile-actions button{
  display:flex !important; align-items:center !important; justify-content:center !important;
  box-sizing:border-box !important; text-align:center !important;
  font-style:normal !important; line-height:1 !important; letter-spacing:.04em !important;
  border:2px solid #E8C56A !important; border-image:none !important; border-radius:999px !important;
  background:#0c0b09 !important; color:#F8E7B0 !important;
  text-shadow:none !important; transform:none !important;
  box-shadow:inset 0 0 0 1px rgba(255,248,220,.22), 0 0 0 1px #5c3e12, 0 8px 14px rgba(0,0,0,.35) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play{transform:translateX(-50%) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play:active{transform:translateX(-50%) translateY(1px) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero .jelly,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster .jelly{
  width:min(78%, 280px) !important;
  min-height:48px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Sakin lobi: etiketler okunur, çerçeve nefes almaz, arka bulanıklık yok. */
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-dashboard::before{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster{animation:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status-strip{display:flex; align-items:center; gap:8px; margin-left:auto !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status:first-child{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status span{
  display:inline !important; color:#CDB892 !important; font-size:11px !important; font-weight:700 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rank-tabs{
  display:grid !important; grid-template-columns:1fr 1fr !important; gap:6px !important; margin:8px 0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rank-tabs button{
  min-height:32px !important; padding:4px 8px !important; font-size:11px !important; font-weight:700 !important;
  white-space:normal !important; line-height:1.15 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster small{
  position:relative; z-index:2; margin:6px 0 2px !important;
  color:#E7D7A4 !important; font-size:12px !important; letter-spacing:.04em !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-player-list{
  display:flex !important; flex-direction:column !important; align-content:start !important; gap:8px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-online-panel .lobby-player{
  flex:0 0 auto !important; height:auto !important; align-self:stretch !important;
  grid-template-columns:52px minmax(0,1fr) auto !important;
  grid-template-areas:"ava copy btn" !important;
  grid-template-rows:auto !important;
  align-items:center !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .lobby-player .avatar-face{grid-area:ava !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .lobby-player>div{
  grid-area:copy !important;
  display:flex !important; flex-direction:column !important; gap:2px !important; min-width:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .lobby-player .follow-btn{grid-area:btn !important; align-self:center !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .lobby-player small{
  display:block !important; white-space:normal !important; overflow:visible !important; text-overflow:clip !important;
  font-size:11px !important; line-height:1.35 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .follow-btn{
  min-width:72px !important; height:30px !important; font-size:11px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refGifts{
  display:flex !important; flex-direction:column !important; align-items:center !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #coinShopBtn{
  height:34px !important; min-height:34px !important; padding:0 16px !important; align-self:center !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .top-actions{align-items:center !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .top-actions .ghost:not(.hidden){
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  height:32px !important; line-height:1 !important; letter-spacing:0 !important;
  transform:none !important; text-decoration:none !important; font-style:normal !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect{
  display:grid !important; grid-template-rows:12px minmax(0,1fr) 18px !important;
  align-items:center !important; justify-items:center !important;
  gap:0 !important; box-sizing:border-box !important;
  grid-template-areas:none !important; grid-template-columns:minmax(0,1fr) !important;
  flex:0 0 136px !important; width:136px !important; min-width:136px !important; max-width:136px !important;
  height:136px !important; min-height:136px !important; max-height:136px !important;
  padding:10px 14px 12px !important; text-align:center !important;
  overflow:hidden !important; border-radius:0 !important;
  border:12px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 110 / 12px / 0 stretch !important;
  background:#080808 !important; box-shadow:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-okey .ref-logo,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .ref-logo,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn > b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refGifts > b{
  background:none !important; background-image:none !important;
  -webkit-background-clip:border-box !important; background-clip:border-box !important;
  -webkit-text-fill-color:initial !important; color:transparent !important;
  text-shadow:none !important; filter:none !important;
  letter-spacing:0 !important; line-height:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-okey .ref-logo img,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .ref-logo img{
  display:block !important; height:82px !important; width:auto !important; max-width:92% !important;
  margin:0 auto !important; object-fit:contain !important;
  filter:contrast(1.14) drop-shadow(0 1px 0 rgba(255,246,214,.8)) drop-shadow(0 5px 0 rgba(72,36,6,.96)) drop-shadow(0 10px 4px rgba(0,0,0,.88)) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn > b img,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refGifts > b img{
  display:block !important; height:52px !important; width:auto !important; max-width:90% !important;
  margin:0 auto !important; object-fit:contain !important;
  filter:contrast(1.14) drop-shadow(0 1px 0 rgba(255,246,214,.75)) drop-shadow(0 4px 0 rgba(72,36,6,.96)) drop-shadow(0 8px 3px rgba(0,0,0,.88)) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect b{
  width:100% !important; height:100% !important; min-height:0 !important;
  display:flex !important;   align-items:flex-end !important; justify-content:center !important;
  line-height:1 !important; overflow:hidden !important; padding-bottom:6px !important;
  grid-area:auto !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks b img{
  display:block !important; height:36px !important; width:auto !important; max-width:100% !important;
  margin:0 auto !important; object-fit:contain !important; object-position:center center !important;
  filter:contrast(1.16) drop-shadow(0 1px 0 rgba(255,246,214,.8)) drop-shadow(0 3px 0 rgba(72,36,6,.96)) drop-shadow(0 6px 2px rgba(0,0,0,.88)) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect b img{
  display:block !important; height:50px !important; width:auto !important; max-width:100% !important;
  margin:0 auto !important; object-fit:contain !important; object-position:center center !important;
  filter:contrast(1.16) drop-shadow(0 1px 0 rgba(255,246,214,.8)) drop-shadow(0 3px 0 rgba(72,36,6,.96)) drop-shadow(0 6px 2px rgba(0,0,0,.88)) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-okey,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refGifts{
  overflow:visible !important; border-radius:0 !important;
  border:16px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 110 / 16px / 0 stretch !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect small{
  letter-spacing:0 !important; line-height:1 !important; text-align:center !important; width:100% !important;
  margin:0 !important; font-size:11px !important; color:#E7D7A4 !important;
  white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;
  position:static !important; z-index:2 !important; grid-area:auto !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks svg,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect svg{
  width:16px !important; height:16px !important; margin:0 auto !important; grid-area:auto !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize{
  overflow:visible !important; border-radius:0 !important; background:#080808 !important;
  border:16px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 110 / 16px / 0 stretch !important;
  box-shadow:0 16px 28px rgba(0,0,0,.42) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .gold-head{
  display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important;
  gap:2px !important; text-align:center !important; min-width:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .gold-head img{
  display:block !important; height:50px !important; width:auto !important; max-width:92% !important;
  margin:0 auto !important; object-fit:contain !important;
  filter:contrast(1.16) drop-shadow(0 1px 0 rgba(255,246,214,.8)) drop-shadow(0 4px 0 rgba(72,36,6,.96)) drop-shadow(0 8px 3px rgba(0,0,0,.88)) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .gold-head small{
  display:block !important; text-align:center !important; letter-spacing:.16em !important;
}
#salonPop [data-pane="live"] #friendForm{
  flex:0 0 auto !important; min-width:0 !important; margin:0 !important;
  display:grid !important; grid-template-columns:minmax(0,1fr) auto !important; gap:8px !important;
}
#salonPop #friendForm input,
#salonPop #friendForm button{
  height:40px !important; min-height:40px !important;
}
#salonPop #friendForm button{
  min-width:0 !important; padding:0 14px !important; white-space:nowrap !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect{
  transition:transform .2s ease, box-shadow .2s ease !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks:hover,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 26px 40px rgba(0,0,0,.55), 0 0 34px rgba(226,180,74,.42) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play{
  display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important;
  gap:3px !important; width:min(440px, 34vw) !important; height:auto !important; aspect-ratio:880 / 192 !important;
  padding:0 72px !important;
  border:0 !important; border-radius:999px !important; overflow:hidden !important;
  background:url("../asset/lobby/play-plaque.png?v=3") center / 100% 100% no-repeat !important;
  box-shadow:0 16px 28px rgba(0,0,0,.48) !important;
  transform:translateX(-50%) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play small{position:relative !important; z-index:1 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play b{
  font-size:22px !important; letter-spacing:.18em !important; line-height:1 !important;
  color:#FFF6D4 !important; text-shadow:0 2px 0 #1a1004, 0 0 12px rgba(255,220,140,.4) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play small{
  font-size:12px !important; letter-spacing:.08em !important; line-height:1 !important;
  color:#E7D7A4 !important; text-shadow:0 1px 0 #000 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play:hover{
  filter:brightness(1.08) !important;
  transform:translateX(-50%) translateY(-3px) !important;
  box-shadow:0 22px 34px rgba(0,0,0,.52), 0 0 34px rgba(226,180,74,.48) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play:active{
  transform:translateX(-50%) translateY(1px) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet{
  display:flex !important; align-items:center !important; justify-content:flex-start !important; gap:8px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet strong{margin-right:auto !important; line-height:1 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #coinShopBtn{
  margin:0 !important; align-self:center !important;
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  height:32px !important; min-height:32px !important; padding:0 16px !important;
  line-height:1 !important; letter-spacing:.04em !important; text-align:center !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-icons{z-index:46 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refPeople{pointer-events:auto !important; cursor:pointer !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn:hover,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #botBtn:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 26px 40px rgba(0,0,0,.55), 0 0 34px rgba(226,180,74,.42) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-chest b{
  display:flex !important; align-items:center !important; justify-content:center !important; gap:4px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .coin-mark{
  width:16px !important; height:16px !important; flex:0 0 16px !important; display:block !important;
  filter:drop-shadow(0 1px 0 rgba(0,0,0,.55));
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #chestCoins{font-style:normal !important; font-weight:900 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel{
  display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important; gap:1px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel b{
  position:relative !important; z-index:1 !important; font-size:13px !important; line-height:1 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel small{
  position:relative !important; z-index:1 !important; margin:0 !important;
  font-size:9px !important; letter-spacing:0 !important; font-weight:800 !important; line-height:1.1 !important;
  color:#5a2808 !important; text-shadow:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel small[hidden]{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize.ref-pulse{
  box-shadow:0 0 0 2px #F8E7B0, 0 0 34px rgba(226,180,74,.75) !important;
}
#salonPop .dm-face{
  width:34px; height:34px; border-radius:50%; object-fit:cover; flex:0 0 34px;
  border:1px solid rgba(243,212,138,.72); background:#1a1208;
}
#salonPop .dm-open,
#salonPop .dm-who{
  border:0; background:transparent; color:#ffe7a8; padding:0; margin:0; cursor:pointer;
  font:inherit; font-weight:800; text-align:left; box-shadow:none;
}
#salonPop .dm-open{width:34px; height:34px; border-radius:50%; flex:0 0 34px; overflow:hidden}
#salonPop .dm-who{font-size:15px; max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
#salonPop .dm-head .dm-who{font-size:16px; color:#fff6d4; max-width:220px}
#salonPop .friend-row.request [data-accept]{
  margin-left:auto; height:30px; padding:0 10px; border-radius:999px; border:0; cursor:pointer;
  background:linear-gradient(180deg,#ffe7a8,#e0a63a); color:#3a2208; font-weight:800; font-size:12px;
}
#salonPop .dm-line{display:flex; align-items:flex-end; gap:8px; width:100%}
#salonPop .dm-line.mine{flex-direction:row-reverse}
#salonPop .dm-line .dm-face{width:28px; height:28px; flex-basis:28px}
#salonPop .dm-line p{margin-left:0 !important; margin-right:auto !important}
#salonPop .dm-line.mine p{margin-left:auto !important; margin-right:0 !important}
@font-face{
  font-family:Cinzel; font-style:normal; font-weight:600; font-display:swap;
  src:url("../asset/fonts/cinzel-600.ttf") format("truetype");
}
@font-face{
  font-family:Cinzel; font-style:normal; font-weight:700; font-display:swap;
  src:url("../asset/fonts/cinzel-700.ttf") format("truetype");
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board),
body:has(.lobby-v12:not(.hidden)):has(.ref-board) button,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .jelly,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .nr-brand b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .nr-brand small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .gold-head small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rank-tabs button,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #profileName,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-coin,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play small{
  font-family:Cinzel, "Palatino Linotype", Palatino, serif !important;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play b{
  font-weight:700 !important; font-size:18px !important; letter-spacing:.16em !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-hero .jelly,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster .jelly{
  font-family:Cinzel, "Palatino Linotype", Palatino, serif !important;
  font-weight:700 !important; letter-spacing:.04em !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile{
  position:fixed !important; z-index:40 !important; left:14px !important; bottom:16px !important;
  width:196px !important; max-width:196px !important; height:68px !important; min-height:0 !important;
  display:flex !important; flex-direction:row !important; align-items:center !important; gap:8px !important;
  padding:6px 12px 6px 8px !important; margin:0 !important; cursor:pointer;
  background:#080808 !important; border-radius:0 !important;
  border:8px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 96 / 8px / 0 stretch !important;
  box-shadow:0 10px 18px rgba(0,0,0,.4) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile>img{
  width:36px !important; height:36px !important; border-radius:50% !important; flex:0 0 36px !important;
  object-fit:cover !important; border:1px solid #F8E7B0 !important; box-shadow:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .v12-profile-copy{
  display:flex !important; flex-direction:column !important; align-items:flex-start !important; justify-content:center !important;
  grid-template:none !important; gap:2px !important; min-width:0 !important; width:auto !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .v12-profile-copy small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .profile-badges,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #xpText,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #levelText,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .v12-profile-copy>i,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #profileBio{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #profileName{
  font-size:13px !important; font-weight:700 !important; letter-spacing:.03em !important; line-height:1.1 !important;
  max-width:128px !important; overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-coin{
  display:inline-flex !important; align-items:center !important; gap:4px !important;
  font-style:normal !important; font-weight:700 !important; font-size:12px !important; letter-spacing:.04em !important;
  color:#F8E7B0 !important; line-height:1 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-coin .coin-mark{width:14px !important; height:14px !important; flex:0 0 14px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-coin i{display:inline !important; font-style:normal !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel{left:224px !important; bottom:18px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-chest{left:306px !important; bottom:26px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{left:404px !important; width:128px !important}
#salonPop .friend-row:not(.request){cursor:pointer}
#salonPop .friend-row:not(.request){cursor:pointer}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status:not(:first-child){
  background:#080808 !important;
  border:10px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 110 / 10px / 0 stretch !important;
  border-radius:0 !important;
  box-shadow:none !important;
  flex-direction:column !important; align-items:center !important; justify-content:center !important;
  gap:2px !important; padding:6px 16px !important;
  min-width:132px !important; min-height:62px !important; height:auto !important; width:auto !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status:not(:first-child) span,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status:not(:first-child) b{
  white-space:nowrap !important; line-height:1.1 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status:not(:first-child) span{color:#E7D7A4 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status:not(:first-child) b{color:#FFF6D4 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile{
  flex:0 0 auto !important; width:max-content !important; max-width:460px !important;
  padding:7px 16px 7px 8px !important;
  background:#080808 !important;
  border:13px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 62 / 13px / 0 stretch !important;
  border-radius:0 !important;
  box-shadow:0 12px 20px rgba(0,0,0,.4) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile.dock-profile{
  position:fixed !important; z-index:40 !important; left:14px !important; bottom:16px !important;
  flex:none !important; width:220px !important; max-width:220px !important; height:auto !important; min-height:72px !important;
  padding:8px 14px 8px 8px !important; overflow:visible !important;
  border:8px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 96 / 8px / 0 stretch !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-coin{
  display:flex !important; align-items:center !important; gap:5px !important;
  margin:0 !important; padding:0 !important; position:static !important;
  font-style:normal !important; font-weight:700 !important; font-size:13px !important; letter-spacing:.03em !important;
  color:#F8E7B0 !important; line-height:1 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-chest{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel{left:248px !important; bottom:18px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{left:332px !important; width:128px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status span,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-status b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #coinShopBtn{
  font-family:Cinzel, "Palatino Linotype", Palatino, serif !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-header{
  padding-right:252px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet{
  width:auto !important; max-width:none !important; overflow:visible !important; flex:0 0 auto !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #coinShopBtn{
  position:static !important; white-space:nowrap !important; flex:0 0 auto !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-dashboard{
  grid-template-columns:minmax(210px, 240px) minmax(0,1fr) minmax(340px, 380px) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .v12-player-list{
  gap:12px !important; padding:6px 4px 8px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player{
  grid-template-columns:48px minmax(0,1fr) auto !important;
  grid-template-areas:"ava copy btn" !important;
  gap:6px 12px !important; padding:16px 14px !important; min-height:0 !important;
  align-items:center !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .avatar-face,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .avatar-face img{
  width:46px !important; height:46px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player>div{
  display:flex !important; flex-direction:column !important; gap:3px !important; min-width:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player b{
  font-size:15px !important; line-height:1.2 !important;
  white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player small{
  display:block !important; font-size:12px !important; line-height:1.35 !important;
  white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .follow-btn{
  min-width:0 !important; height:32px !important; padding:0 14px !important;
  white-space:nowrap !important; align-self:center !important;
}
@media (max-width:1400px){
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-dashboard{
    grid-template-columns:minmax(170px, 200px) minmax(0,1fr) minmax(280px, 320px) !important;
  }
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-header{padding-right:236px !important}
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile.dock-profile{
  width:256px !important; max-width:256px !important;
  height:auto !important; min-height:118px !important;
  padding:18px 18px 20px 12px !important;
  align-items:center !important; overflow:hidden !important;
  border:12px solid transparent !important;
  border-image:url("../asset/lobby/black-plaque.jpg") 160 / 12px / 0 stretch !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .v12-profile-copy{gap:6px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #profileName{max-width:170px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .dock-coin{
  max-width:none !important; width:auto !important; font-size:14px !important;
  line-height:1.15 !important; padding:0 0 2px !important; overflow:visible !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel{left:286px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{left:372px !important; width:128px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #profileName{
  max-width:156px !important; margin:0 !important; font-size:13px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .dock-coin{
  max-width:156px !important; font-size:13px !important; letter-spacing:0 !important;
  white-space:nowrap !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .dock-coin i{
  display:inline !important; white-space:nowrap !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel{left:292px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{left:376px !important; width:128px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble{right:84px !important; bottom:20px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-dock{display:flex !important; align-items:center !important; gap:8px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-pop .salon-tabs button{font-size:11px !important; letter-spacing:0 !important; padding:0 2px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .landing{
  padding-bottom:120px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile.dock-profile{
  left:14px !important; bottom:16px !important;
  width:244px !important; max-width:244px !important;
  height:auto !important; min-height:0 !important; max-height:none !important;
  padding:12px 14px 12px 10px !important;
  border:1px solid #F8E7B0 !important;
  border-image:none !important;
  border-radius:12px !important;
  background:#070707 !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 4px rgba(196,146,46,.72), 0 12px 20px rgba(0,0,0,.45) !important;
  overflow:visible !important; align-items:center !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile>img{
  margin-top:2px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .v12-profile-copy{
  display:flex !important; flex-direction:column !important; justify-content:flex-start !important;
  align-items:flex-start !important; gap:6px !important; min-width:0 !important; height:auto !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #profileName{
  margin:0 !important; font-size:12px !important; line-height:1 !important; max-width:170px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .dock-coin{
  display:flex !important; align-items:center !important; gap:5px !important;
  height:auto !important; min-height:0 !important; max-width:none !important;
  margin:2px 0 0 !important; padding:0 !important;
  font-size:14px !important; font-weight:700 !important; line-height:1.15 !important; letter-spacing:0 !important;
  color:#F8E7B0 !important; overflow:visible !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .dock-coin i{
  display:inline !important; width:auto !important; height:auto !important; min-height:0 !important;
  margin:0 !important; padding:0 !important; border:0 !important; background:none !important;
  overflow:visible !important; font-style:normal !important; font-size:14px !important; line-height:1.15 !important;
  letter-spacing:0 !important; color:#F8E7B0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile.dock-profile{bottom:18px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel{
  position:fixed !important; left:276px !important; bottom:14px !important;
  width:84px !important; height:64px !important; padding:0 !important; border:0 !important; border-radius:0 !important;
  display:block !important; overflow:visible !important; z-index:45 !important;
  background:transparent !important; box-shadow:none !important; perspective:280px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel::before{content:none !important; animation:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest{
  position:absolute !important; left:4px !important; right:4px !important; bottom:0 !important; top:auto !important;
  height:64px !important; border-radius:0 !important; background:none !important;   transform-style:preserve-3d;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-body{
  position:absolute !important; left:0 !important; right:0 !important; bottom:0 !important; top:auto !important;
  height:36px !important; border-radius:5px 5px 12px 12px !important;   background:linear-gradient(180deg,#4a3416 0%, #1a1208 42%, #070604 100%) !important;
  border:1px solid #F8E7B0 !important;
  box-shadow:0 10px 16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,246,212,.35) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-band{
  position:absolute !important; left:-1px !important; right:-1px !important; top:13px !important; bottom:auto !important;
  height:8px !important; border-radius:0 !important;  overflow:hidden !important;
  background:linear-gradient(180deg,#FFF6D4,#E2B44A 42%,#8A5A18) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-band::after{
  content:""; position:absolute; top:0; bottom:0; width:22px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.8),transparent);
  animation:chestGleam 2.8s ease-in-out infinite;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-lock{
  position:absolute !important; left:50% !important; top:7px !important; right:auto !important; bottom:auto !important;
  width:16px !important; height:18px !important; margin-left:-8px !important; border-radius:4px !important;   background:linear-gradient(180deg,#FFF8DC,#C4922E 55%,#8A5A18) !important;
  box-shadow:0 0 0 2px #2a1c0c, 0 2px 0 #5a3c12 !important; z-index:2 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-lock::after{
  content:""; position:absolute; left:50%; top:8px; width:5px; height:5px; margin-left:-2.5px; border-radius:50%;
  background:#3a2208; box-shadow:inset 0 1px 0 rgba(255,246,212,.4);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-lid{
  position:absolute !important; left:-3px !important; right:-3px !important; bottom:30px !important; top:auto !important;
  height:28px !important; border-radius:0 !important; background:none !important;   transform-origin:center bottom; transform-style:preserve-3d; z-index:3 !important;
  transition:transform .48s cubic-bezier(.2,.75,.2,1);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-lid-face{
  position:absolute !important; inset:0 !important; border-radius:16px 16px 4px 4px !important;
  background:linear-gradient(180deg,#6a4a1c 0%, #2a1c0c 58%, #120c06 100%) !important;
  border:1px solid #F8E7B0 !important;
  box-shadow:inset 0 2px 0 rgba(255,246,212,.5), 0 4px 8px rgba(0,0,0,.35) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-lid-lip{
  position:absolute !important; left:10px !important; right:10px !important; bottom:5px !important; top:auto !important;
  height:5px !important; border-radius:2px !important;   background:linear-gradient(180deg,#FFF6D4,#C4922E) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-light{
  position:absolute !important; left:8px !important; right:8px !important; bottom:30px !important; top:auto !important;
  height:6px !important; border-radius:50% !important;  opacity:0;
  background:radial-gradient(ellipse at center, rgba(255,226,140,.95), rgba(255,180,40,0) 72%) !important;
  filter:blur(1px); transition:opacity .3s ease, height .4s ease, bottom .4s ease;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-coin{
  position:absolute !important; left:50% !important; bottom:34px !important; top:auto !important; right:auto !important;
  width:12px !important; height:12px !important; margin:0 !important; border-radius:50% !important;   background:radial-gradient(circle at 35% 32%, #FFF6D4, #C4922E 62%, #8A5A18) !important;
  box-shadow:0 0 0 1px #F8E7B0, 0 4px 6px rgba(0,0,0,.35) !important;
  opacity:0; transform:translateX(-50%) translateY(6px) scale(.6);
  transition:opacity .28s ease, transform .42s cubic-bezier(.2,.8,.2,1);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-coin.c1{margin-left:-16px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-coin.c3{margin-left:16px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play{
  bottom:8px !important;
  transition:transform .7s cubic-bezier(.22,1,.36,1), box-shadow .7s ease, filter .7s ease !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play::before{
  content:"" !important; position:absolute !important; z-index:0 !important; pointer-events:none !important;
  top:-45% !important; bottom:-45% !important; left:0 !important; width:38% !important;
  background:linear-gradient(100deg, transparent 0%, rgba(255,248,220,.05) 32%, rgba(255,244,206,.72) 50%, rgba(255,248,220,.05) 68%, transparent 100%) !important;
  transform:translateX(-220%) skewX(-16deg) !important;
  animation:playSheen 5.4s ease-in-out infinite !important;
  mix-blend-mode:screen;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play:hover{
  filter:brightness(1.05) !important;
  transform:translateX(-50%) translateY(-2px) !important;
  box-shadow:0 20px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(248,231,176,.45), 0 0 32px rgba(226,180,74,.42) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play:hover::before{animation-duration:2.2s !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play:hover b{
  color:#FFFDF2 !important;
  letter-spacing:.24em !important;
  text-shadow:0 2px 0 #1a1004, 0 0 16px rgba(255,226,150,.8) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play b,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play small{
  transition:color .6s ease, letter-spacing .6s ease, text-shadow .6s ease !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play:active{
  transform:translateX(-50%) translateY(1px) !important;
  box-shadow:0 8px 16px rgba(0,0,0,.45), 0 0 18px rgba(226,180,74,.28) !important;
}
@keyframes playSheen{
  0%, 42% { transform:translateX(-220%) skewX(-16deg); }
  68%, 100% { transform:translateX(340%) skewX(-16deg); }
}
@media (prefers-reduced-motion:reduce){
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play::before{animation:none !important; opacity:0 !important}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play,
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play b,
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play small{transition:none !important}
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:hover .chest-lid,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:focus-visible .chest-lid{transform:rotateX(-58deg)}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:hover .chest-light,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:focus-visible .chest-light{opacity:1; height:28px; bottom:34px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:hover .chest-coin,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:focus-visible .chest-coin{
  opacity:1; transform:translateX(-50%) translateY(-16px) scale(1);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:hover .chest-coin.c1,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:focus-visible .chest-coin.c1{transition-delay:.05s; transform:translateX(-50%) translateY(-22px) scale(1)}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:hover .chest-coin.c3,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:focus-visible .chest-coin.c3{transition-delay:.1s; transform:translateX(-50%) translateY(-18px) scale(1)}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .wheel-fly{
  position:absolute; left:50%; bottom:calc(100% + 8px); z-index:4;
  display:flex; flex-direction:column; align-items:center; gap:2px;
  min-width:156px; padding:10px 16px 12px; border-radius:16px;
  background:#0c0b09; border:1px solid #F8E7B0;
  box-shadow:0 0 0 3px rgba(196,146,46,.4), 0 18px 30px rgba(0,0,0,.5);
  opacity:0; pointer-events:none;
  transform:translateX(-50%) translateY(10px) scale(.94);
  transform-origin:bottom center;
  transition:opacity .24s ease .08s, transform .36s cubic-bezier(.2,.75,.2,1) .06s;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:hover .wheel-fly,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel:focus-visible .wheel-fly{
  opacity:1; transform:translateX(-50%) translateY(0) scale(1);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .wheel-fly i{
  font-style:normal; font-size:10px; letter-spacing:.16em; color:#E7D7A4; text-transform:uppercase;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .wheel-fly b{
  position:static !important; font-size:18px !important; line-height:1 !important; color:#FFF6D4 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .wheel-fly small{
  position:static !important; display:block !important; margin:0 !important;
  font-size:13px !important; font-weight:700 !important; letter-spacing:.04em !important; line-height:1.2 !important;
  color:#F8E7B0 !important; background:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel small[hidden]{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{
  left:auto !important; right:248px !important; bottom:30px !important; width:156px !important; height:40px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-icons{right:18px !important; bottom:26px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble{right:78px !important; bottom:26px !important}
@keyframes chestGleam{0%{left:-24px}55%,100%{left:88px}}
@media (prefers-reduced-motion:reduce){
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest,
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-band::after{animation:none}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-lid,
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .wheel-fly{transition:none}
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-wait{
  position:absolute !important; left:50% !important; top:-11px !important; z-index:6 !important;
  display:flex !important; align-items:center !important; gap:4px !important;
  height:22px !important; margin:0 !important; padding:0 8px 0 6px !important;
  border-radius:999px !important; background:#070707 !important; border:1px solid #F8E7B0 !important;
  box-shadow:0 0 0 3px rgba(196,146,46,.5) !important;
  transform:translateX(-50%) !important; white-space:nowrap !important; pointer-events:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-wait svg{
  width:12px !important; height:12px !important; flex:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-wait b{
  position:static !important; font-size:10px !important; font-weight:700 !important; line-height:1 !important;
  letter-spacing:.04em !important; color:#FFF6D4 !important; text-shadow:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-wait small{
  position:static !important; display:inline !important; margin:0 !important;
  font-size:11px !important; font-weight:700 !important; line-height:1 !important;
  letter-spacing:0 !important; font-variant-numeric:tabular-nums !important;
  color:#F8E7B0 !important; background:none !important; text-transform:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel .chest-wait small[hidden]{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel.is-ready .chest-wait{
  box-shadow:0 0 0 3px rgba(226,180,74,.75), 0 0 14px rgba(226,180,74,.45) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-icons{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble{right:18px !important; bottom:26px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble-btn b{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{
  left:auto !important; right:200px !important; bottom:24px !important;
  width:360px !important; height:52px !important; padding:0 8px !important; gap:8px !important;
  display:flex !important; align-items:center !important;
  border-radius:14px !important; border:1px solid #F8E7B0 !important; background:#070707 !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 4px rgba(196,146,46,.72), 0 12px 18px rgba(0,0,0,.4) !important;
  color:#F8E7B0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar .radio-title{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar select{
  flex:1 1 auto !important; min-width:150px !important; width:auto !important; max-width:none !important;
  height:32px !important; margin:0 !important; padding:0 8px !important;
  border-radius:8px !important; border:1px solid rgba(248,231,176,.45) !important;
  background:#111 !important; color:#F8E7B0 !important; font-size:11px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar button{
  flex:none !important; height:32px !important; min-height:32px !important; padding:0 10px !important;
  border-radius:8px !important; border:1px solid #F8E7B0 !important;
  background:linear-gradient(180deg,#FFF6D4,#C4922E) !important; color:#3a2208 !important;
  box-shadow:none !important; text-shadow:none !important; font-size:11px !important; font-weight:700 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar input{
  flex:none !important; width:72px !important; height:18px !important; margin:0 !important; accent-color:#C4922E;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel .rank-tabs{
  display:grid !important; grid-template-columns:1fr 1fr !important;
  gap:1px !important; margin:8px 0 10px !important; padding:5px !important;
  height:auto !important; max-height:none !important; overflow:hidden !important;
  border-radius:14px !important; border:1px solid #F8E7B0 !important;
  background:linear-gradient(180deg,#FFF6D4,#C4922E) !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 4px rgba(196,146,46,.62) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel .rank-tabs button{
  min-height:34px !important; height:auto !important; margin:0 !important; padding:6px 8px !important;
  border:0 !important; border-radius:10px !important; box-shadow:none !important;
  background:#0c0b09 !important; color:#E7D7A4 !important;
  font-size:11px !important; font-weight:700 !important; line-height:1.15 !important;
  letter-spacing:.02em !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel .rank-tabs button.on{
  background:linear-gradient(180deg,#FFF6D4,#C4922E) !important; color:#1A1208 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55) !important;
}
#salonPop .salon-tabs{overflow:visible !important}
#salonPop .salon-tabs button{overflow:visible !important}
#salonPop .salon-tabs .dm-count{
  position:absolute !important; top:-7px !important; right:-2px !important; margin:0 !important;
  min-width:18px !important; height:18px !important; padding:0 5px !important;
  border-radius:999px !important; background:#e23b4a !important; color:#fff !important;
  font-style:normal !important; font-size:10px !important; font-weight:800 !important;
  display:inline-grid !important; place-items:center !important; line-height:1 !important;
  box-shadow:0 0 0 2px #0c0b09 !important; z-index:2 !important;
}
#salonPop .salon-tabs .dm-count.hidden{display:inline-grid !important}
#salonPop .salon-tabs .dm-count.is-zero{
  background:#1a140c !important; color:#E7D7A4 !important;
  box-shadow:0 0 0 1px #F8E7B0, 0 0 0 2px #0c0b09 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-pop h3,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-pop .v12-subhead small{
  font-family:Cinzel, "Palatino Linotype", Palatino, serif !important;
  font-weight:700 !important; letter-spacing:.04em !important;
}
.gift-choice,.gift-cell{position:relative}
.gift-choice .gift-cost{
  display:flex; align-items:center; justify-content:center; gap:3px;
  margin-top:2px; font-size:10px; font-weight:700; letter-spacing:0; text-transform:none;
  color:#5c3a12; line-height:1;
}
.gift-choice .gift-cost .coin-mark{width:11px; height:11px; display:block; flex:none}
.player-user{display:block; color:#E7C36A; font-size:11px; letter-spacing:.02em}
.stack-n,.gift-stack-go{
  font-style:normal;
}
.gift-choice .stack-n,.gift-cell .stack-n{
  position:absolute; top:-6px; right:-4px; z-index:2;
  min-width:20px; height:20px; padding:0 5px; border-radius:999px;
  display:grid; place-items:center;
  background:#e23b4a; color:#fff; font-size:11px; font-weight:800;
  box-shadow:0 0 0 2px #0c0b09;
}
.gift-stack-go{margin:10px 0 0 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-pop{
  width:min(340px, calc(100vw - 24px));
  max-height:min(460px, calc(100vh - 120px));
  display:flex; flex-direction:column; gap:8px;
  padding:12px; border-radius:18px;
  background:#080808; color:#F8E7B0;
  border:1px solid #F8E7B0;
  box-shadow:0 0 0 3px rgba(196,146,46,.45), 0 18px 36px rgba(0,0,0,.5);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-pop.hidden{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-pop .v12-subhead{margin:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-pop .v12-subhead h3,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-pop .v12-subhead small{
  font-family:Cinzel, "Palatino Linotype", Palatino, serif;
  color:#F8E7B0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-pop .v12-subhead button{
  width:32px; height:32px; border-radius:50%; border:1px solid #F8E7B0;
  background:#080808; color:#F8E7B0; cursor:pointer;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-tabs{display:grid; grid-template-columns:1fr 1fr 1fr; gap:4px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-tabs button{
  height:32px; border-radius:999px; border:1px solid rgba(248,231,176,.4);
  background:#111; color:#E7D7A4; font-size:12px; font-weight:800; cursor:pointer;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-tabs button.on{
  background:linear-gradient(180deg,#FFF6D4,#C4922E); color:#3a2208; border-color:#F8E7B0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-add{display:grid; grid-template-columns:1fr auto; gap:6px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-add.hidden{display:none}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-add input,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-add button{
  height:34px; border-radius:10px; border:1px solid rgba(248,231,176,.45); background:#111; color:#F8E7B0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-add button{
  padding:0 12px; background:linear-gradient(180deg,#FFF6D4,#C4922E); color:#3a2208; font-weight:800; cursor:pointer;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-list{
  display:flex; flex-direction:column; gap:6px; min-height:120px; overflow:auto;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-row{
  display:flex; align-items:center; gap:8px; min-height:46px; padding:6px 8px;
  border-radius:14px; background:rgba(255,255,255,.04); border:1px solid transparent;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-row img{width:32px; height:32px; border-radius:50%; object-fit:cover}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-row b{display:block; color:#fff6d4; font-size:13px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-row small{color:#CDB892; font-size:11px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-row .who{flex:1; min-width:0; text-align:left; background:none; border:0; color:inherit; cursor:pointer}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-row .friend-on{width:8px; height:8px; border-radius:50%; background:#3dcc32; flex:none}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-row button.act{
  height:28px; padding:0 10px; border-radius:999px; border:1px solid #F8E7B0;
  background:linear-gradient(180deg,#FFF6D4,#C4922E); color:#3a2208; font-size:12px; font-weight:800; cursor:pointer;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .circle-empty{padding:16px 8px; color:#CDB892; text-align:center}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #circleBtn svg circle,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #circleBtn svg path{fill:#F8E7B0 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn{
  align-items:stretch !important; justify-content:flex-start !important; cursor:default !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn:hover{transform:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-pad,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-wait{
  position:relative; z-index:3; width:100%; box-sizing:border-box;
  margin-top:auto; padding:0 6px 4px;
  display:flex; flex-direction:column; align-items:stretch; gap:6px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-pad.hidden,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-wait.hidden{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-stakes{
  display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); gap:4px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-stakes button{
  height:28px; padding:0; border-radius:999px; cursor:pointer;
  border:1px solid rgba(248,231,176,.45); background:#080808; color:#F8E7B0;
  font-size:11px; font-weight:800;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-stakes button.on{
  background:linear-gradient(180deg,#FFF6D4,#C4922E); color:#3a2208; border-color:#F8E7B0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-modes{
  display:flex; justify-content:center; gap:6px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-fold{
  align-self:center; display:flex; align-items:center; gap:6px; height:28px; padding:0 12px;
  border-radius:999px; border:1px solid rgba(248,231,176,.45); background:#080808; color:#F8E7B0;
  font-size:12px; font-weight:800; cursor:pointer;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-fold:has(input:checked){
  background:linear-gradient(180deg,#FFF6D4,#C4922E); color:#3a2208; border-color:#F8E7B0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-fold input{accent-color:#C4922E}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #matchGo{
  width:100% !important; min-height:40px !important; margin:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-private{
  align-self:center; height:auto; padding:0; border:0; background:none; color:#CDB892;
  font-size:11px; font-weight:700; text-decoration:underline; cursor:pointer;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-wait{align-items:center; text-align:center; color:#F8E7B0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-wait b{
  font-family:Cinzel, "Palatino Linotype", Palatino, serif; font-size:28px; line-height:1; color:#FFF6D4;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-wait small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-wait span{color:#E7D7A4; font-size:12px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #matchCancel{
  height:32px; padding:0 16px; border-radius:999px; cursor:pointer;
  border:1px solid #F8E7B0; background:#080808; color:#F8E7B0; font-weight:800;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .pair-invite{
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .pair-invite.hidden{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .pair-invite input,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .pair-invite button{
  height:32px; border-radius:999px; border:1px solid rgba(248,231,176,.45);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .pair-invite input{
  min-width:0; padding:0 10px; background:#080808; color:#F8E7B0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .pair-invite button{
  padding:0 12px; cursor:pointer; font-weight:800;
  background:linear-gradient(180deg,#FFF6D4,#C4922E); color:#3a2208; border-color:#F8E7B0;
}
.pair-desk{
  position:fixed; inset:0; z-index:80; display:grid; place-items:center;
  background:rgba(0,0,0,.62); padding:24px;
}
.pair-desk.hidden{display:none !important}
.pair-card{
  width:min(460px, calc(100vw - 32px));
  display:flex; flex-direction:column; gap:10px; padding:16px;
  background:#080808; color:#F8E7B0;
  border:1px solid #F8E7B0;
  box-shadow:0 0 0 3px rgba(196,146,46,.45), 0 24px 48px rgba(0,0,0,.55);
}
.pair-head{display:flex; align-items:center; justify-content:space-between; gap:8px}
.pair-head h3{margin:0; font-family:Cinzel, "Palatino Linotype", Palatino, serif; color:#FFF6D4}
.pair-head small{color:#CDB892; letter-spacing:.12em}
.pair-head button{
  width:32px; height:32px; border-radius:50%; border:1px solid #F8E7B0;
  background:#080808; color:#F8E7B0; cursor:pointer;
}
.pair-seats{display:grid; grid-template-columns:1fr 28px 1fr; align-items:center; gap:8px}
.pair-seat{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  min-height:118px; padding:10px; border-radius:16px;
  border:1px dashed rgba(248,231,176,.35); background:#101010; text-align:center;
}
.pair-seat img{width:52px; height:52px; border-radius:50%; object-fit:cover; background:#1a1a1a}
.pair-seat b{color:#FFF6D4; font-size:14px}
.pair-seat small{color:#CDB892; font-size:11px}
.pair-seat.is-in{
  border-style:solid; border-color:#F8E7B0;
  box-shadow:0 0 0 3px rgba(226,180,74,.45), 0 0 22px rgba(226,180,74,.35);
  animation:pairArrive .7s ease;
}
.pair-bridge{height:2px; background:linear-gradient(90deg, transparent, #F8E7B0, transparent)}
.pair-log{
  height:120px; overflow:auto; display:flex; flex-direction:column; gap:4px;
  padding:8px; border-radius:12px; background:#101010; color:#E7D7A4; font-size:13px;
}
.pair-log p{margin:0}
.pair-log b{color:#FFF6D4}
.pair-empty{color:#CDB892}
.pair-form{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px}
.pair-form input,.pair-form button,.pair-voice button,#pairOpen{
  height:36px; border-radius:999px; border:1px solid rgba(248,231,176,.45);
}
.pair-form input{min-width:0; padding:0 12px; background:#111; color:#F8E7B0}
.pair-form button,#pairOpen{
  padding:0 14px; cursor:pointer; font-weight:800;
  background:linear-gradient(180deg,#FFF6D4,#C4922E); color:#3a2208; border-color:#F8E7B0;
}
#pairOpen:disabled{opacity:.45; cursor:default}
.pair-voice{display:flex; flex-wrap:wrap; align-items:center; gap:6px}
.pair-voice .voice-peers{flex:1 1 100%; color:#CDB892; font-size:12px}
.pair-voice button{padding:0 10px; background:#111; color:#F8E7B0; cursor:pointer; font-weight:700}
.pair-voice button.on{background:linear-gradient(180deg,#FFF6D4,#C4922E); color:#3a2208}
.wait-slot.is-mate{box-shadow:0 0 0 2px #F8E7B0, 0 0 16px rgba(226,180,74,.45)}
@keyframes pairArrive{from{transform:scale(.92)}to{transform:scale(1)}}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) #quickBtn.hit-play{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #matchGo.match-hero{
  position:relative !important; display:flex !important; align-items:center !important; justify-content:center !important;
  width:100% !important; height:100% !important; min-height:0 !important; padding:0 !important; margin:0 !important;
  cursor:pointer !important; appearance:none !important; font:inherit !important; color:#FFF6D4 !important;
  background:#0B1422 !important; text-align:center !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #matchGo.match-hero:hover{
  filter:brightness(1.06);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-plaque{
  position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  width:min(92%, 460px); aspect-ratio:880 / 192; padding:0 18%;
  background:url("../asset/lobby/play-plaque.png?v=3") center / 100% 100% no-repeat;
  filter:drop-shadow(0 16px 22px rgba(0,0,0,.5));
  pointer-events:none;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-plaque b{
  font-size:clamp(18px, 1.6vw, 26px); letter-spacing:.2em; line-height:1; color:#FFF6D4;
  text-shadow:0 2px 0 #1a1004, 0 0 12px rgba(255,220,140,.45);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-plaque small{
  font-size:12px; letter-spacing:.06em; color:#E7D7A4; text-shadow:0 1px 0 #000;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #matchGo.is-waiting .match-plaque{
  filter:drop-shadow(0 0 18px rgba(226,180,74,.75));
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .main-game-cards{
  grid-template-columns:minmax(0,1fr) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-dock{
  position:relative; z-index:3; width:100%; margin-top:auto; box-sizing:border-box;
  display:grid; grid-template-columns:minmax(0,1.15fr) minmax(220px,.9fr);
  gap:8px 16px; align-items:center; padding:0 8px 6px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-side{
  min-width:0; display:flex; flex-direction:column; justify-content:flex-end;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-pad,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-wait{
  margin-top:0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn #matchGo.match-hero{
  height:auto !important; min-height:0 !important; align-self:center !important;
  background:transparent !important; border:0 !important; border-image:none !important;
  box-shadow:none !important; animation:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-plaque{
  width:100%;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn{background:#06140f !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .ref-rack{
  object-position:center 0% !important;
  filter:saturate(1.05) contrast(1.04) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .felt-show{
  position:absolute; z-index:2; pointer-events:none;
  left:7%; right:7%; top:34%;
  display:flex; justify-content:space-between; align-items:flex-end; gap:10px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .felt-meld{
  display:flex; align-items:flex-end;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .felt-tile{
  display:block; width:40px; height:57px; margin-left:3px; border-radius:4px;
  background:#fff url("../asset/Taslar.png") no-repeat;
  background-size:520px 285px;
  background-position:calc(var(--n) * -40px) calc(var(--c) * -57px);
  box-shadow:0 8px 12px rgba(0,0,0,.42), 0 0 0 1px rgba(90,60,20,.35);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .felt-meld .felt-tile:first-child{margin-left:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn::after{
  background:linear-gradient(180deg, rgba(4,8,10,.2) 0 14%, rgba(4,8,10,0) 30% 46%, rgba(3,8,7,.72) 64%, rgba(3,6,5,.94) 80% 100%) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .match-links{
  display:flex; justify-content:center; gap:14px;
}
.rack-shop{display:grid !important; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px}
.rack-card{
  display:flex; flex-direction:column; gap:4px; min-width:0; padding:8px; text-align:left; cursor:pointer;
  border-radius:14px; background:#080808; color:#F8E7B0; border:1px solid rgba(248,231,176,.35);
}
.rack-card b{display:block; font-size:12px; color:#FFF6D4}
.rack-card small{color:#CDB892; font-size:10px}
.rack-card.equipped{border-color:#F8E7B0; box-shadow:0 0 0 2px rgba(226,180,74,.5)}
.rack-swatch{
  display:block; height:42px; border-radius:8px;
  background-image:linear-gradient(180deg, rgba(255,236,190,.28), rgba(0,0,0,.25)), url("../asset/istaka.jpg");
  background-size:cover; background-position:center;
  box-shadow:inset 0 0 0 2px #C4922E, inset 0 0 0 5px #2A160C;
}
.rack-card.frame-pearl .rack-swatch{background-image:linear-gradient(180deg, rgba(255,210,226,.55), rgba(80,20,40,.28)), url("../asset/istaka.jpg"); box-shadow:inset 0 0 0 3px #ffd0e4}
.rack-card.frame-night .rack-swatch{background-image:linear-gradient(180deg, rgba(40,30,90,.62), rgba(8,8,20,.4)), url("../asset/istaka.jpg"); box-shadow:inset 0 0 0 3px #9a8cff}
.rack-card.frame-gold .rack-swatch{background-image:linear-gradient(180deg, rgba(255,220,140,.5), rgba(80,50,10,.28)), url("../asset/istaka.jpg"); box-shadow:inset 0 0 0 3px #f2c14d, 0 0 12px rgba(242,193,77,.45)}
.rack-card.frame-diamond .rack-swatch{background-image:linear-gradient(180deg, rgba(190,240,255,.55), rgba(10,30,50,.35)), url("../asset/istaka.jpg"); box-shadow:inset 0 0 0 3px #b9f3ff}
.rack-card.frame-ruby .rack-swatch{background-image:linear-gradient(180deg, rgba(160,20,40,.55), rgba(40,0,10,.4)), url("../asset/istaka.jpg"); box-shadow:inset 0 0 0 3px #ff5d7a}
.rack-card.frame-king .rack-swatch{background-image:linear-gradient(180deg, rgba(20,12,8,.2), rgba(0,0,0,.45)), url("../asset/istaka.jpg"); box-shadow:inset 0 0 0 2px #F8E7B0, inset 0 0 0 5px #7a5a12, 0 0 14px rgba(248,214,110,.45)}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-dock{
  flex:1; min-width:0; display:flex; align-items:center; gap:10px; margin:0 14px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-crest{
  display:grid; place-items:center; width:36px; height:36px; flex:0 0 36px; border-radius:50%;
  font-style:normal; font-family:Cinzel,serif; font-size:16px; color:#2a1608;
  background:radial-gradient(circle at 35% 30%, #fff6d0, #e7c36a 48%, #8a5a16);
  box-shadow:0 0 0 2px rgba(248,214,110,.45);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #leagueMark{
  display:grid; place-items:center; width:16px; height:16px; flex:0 0 16px; border-radius:50%;
  font-style:normal; font-family:Cinzel,serif; font-size:10px; color:#2a1608;
  background:radial-gradient(circle at 35% 30%, #fff6d0, #e7c36a 48%, #8a5a16);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-copy{min-width:0; display:flex; flex-direction:column; gap:2px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #leagueDockName{
  color:#FFF6D4 !important; font-size:14px; letter-spacing:.04em; line-height:1.1; white-space:nowrap;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #leagueDockMeta{
  color:#CDB892 !important; font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-bar{
  display:block; height:4px; width:140px; border-radius:99px; background:rgba(255,255,255,.12); overflow:hidden;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #leagueDockFill{
  display:block; height:100%; width:8%; background:linear-gradient(90deg, #8a5a16, #f8e7b0);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-peers{
  display:flex; gap:6px; min-width:0; overflow:hidden;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-peer{
  display:flex; align-items:center; gap:6px; max-width:150px; padding:4px 8px 4px 4px;
  border-radius:999px; border:1px solid rgba(248,231,176,.35); background:rgba(8,8,8,.55); color:#F8E7B0; cursor:pointer;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-peer img{width:22px; height:22px; border-radius:50%; object-fit:cover}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-peer b{font-size:11px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-peer small{color:#E7C36A; font-size:10px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-peers .alone{color:#CDB892; font-size:11px; white-space:nowrap}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #leagueBadge.league-pill{
  display:inline-flex !important; align-items:center; gap:6px; padding-right:8px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #leagueBadge.league-pill b{font-size:11px; font-weight:800; color:#FFF6D4}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #leagueBadge.league-pill small{font-size:10px; color:#E7C36A}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-word{
  display:block !important; line-height:1 !important; margin:8px auto 0;
  font-family:Cinzel, "Times New Roman", serif; font-weight:700; font-size:48px; letter-spacing:.18em !important;
  text-transform:uppercase;
  background:linear-gradient(#fff8dc, #e7c36a 42%, #8d6420) !important;
  -webkit-background-clip:text !important; background-clip:text !important;
  -webkit-text-fill-color:transparent !important; color:transparent !important;
  filter:drop-shadow(0 2px 0 #3a2808) drop-shadow(0 8px 12px rgba(0,0,0,.7)) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .seat-ring{
  position:absolute; z-index:4; left:5%; right:44%; top:52%;
  display:flex; justify-content:space-between; gap:8px; pointer-events:auto;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat{
  position:relative; width:64px; min-height:64px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  border-radius:18px; border:1px solid rgba(248,231,176,.45); background:rgba(6,8,7,.72); color:#F8E7B0; cursor:pointer;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat img{
  width:28px; height:28px; border-radius:50%; object-fit:cover;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat small{
  font-size:10px; line-height:1.1; color:#F8E7B0 !important; max-width:60px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat input{
  display:none; width:58px; border:0; background:transparent; color:#FFF6D4; text-align:center; font-size:10px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat.is-ask input{display:block}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat.is-ask small{display:none}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat.is-me{box-shadow:0 0 0 2px rgba(226,180,74,.7)}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat.is-wait{opacity:.72}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .profile-badges{
  display:flex !important; margin:0 !important; gap:0 !important; overflow:visible !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile .profile-badges em{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #leagueBadge.league-pill{
  display:inline-flex !important; align-items:center; gap:4px; padding:1px 7px 1px 2px !important;
  border-radius:999px !important; background:rgba(8,8,8,.72) !important; border:1px solid rgba(248,231,176,.4) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #leagueBadge.league-pill b{display:inline !important; font-size:10px !important; color:#FFF6D4 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #leaguePoints{display:inline !important; font-size:10px !important; color:#E7C36A !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .dock-profile #leagueMark{display:grid !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect{
  width:100% !important; min-width:0 !important; max-width:none !important; align-self:stretch !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn{
  background:radial-gradient(120% 78% at 50% 36%, #1c5c44 0%, #0e2c22 48%, #07140f 100%) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .ref-rack{opacity:0 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat{width:86px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat small{
  max-width:78px !important; font-size:12px !important; white-space:normal !important; text-align:center;
  font-family:Cinzel, "Palatino Linotype", Palatino, serif !important;
  font-weight:700 !important; letter-spacing:.04em !important; color:#F8E7B0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat.is-ask{
  flex:1 1 168px; width:auto; min-width:158px;
  background:rgba(6,10,8,.92);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat.is-ask input{
  display:block; width:100%; background:transparent; color:#F8E7B0;
  font-family:Cinzel, "Palatino Linotype", Palatino, serif !important;
  font-size:12px !important; font-weight:700 !important; letter-spacing:.03em !important; text-align:center;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat input::placeholder{
  font-family:Cinzel, "Palatino Linotype", Palatino, serif !important;
  color:#E7C36A !important; opacity:1; letter-spacing:.03em;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .felt-show{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-word{
  font-family:Cinzel, "Palatino Linotype", Palatino, serif !important;
  font-weight:900 !important;
  letter-spacing:.14em !important;
  line-height:1 !important;
  color:#F8E7B0 !important;
  background:none !important;
  -webkit-text-fill-color:#F8E7B0 !important;
  filter:none !important;
  text-shadow:
    0 1px 0 #fff6d2,
    0 2px 0 #e7c36a,
    0 3px 0 #b8892d,
    0 4px 0 #7a5a12,
    0 6px 0 #3a2408 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-plaque b{
  font-family:Cinzel, "Palatino Linotype", Palatino, serif !important;
  font-weight:900 !important;
  letter-spacing:.22em !important;
  color:#FFF6D4 !important;
  text-shadow:0 1px 0 #fff, 0 2px 0 #e7c36a, 0 4px 0 #7a5a12 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #matchWait.is-on{
  color:#F8E7B0 !important;
  text-shadow:0 1px 0 #7a5a12;
}
.gift-rail{
  display:flex; align-items:center; min-width:0; max-width:420px; height:36px; margin-left:12px;
  padding:0 14px; border:1px solid #E7C36A; border-radius:999px;
  background:linear-gradient(180deg,#2a160e,#120c08);
  color:#F8E7B0; font-family:Cinzel, Palatino, serif; cursor:pointer;
}
.gift-rail b{
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:12px; font-weight:700; letter-spacing:.03em;
}
.all-chat{position:fixed; left:430px; bottom:22px; z-index:40; width:min(380px, calc(100vw - 820px)); min-width:240px}
.all-chat-peek, #allChatPeekBtn{
  width:100%; text-align:left; border:1px solid #E7C36A; border-radius:16px;
  background:linear-gradient(180deg,#24140e,#100c08); color:#F8E7B0;
  font-family:Cinzel, Palatino, serif; padding:8px 14px; cursor:pointer;
}
#allChatPeekBtn small{display:block; font-size:10px; letter-spacing:.18em; color:#E7C36A}
#allChatPeek{display:block; margin-top:2px; font-size:13px; filter:blur(2.4px); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.all-chat.is-open #allChatPeek{filter:none}
.all-chat-pop{
  position:absolute; left:0; right:0; bottom:64px; height:320px;
  display:flex; flex-direction:column; border:1px solid #E7C36A; border-radius:18px;
  background:linear-gradient(180deg,#1a100c,#0c0908); box-shadow:0 18px 40px rgba(0,0,0,.45);
  font-family:Cinzel, Palatino, serif; color:#F8E7B0;
}
.all-chat-head{display:flex; justify-content:space-between; align-items:center; padding:8px 12px; border-bottom:1px solid rgba(231,195,106,.35)}
.all-chat-head button{background:transparent; color:#F8E7B0; border:0; font-size:20px; cursor:pointer}
.all-chat-log{flex:1; overflow:auto; padding:8px}
.all-chat form{display:flex; flex-wrap:wrap; gap:6px; padding:8px}
.all-chat .emoji-row,.emoji-row{width:100%; flex-wrap:wrap}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble{
  position:fixed !important; left:818px !important; right:auto !important; bottom:22px !important; z-index:43 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-dock{
  position:static !important; left:auto !important; right:auto !important; bottom:auto !important;
  display:flex !important; align-items:center !important; gap:8px !important;
}
.all-chat .emoji-row button.is-pop{animation:emojiPop .45s ease}
@keyframes emojiPop{40%{transform:translateY(-8px) scale(1.35)}}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #matchGo.is-waiting .match-plaque{
  animation:matchPulse 1.3s ease-in-out infinite;
}
@keyframes matchPulse{50%{filter:brightness(1.18)}}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-row{
  border:1px solid rgba(231,195,106,.45) !important;
  background:linear-gradient(180deg,#24160f,#100c08) !important;
  font-family:Cinzel, Palatino, serif !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-list .league-row:first-child{
  box-shadow:0 0 0 1px #E7C36A, 0 8px 18px rgba(0,0,0,.35) !important;
}
.figure-dock{position:fixed; left:196px; bottom:24px; z-index:41; display:flex; align-items:flex-end; gap:6px}
.figure{display:block; width:56px; height:80px}
.figure .fig-leg,.figure .fig-arm,.figure .fig-body,.figure .fig-head{transform-box:fill-box; transform-origin:50% 0%}
.figure.is-stand .fig-body{animation:figBreathe 2.6s ease-in-out infinite}
.figure.is-walk{animation:figPace 5.6s ease-in-out infinite}
.figure.is-walk .fig-svg{animation:figFace 5.6s steps(2, end) infinite; transform-origin:center}
.figure.is-walk .fig-body{animation:figBob .36s ease-in-out infinite}
.figure.is-walk .fig-leg-l{animation:figLegL .72s ease-in-out infinite}
.figure.is-walk .fig-leg-r{animation:figLegR .72s ease-in-out infinite}
.figure.is-walk .fig-arm-l{animation:figArmL .72s ease-in-out infinite}
.figure.is-walk .fig-arm-r{animation:figArmR .72s ease-in-out infinite}
.figure.is-walk .fig-head{animation:figHair .72s ease-in-out infinite}
.figure.is-sit .fig-leg-l{transform:rotate(72deg)}
.figure.is-sit .fig-leg-r{transform:rotate(-72deg)}
.figure.is-sit .fig-arm-l,.figure.is-sit .fig-arm-r{transform:rotate(8deg)}
.figure.is-sit{transform:translateY(10px)}
@keyframes figPace{0%,100%{transform:translateX(0)}50%{transform:translateX(110px)}}
@keyframes figFace{0%{transform:scaleX(1)}50%{transform:scaleX(-1)}100%{transform:scaleX(1)}}
@keyframes figBreathe{50%{transform:translateY(1.5px)}}
@keyframes figBob{50%{transform:translateY(-3px)}}
@keyframes figLegL{0%,100%{transform:rotate(-24deg)}50%{transform:rotate(26deg)}}
@keyframes figLegR{0%,100%{transform:rotate(24deg)}50%{transform:rotate(-26deg)}}
@keyframes figArmL{0%,100%{transform:rotate(18deg)}50%{transform:rotate(-20deg)}}
@keyframes figArmR{0%,100%{transform:rotate(-18deg)}50%{transform:rotate(20deg)}}
@keyframes figHair{50%{transform:rotate(-3deg)}}
body:has(.lobby-v12) button,
body:has(.lobby-v12) input,
body:has(.lobby-v12) select,
body:has(.lobby-v12) textarea,
body:has(.lobby-v12) label,
body:has(.lobby-v12) h1,
body:has(.lobby-v12) h2,
body:has(.lobby-v12) h3,
body:has(.lobby-v12) p,
body:has(.lobby-v12) small,
body:has(.lobby-v12) a,
body:has(.lobby-v12) li,
body:has(.lobby-v12) span{
  font-family:Cinzel, "Palatino Linotype", Palatino, serif !important;
}
.figure-dock button,.look-studio button,.look-studio select{font-family:Cinzel,Palatino,serif; background:#1a100c; color:#F8E7B0; border:1px solid #E7C36A; border-radius:8px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .figure-dock{
  position:fixed !important; left:392px !important; bottom:16px !important; z-index:44 !important;
  width:164px !important; height:78px !important; padding:6px 8px !important; gap:8px !important;
  display:flex !important; align-items:flex-end !important; box-sizing:border-box !important;
  background:#070707 !important; border:1px solid #F8E7B0 !important; border-radius:12px !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 4px rgba(196,146,46,.72), 0 12px 20px rgba(0,0,0,.45) !important;
  overflow:hidden !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .figure-dock .figure{
  width:46px !important; height:66px !important; flex:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .figure-dock > div{
  display:flex !important; flex-direction:column !important; gap:3px !important; flex:1 !important; min-width:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .figure-dock button{
  width:100% !important; height:20px !important; padding:0 !important; margin:0 !important;
  font-size:10px !important; letter-spacing:.08em !important; line-height:20px !important;
  white-space:nowrap !important; border-radius:6px !important;
  background:#14100c !important; color:#F8E7B0 !important; border:1px solid rgba(231,195,106,.75) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .figure.is-walk{
  animation:figPaceTight 5.6s ease-in-out infinite !important;
}
@keyframes figPaceTight{0%,100%{transform:translateX(0)}50%{transform:translateX(16px)}}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat{
  left:568px !important; bottom:16px !important; width:270px !important; min-width:0 !important; z-index:42 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeekBtn{
  height:78px !important; box-sizing:border-box !important; padding:14px 16px !important;
  background:#070707 !important; border:1px solid #F8E7B0 !important; border-radius:12px !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 4px rgba(196,146,46,.72), 0 12px 20px rgba(0,0,0,.45) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeek{
  filter:blur(1.4px); opacity:.9;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble{
  position:fixed !important; left:852px !important; right:auto !important; bottom:30px !important; z-index:43 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble-btn{
  width:46px !important; height:46px !important; border-radius:12px !important;
  background:#070707 !important; border:1px solid #F8E7B0 !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 3px rgba(196,146,46,.72) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hall-balloon{
  right:18px !important; bottom:90px !important; width:auto !important; height:36px !important;
  padding:0 16px !important; border-radius:12px !important;
  background:#070707 !important; color:#F8E7B0 !important; border:1px solid #F8E7B0 !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 3px rgba(196,146,46,.55) !important;
  letter-spacing:.16em !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .gift-rail{
  height:40px !important; border-radius:12px !important; border:1px solid #F8E7B0 !important;
  background:#070707 !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 3px rgba(196,146,46,.55) !important;
}
@media (max-width:1500px){
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat{left:540px !important; width:210px !important}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble{left:762px !important}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble-btn{width:40px !important; height:40px !important}
}
.hall-pop{position:fixed; right:22px; bottom:132px; z-index:46; width:392px}
.hall-card{
  background:#070707 !important; color:#F8E7B0 !important; font-family:Cinzel,Palatino,serif !important;
  border:1px solid #F8E7B0 !important; border-radius:14px !important; padding:14px !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 4px rgba(196,146,46,.72), 0 22px 40px rgba(0,0,0,.55) !important;
}
.hall-card header{display:flex; justify-content:space-between; align-items:center; padding-bottom:10px; border-bottom:1px solid rgba(231,195,106,.35)}
.hall-card header small{display:block; letter-spacing:.22em; font-size:10px; color:#E7C36A}
.hall-card header b{font-size:18px; letter-spacing:.06em; color:#FFF6D4}
.hall-card input{
  flex:1; min-width:0; height:40px; padding:0 12px;
  background:#120c08 !important; color:#F8E7B0 !important;
  border:1px solid #E7C36A !important; border-radius:10px !important;
}
.hall-card button{
  background:#14100c !important; color:#F8E7B0 !important;
  border:1px solid #E7C36A !important; border-radius:10px !important; cursor:pointer;
  font-family:Cinzel,Palatino,serif !important;
}
.hall-card form{display:flex; gap:8px; width:100%; margin-top:10px}
.hall-card form button{height:40px; padding:0 14px; white-space:nowrap; background:#E7C36A !important; color:#2a160e !important}
.hall-list{display:flex; flex-direction:column; gap:8px; margin-top:10px}
.hall-list button{display:flex; flex-direction:column; align-items:flex-start; width:100%; padding:10px 12px; text-align:left; background:#120c08 !important}
.hall-list small{color:#E7C36A; font-size:11px}
#hallLog{min-height:96px; max-height:160px; overflow:auto; margin-top:8px; padding:8px 10px; background:#100c08; border:1px solid rgba(231,195,106,.4); border-radius:10px}
#hallStaff{flex-direction:column}
.hall-actions{display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; width:100%}
.hall-card .hall-actions button{height:40px; padding:0 4px; font-size:11px; white-space:nowrap; background:#14100c !important; color:#F8E7B0 !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-word{
  background:linear-gradient(180deg,#fffef8 0%,#fff6d2 22%,#e7c36a 48%,#a87422 74%,#4a2e0c 100%) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
  color:transparent !important;
  text-shadow:none !important;
  filter:drop-shadow(0 1px 0 #fff6d2) drop-shadow(0 2px 0 #c4922e) drop-shadow(0 4px 0 #6a4510) drop-shadow(0 6px 0 #241408) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat-pop{
  background:#070707 !important;
  border:1px solid #F8E7B0 !important;
  border-radius:14px !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 4px rgba(196,146,46,.72), 0 22px 40px rgba(0,0,0,.55) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .lobby-line{
  display:flex !important; gap:8px; align-items:flex-start;
  margin:0 0 6px; padding:8px;
  background:#120c08; border:1px solid rgba(231,195,106,.4); border-radius:12px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .chat-avatar{
  width:36px !important; height:36px !important; flex:0 0 36px;
  border-radius:50% !important; overflow:hidden; padding:0;
  border:1px solid #F8E7B0 !important;
  box-shadow:0 0 0 2px rgba(196,146,46,.55);
  background:#14100c !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .chat-avatar img{width:100%; height:100%; object-fit:cover; display:block}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .chat-meta{
  display:flex; flex-wrap:wrap; gap:4px; align-items:center;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .chat-meta b{color:#FFF6D4; cursor:pointer}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .chat-text{display:block; color:#F8E7B0; font-size:13px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .chat-tag{
  font-style:normal; font-size:10px; letter-spacing:.06em; padding:1px 6px; border-radius:999px;
  border:1px solid #E7C36A; color:#2a160e; background:linear-gradient(180deg,#fff6d2,#e7c36a);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .chat-tag.gm{
  background:#14100c !important; color:#F8E7B0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-row{
  border:1px solid #F8E7B0 !important;
  border-radius:12px !important;
  background:#070707 !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 3px rgba(196,146,46,.55) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #salonPop .lobby-line{
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) !important;
  gap:10px !important;
  align-items:center !important;
  margin:0 !important;
  padding:8px 10px !important;
  background:#120c08 !important;
  border:1px solid rgba(231,195,106,.4) !important;
  border-radius:12px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #salonPop .chat-avatar{
  width:40px !important; height:40px !important; padding:0 !important;
  border-radius:50% !important; overflow:hidden !important;
  border:1px solid #F8E7B0 !important;
  box-shadow:0 0 0 2px rgba(196,146,46,.5) !important;
  background:#14100c !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #salonPop .chat-avatar img{
  width:100% !important; height:100% !important; object-fit:cover !important; display:block !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #salonPop .chat-meta{
  display:flex !important; flex-wrap:wrap !important; align-items:center !important; gap:4px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #salonPop .chat-meta b{
  font-size:13px !important; letter-spacing:.03em !important; font-weight:700 !important;
  color:#FFF6D4 !important; text-transform:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #salonPop .chat-text{
  display:block !important; margin-top:2px !important;
  font-size:14px !important; font-weight:500 !important; letter-spacing:0 !important;
  line-height:1.35 !important; text-transform:none !important; color:#F8E7B0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #salonPop .chat-tag,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #salonPop .chat-tag.gm,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #salonPop .chat-tag.vip{
  font-size:9px !important; letter-spacing:.04em !important; text-transform:none !important;
  padding:1px 6px !important; border-radius:999px !important;
  background:#14100c !important; color:#F8E7B0 !important; border:1px solid #E7C36A !important;
}
#salonPop .v12-chat-form button{
  background:linear-gradient(180deg,#FFF6D4,#E7C36A 42%,#A87422) !important;
  color:#2a160e !important;
  border:1px solid #F8E7B0 !important;
  text-shadow:none !important;
}
.look-studio{display:flex; flex-wrap:wrap; gap:8px; align-items:flex-end; margin:8px 0}
.look-goods{display:flex; flex-wrap:wrap; gap:6px}
.look-goods button{display:flex; flex-direction:column; min-width:92px}
.all-chat input{flex:1; background:#120c08; color:#F8E7B0; border:1px solid #E7C36A; border-radius:10px; padding:8px; font-family:Cinzel, Palatino, serif}
.all-chat form button{border:0; border-radius:10px; background:#E7C36A; color:#2a160e; font-family:Cinzel, Palatino, serif; font-weight:700; padding:0 12px; cursor:pointer}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .ref-logo img.match-title{
  height:68px !important; width:auto !important; max-width:86% !important;
  margin:10px auto 0 !important; object-fit:contain !important;
  filter:drop-shadow(0 2px 0 rgba(74,46,12,.9)) drop-shadow(0 8px 10px rgba(0,0,0,.55)) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-side{
  background:#070707; border:1px solid #F8E7B0; border-radius:14px;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 3px rgba(196,146,46,.5);
  padding:8px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel .rank-tabs{
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel .rank-tabs button{
  height:28px !important; border-radius:8px !important; padding:0 4px !important;
  background:#14100c !important; color:#F8E7B0 !important;
  border:1px solid rgba(231,195,106,.55) !important;
  font-family:Cinzel, Palatino, serif !important; font-size:10px !important; font-weight:700 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel .rank-tabs button.on{
  background:linear-gradient(180deg,#FFF6D4,#E7C36A 46%,#A87422) !important;
  color:#2a160e !important; border-color:#F8E7B0 !important;
}
#salonPop .salon-tabs{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px}
#salonPop .salon-tabs button{
  height:32px !important; border-radius:8px !important; padding:0 2px !important;
  background:#14100c !important; color:#F8E7B0 !important;
  border:1px solid rgba(231,195,106,.55) !important;
  font-family:Cinzel, Palatino, serif !important; font-size:11px !important; font-weight:700 !important;
}
#salonPop .salon-tabs button.on{
  background:linear-gradient(180deg,#FFF6D4,#E7C36A 46%,#A87422) !important;
  color:#2a160e !important; border-color:#F8E7B0 !important;
}
#salonPop .vip-rank{
  background:#070707 !important; border:1px solid #F8E7B0 !important; border-radius:12px !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 3px rgba(196,146,46,.45) !important;
}
#salonPop .v12-chat-form input{
  background:#120c08 !important; color:#F8E7B0 !important;
  border:1px solid #E7C36A !important; border-radius:10px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .lobby-player{
  background:#120c08 !important; border:1px solid rgba(231,195,106,.4) !important; border-radius:12px !important;
}
#accountModal .look-goods button{
  background:#120c08; color:#F8E7B0; border:1px solid #E7C36A; border-radius:10px; padding:6px 8px;
  font-family:Cinzel, Palatino, serif;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat{
  left:568px !important; right:374px !important; bottom:18px !important;
  width:auto !important; height:52px !important; min-width:0 !important;
  display:flex !important; align-items:center !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeekBtn{
  flex:1 1 auto !important; height:52px !important; min-width:0 !important;
  padding:6px 156px 6px 14px !important;
  display:flex !important; flex-direction:column !important; justify-content:center !important;
  border-radius:12px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeek{
  position:relative !important; height:20px !important; margin:0 !important;
  overflow:hidden !important; filter:none !important; opacity:1 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeek i{
  position:absolute; left:0; right:0; top:22px;
  font-style:normal; font-size:13px; color:#F8E7B0;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  transition:top .46s cubic-bezier(.2,.7,.2,1);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeek i.now{top:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeek i.out{top:-22px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .salon-bubble{
  position:absolute !important; left:auto !important; right:8px !important; bottom:6px !important;
  width:auto !important; z-index:3 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .salon-dock{
  flex-direction:row !important; gap:6px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .salon-bubble-btn{
  width:40px !important; height:40px !important; border-radius:10px !important;
  box-shadow:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{
  left:auto !important; right:18px !important; bottom:18px !important;
  width:340px !important; height:52px !important;
}
@media (max-width:1500px){
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat{left:430px !important; right:330px !important; width:auto !important}
  body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{width:300px !important; right:16px !important}
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeekBtn{padding:6px 14px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat .salon-dock{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat-pop{
  height:min(560px, calc(100vh - 120px)) !important;
  bottom:62px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat-head{
  display:flex !important; align-items:center !important; gap:6px !important;
  padding:8px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat-head .head-tab{
  flex:none !important; height:32px !important; padding:0 8px !important;
  border-radius:8px !important; border:1px solid rgba(231,195,106,.55) !important;
  background:#14100c !important; color:#F8E7B0 !important;
  font-size:11px !important; font-family:Cinzel, Palatino, serif !important; line-height:32px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat-head .head-tab.on{
  background:linear-gradient(180deg,#FFF6D4,#E7C36A 46%,#A87422) !important;
  color:#2a160e !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat-head .salon-tabs{
  flex:1 !important; display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:4px !important; min-width:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat-head .salon-tabs button{
  height:32px !important; min-width:0 !important; padding:0 2px !important;
  border-radius:8px !important; border:1px solid rgba(231,195,106,.55) !important;
  background:#14100c !important; color:#F8E7B0 !important;
  font-size:11px !important; font-family:Cinzel, Palatino, serif !important;
  line-height:32px !important; position:relative !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat-head .salon-tabs button.on{
  background:linear-gradient(180deg,#FFF6D4,#E7C36A 46%,#A87422) !important;
  color:#2a160e !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat-head .dm-count.is-zero{display:none !important}
#salonPop .v12-chat-form .emoji-row button,
#lobbyChatForm .emoji-row button{
  width:40px !important; min-width:40px !important; height:40px !important; flex:none !important;
  padding:0 !important; border-radius:0 !important;
  background:transparent !important; color:#F8E7B0 !important;
  border:0 !important; box-shadow:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .all-chat-head #allChatClose{
  flex:none !important; width:28px !important; height:32px !important;
  background:transparent !important; border:0 !important; color:#F8E7B0 !important; font-size:22px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatLog,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatForm{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPop .salon-bubble{
  position:static !important; left:auto !important; right:auto !important; bottom:auto !important;
  display:flex !important; flex:1 !important; min-height:0 !important; width:100% !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPop #salonPop,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPop #circlePop{
  position:relative !important; width:100% !important; height:auto !important;
  max-height:none !important; flex:1 !important; min-height:0 !important;
  margin:0 !important; border:0 !important; border-image:none !important;
  box-shadow:none !important; background:transparent !important; border-radius:0 !important;
  padding:8px 10px 10px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPop #salonPop.hidden,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPop #circlePop.hidden{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPop .v12-subhead{display:none !important}
.emoji-row button{
  width:36px !important; height:36px !important; padding:0 !important; margin:0 !important;
  display:grid !important; place-items:center !important; line-height:0 !important;
  overflow:hidden !important; font-size:0 !important;
}
.emoji-row button img{width:34px !important; height:34px !important; display:block !important; pointer-events:none}
#allChatPeek{height:26px !important}
#allChatPeek i{line-height:26px !important}
#allChatPeek .peek-gif{width:22px;height:22px;display:inline-block;vertical-align:middle;object-fit:contain}
.chat-gif{width:42px; height:42px; display:block}
.auth-note{margin:0 0 8px; color:#F3C56B; font-size:13px; line-height:1.35}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .seat-ring{
  position:absolute !important; left:16px !important; right:16px !important; top:128px !important;
  display:grid !important; grid-template-columns:repeat(4, minmax(0,1fr)); gap:8px;
  width:auto; margin:0; padding:0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-dock{margin-top:118px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat{
  width:auto !important; min-height:84px; padding:8px 4px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat small{
  white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; max-width:100% !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat.is-in{
  background:rgba(8,8,8,.82); box-shadow:inset 0 0 0 1px rgba(231,195,106,.7);
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .mini-seat.is-in img{
  display:block; width:44px; height:44px; object-fit:cover; border:1px solid #E7C36A;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-wait{
  min-height:0; max-height:100%; overflow:auto;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn #matchWaitCount{font-size:20px !important}
.match-people{display:flex; flex-direction:column; gap:4px; width:100%; max-height:none; overflow:visible; text-align:left}
.match-person{
  display:grid; grid-template-columns:28px minmax(0,1fr); gap:8px; align-items:center;
  padding:4px 8px; border-radius:12px; background:rgba(8,8,8,.72); border:1px solid rgba(231,195,106,.45);
}
.match-person img{width:28px; height:28px; border-radius:50%; object-fit:cover; border:1px solid #E7C36A}
.match-person b{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.match-person b{display:block; color:#FFF6D4; font-size:13px}
.match-person small{display:block; color:#E7D7A4; font-size:11px}
body:has(.lobby-v12:not(.hidden)) .room-people{
  display:flex !important; flex-direction:column !important; gap:6px !important; margin-top:8px;
}
body:has(.lobby-v12:not(.hidden)) .room-people span{
  display:grid !important; grid-template-columns:28px minmax(0,1fr); gap:8px; align-items:center;
}
body:has(.lobby-v12:not(.hidden)) .room-people i{
  width:28px; height:28px; border-radius:50%; display:grid; place-items:center;
  border:1px solid #E7C36A; color:#F8E7B0; font-style:normal; font-size:12px;
}
body:has(.lobby-v12:not(.hidden)) .room-people b{
  font-size:13px; color:#FFF6D4; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
body:not(:has(.lobby-v12:not(.hidden))) .note-balloon,
body:not(:has(.lobby-v12:not(.hidden))) .note-pop{display:none !important}
body:has(.lobby-v12:not(.hidden)) .note-balloon{
  position:fixed !important; right:118px !important; bottom:90px !important; z-index:46 !important;
  height:36px !important; padding:0 16px !important; border-radius:12px !important;
  background:#070707 !important; color:#F8E7B0 !important; border:1px solid #F8E7B0 !important;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 3px rgba(196,146,46,.55) !important;
  letter-spacing:.12em !important; cursor:pointer !important;
}
body:has(.lobby-v12:not(.hidden)) .note-balloon i{
  position:absolute; top:-7px; right:-7px; min-width:18px; height:18px; padding:0 4px;
  border-radius:999px; background:#c4483a; color:#fff; font-style:normal; font-size:11px;
  display:grid; place-items:center; letter-spacing:0;
}
body:has(.lobby-v12:not(.hidden)) .note-balloon i.hidden{display:none !important}
.note-pop{position:fixed; right:18px; bottom:136px; z-index:47; width:min(320px, calc(100vw - 36px))}
@media (max-width:1500px){
  body:has(.lobby-v12:not(.hidden)) .note-balloon{right:108px !important}
  .note-pop{right:16px; width:280px}
}
.note-card{
  background:#070707; color:#F8E7B0; font-family:Cinzel, Palatino, serif;
  border:1px solid #F8E7B0; border-radius:14px; padding:14px;
  box-shadow:0 0 0 1px #2a1c0c, 0 0 0 4px rgba(196,146,46,.72), 0 22px 40px rgba(0,0,0,.55);
}
.note-card header{display:flex; justify-content:space-between; align-items:center; padding-bottom:10px; border-bottom:1px solid rgba(231,195,106,.35)}
.note-card header small{display:block; letter-spacing:.22em; font-size:10px; color:#E7C36A}
.note-card header b{font-size:18px; letter-spacing:.06em; color:#FFF6D4}
.note-card header button{background:transparent; color:#F8E7B0; border:0; font-size:22px; cursor:pointer}
.note-card .note-list{max-height:280px; margin-top:10px}
.note-card .note-row{
  background:#120c08; border:1px solid rgba(231,195,106,.45); color:#F8E7B0;
}
.note-card .desk-empty{color:#E7D7A4; padding:8px 0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeek{height:26px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeek i{line-height:26px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #allChatPeek .peek-gif{width:22px !important;height:22px !important;display:inline-block !important;vertical-align:middle !important;object-fit:contain !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn{
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn:has(#matchWait:not(.hidden)) .seat-ring{
  display:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn:has(#matchWait:not(.hidden)) .ref-logo img.match-title{
  height:36px !important;
  margin:4px auto 0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn:has(#matchWait:not(.hidden)) .match-dock{
  margin-top:8px !important;
  flex:1 1 auto !important;
  min-height:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-dock{
  flex:1 1 auto !important;
  min-height:0 !important;
  align-items:stretch !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-side,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-wait{
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-wait{
  gap:4px !important;
  justify-content:flex-start !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-wait > span{display:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-people{
  flex:0 0 auto !important;
  display:flex !important;
  flex-direction:column !important;
  gap:3px !important;
  overflow:visible !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-person{
  height:auto !important;
  min-height:40px !important;
  padding:2px 8px !important;
  gap:8px !important;
  overflow:visible !important;
  align-items:center !important;
  grid-template-columns:32px minmax(0, 1fr) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-person img{
  width:32px !important;
  height:32px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-person b{
  font-size:13px !important;
  line-height:1.15 !important;
  letter-spacing:.02em !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn .match-person small{
  display:block !important;
  font-size:11px !important;
  line-height:1.15 !important;
  color:#E7D7A4 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn:has(#matchWait:not(.hidden)) .match-side{
  justify-content:flex-start !important;
  height:100% !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn:has(#matchWait:not(.hidden)) .match-wait{
  flex:1 1 auto !important;
  width:100% !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn:has(#matchWait:not(.hidden)) .match-people{
  flex:1 1 auto !important;
  justify-content:space-evenly !important;
}

