/* Referans salonu. Eski lobi ızgarasının üstüne biner. */
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .landing{
  display:block !important;
  height:calc(100vh - 48px) !important;
  padding:4px 14px 118px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .lobby-v12{
  width:min(1680px, calc(100vw - 20px)) !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-header{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  min-height:78px !important;
  padding:0 4px 8px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile-copy{
  display:grid !important;
  grid-template-columns:auto 120px auto;
  grid-template-areas:"name name name" "lvl bar frac" "badges badges badges";
  align-items:center;
  column-gap:8px;
}
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:"Segoe UI",Arial,sans-serif !important;
  font-size:22px !important;
  color:#ffe9a4 !important;
  -webkit-text-stroke:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #levelText{
  grid-area:lvl;
  width:46px;height:46px;
  display:grid !important;place-items:center;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #fff6c4, #f0b423 55%, #c47a10);
  color:#5a2808 !important;
  font-size:18px !important;
  font-weight:900;
  box-shadow:0 0 0 3px #7a1434, 0 3px 0 #a86a12;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-profile-copy i{
  grid-area:bar;
  width:120px !important;height:12px !important;
  border-radius:999px !important;
  background:rgba(0,0,0,.35) !important;
  border:2px solid #ffe08a;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #xpText{
  grid-area:frac;
  color:#ffe9a4;
  font-style:normal;
  font-weight:800;
  font-size:13px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .profile-badges{grid-area:badges}
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{
  width:58px !important;height:58px !important;min-width:58px !important;
  padding:0 !important;border-radius:50% !important;
  display:grid !important;place-items:center;
  background:radial-gradient(circle at 35% 30%, #fff6c4, #e7b23a) !important;
  box-shadow:0 4px 0 #a86a12, inset 0 1px 0 #fff !important;
}
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:16px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet{
  min-width:210px !important;height:62px !important;
  padding:0 8px 0 16px !important;
  border-radius:18px !important;
  background:linear-gradient(180deg,#fff3b0,#f0b423) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-wallet strong{font-size:22px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #coinShopBtn{
  height:48px !important;min-height:48px !important;padding:0 16px !important;
  border-radius:14px !important;
  font-family:"Segoe UI",Arial,sans-serif !important;
  font-size:16px !important;font-weight:900 !important;
  letter-spacing:.02em !important;text-transform:none !important;
  color:#ffe566 !important;
  text-shadow:0 2px 0 #0a5a18 !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,0) 32%),
    linear-gradient(180deg,#d8ff86 0%,#3dcc32 30%,#128a24 100%) !important;
  border:2px solid #fff3a8 !important;
  box-shadow:inset 0 2px 0 #fff, 0 4px 0 #0a6418 !important;
}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-dashboard{
  flex:1 1 auto !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-columns:200px minmax(0,1.15fr) minmax(0,1.05fr) minmax(160px,.7fr) 210px !important;
  grid-template-rows:minmax(0,1fr) !important;
  gap:12px !important;
  padding:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-events{grid-column:1;grid-row:1;min-height:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-okey{grid-column:2;grid-row:1;min-height:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #createRoomBtn{grid-column:3 !important;grid-row:1 !important;min-height:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-stack{grid-column:4;grid-row:1;min-height:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize{grid-column:5;grid-row:1;min-height:0}

.ref-events,.ref-stack{display:flex;flex-direction:column;gap:10px;min-height:0}
.ref-events>*{flex:1 1 0;min-height:0}
.ref-script{
  font-family:"Segoe Script","Brush Script MT",cursive !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  color:#ffe14a !important;
  -webkit-text-stroke:3px #c25600;
  paint-order:stroke fill;
  text-shadow:0 3px 0 #7a2e00 !important;
  line-height:1;
}
.ref-mini,.ref-hero,.ref-poster,.ref-prize{
  position:relative;
  border:3px solid rgba(255,244,210,.85) !important;
  border-radius:22px !important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.45), 0 7px 0 rgba(80,8,24,.28) !important;
  overflow:hidden;
  filter:none !important;
}
.ref-mini{padding:10px !important;text-align:left;cursor:pointer;color:#fff}
.ref-lig{
  width:42px;height:42px;border-radius:12px;
  display:grid;place-items:center;
  background:linear-gradient(180deg,#fff,#d9e4ff);
  color:#24306a;font-weight:900;font-size:16px;
  box-shadow:0 3px 0 #24306a;
}
.ref-mini-head,.ref-prize-top{display:flex;align-items:center;gap:8px;position:relative;z-index:1}
.ref-mini-head small,.ref-prize-top small{display:block;color:#fff6c8;font-size:10px;letter-spacing:.14em}
.ref-rank,.v12-rank-panel.ref-mini{
  background:
    radial-gradient(80% 40% at 20% 0%, rgba(255,255,255,.35), transparent 50%),
    linear-gradient(180deg,#9a62ff,#5a2ed0) !important;
  display:flex;flex-direction:column;gap:6px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-rank-panel::after{content:none !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rank-tabs{
  display:grid !important;grid-template-columns:1fr 1fr;gap:4px !important;
  height:auto !important;margin:0 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rank-tabs button{
  min-height:22px !important;height:auto !important;font-size:10px !important;border-radius:999px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-list{
  flex:1;min-height:0;overflow:auto;position:relative;z-index:1;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-row{
  background:rgba(255,255,255,.16) !important;
  color:#fff !important;
  border:0 !important;border-radius:10px !important;
  width:100% !important;
}
.ref-stone{
  background:
    radial-gradient(80% 50% at 80% 0%, rgba(255,255,255,.28), transparent 46%),
    linear-gradient(180deg,#7a4ad8,#3a1d86) !important;
}
.ref-tiles{display:flex;gap:4px}
.ref-tiles i{
  width:28px;height:38px;border-radius:5px;
  display:grid;place-items:center;
  background:#fffef8;color:#c4232a;font-style:normal;font-weight:900;
  box-shadow:0 3px 0 rgba(0,0,0,.25);
}
.ref-tiles i:nth-child(2){color:#111;transform:translateY(6px)}
.ref-tiles i:nth-child(3){color:#1a8a3a}
.ref-collect{
  background:
    radial-gradient(60% 50% at 70% 40%, rgba(255,210,80,.35), transparent 50%),
    linear-gradient(180deg,#4a1a58,#2a1038) !important;
}
.ref-ring{
  width:46px;height:46px;border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 42%, #f0c14e 44%, #fff1b8 52%, #c48a16 62%, transparent 64%);
  box-shadow:0 6px 10px rgba(0,0,0,.35);
}
.ref-ring.big{width:64px;height:64px}

.ref-hero,.ref-poster{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:6px;
  padding:14px 14px 12px !important;
  text-align:center;
  color:#fff;
}
.ref-logo{font-size:58px !important;position:relative;z-index:1;margin:4px 0 auto !important}
.ref-hero small,.ref-poster small{position:relative;z-index:1;color:#fff;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.ref-okey{
  background:
    radial-gradient(50% 40% at 50% 18%, rgba(255,255,255,.4), transparent 46%),
    linear-gradient(165deg,#8ea0ff 0%, #5a62f0 38%, #2a2ea8 100%) !important;
}
.ref-fan{position:absolute;inset:22% 8% 30%;z-index:0;pointer-events:none}
.ref-fan i{
  position:absolute;width:46%;height:70%;border-radius:12px;
  background:
    radial-gradient(circle at 50% 45%, transparent 18%, #f0d48a 20% 28%, transparent 30%),
    linear-gradient(160deg,#f7f1e2,#e7d7b4);
  box-shadow:0 10px 16px rgba(20,20,60,.28);
}
.ref-fan .c1{left:6%;top:8%;transform:rotate(-12deg)}
.ref-fan .c2{right:6%;top:14%;transform:rotate(10deg)}
.ref-fan span{
  position:absolute;z-index:1;width:42px;height:58px;border-radius:6px;
  display:grid;place-items:center;
  background:#fffef8;font-weight:900;font-size:22px;
  box-shadow:0 6px 0 rgba(20,20,40,.25);
}
.ref-fan span:nth-of-type(1){left:8%;bottom:6%;color:#d21f2a;transform:rotate(-8deg)}
.ref-fan span.s{left:28%;bottom:18%;color:#111}
.ref-fan span.k{right:28%;bottom:10%;color:#147a34;transform:rotate(6deg)}
.ref-fan span.y{right:8%;bottom:22%;color:#1a4e9a;transform:rotate(12deg)}
.ref-masa{
  background:
    linear-gradient(180deg, rgba(8,20,60,.05) 0 58%, rgba(10,22,70,.72) 100%),
    url("../asset/lobby/poster-odalar.jpg") center 42% / cover no-repeat !important;
}
.ref-masa::before,.ref-masa::after,#botBtn::before,#botBtn::after{content:none !important;display:none !important}
.ref-masa .ref-logo{
  font-size:46px !important;
  text-shadow:0 3px 0 #7a2e00, 0 0 12px rgba(0,0,0,.45) !important;
}
#botBtn{
  position:relative !important;
  grid-column:auto !important;
  grid-row:auto !important;
  height:auto !important;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,30,16,.72)),
    url("../asset/lobby/poster-bot.jpg") center 40% / cover no-repeat !important;
}
.ref-gift{
  background:
    radial-gradient(40% 40% at 70% 30%, rgba(255,255,255,.45), transparent 50%),
    linear-gradient(180deg,#7ecbff,#3a78e6 55%, #2148b0) !important;
}
.ref-poster{flex:1 1 0}
.ref-poster .ref-script{font-size:28px !important;position:relative;z-index:1;margin-bottom:auto}
.jelly{
  position:relative;z-index:1;
  width:min(100%, 240px);
  min-height:52px;height:auto !important;
  margin-top:0 !important;
  border-radius:16px !important;
  border:2px solid #fff4b0 !important;
  color:#fff !important;
  font-family:"Segoe UI",Arial,sans-serif !important;
  font-size:22px !important;font-weight:900 !important;
  letter-spacing:.02em !important;text-transform:none !important;
  text-shadow:0 2px 0 #0c6a22 !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,255,255,0) 34%),
    linear-gradient(180deg,#d6ff84 0%, #46d63c 26%, #149428 72%, #0c7018 100%) !important;
  box-shadow:inset 0 2px 0 #fff, 0 5px 0 #085c16 !important;
  cursor:pointer;
}
.jelly-sm{min-height:40px !important;font-size:16px !important;width:min(100%, 160px)}
.ref-prize{
  background:
    radial-gradient(70% 28% at 50% 0%, rgba(255,255,255,.45), transparent 50%),
    linear-gradient(180deg,#ffe3a4,#f0a43a 30%, #e07a16) !important;
  display:flex;flex-direction:column;padding:10px !important;min-height:0;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize h3{font-size:20px !important;max-width:120px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .v12-player-list{
  flex:1;min-height:0;overflow:auto;position:relative;z-index:1;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player{
  background:rgba(255,252,244,.94) !important;
  color:#4a2808 !important;
  border-radius:12px !important;
}

.rooms-drawer{
  position:fixed;inset:0;z-index:70;
  background:rgba(40,0,20,.55);
  display:grid;place-items:center;padding:24px;
}
.rooms-sheet{
  width:min(880px, calc(100vw - 40px));
  height:min(620px, calc(100vh - 70px));
  display:flex;flex-direction:column;gap:10px;
  padding:16px;border-radius:24px;
  background:linear-gradient(180deg,#6e8cff,#2a3ea8);
  border:3px solid #f6e2a8;
  box-shadow:0 20px 40px rgba(0,0,0,.35);
}
.rooms-head{display:flex;align-items:center;gap:10px}
.rooms-head h3{margin:0;color:#fff;font-size:28px}
.rooms-head small{color:#ffe9a4;letter-spacing:.14em;font-size:11px}
.rooms-head .jelly{width:auto;padding:0 16px;margin-left:auto}
#roomsDrawerClose{
  width:40px;height:40px;border:0;border-radius:12px;cursor:pointer;
  background:rgba(0,0,0,.25);color:#fff;font-size:22px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rooms-sheet .match-btn{
  position:static !important;left:auto !important;right:auto !important;bottom:auto !important;
}
.rooms-sheet .table-filters{display:flex;flex-wrap:wrap;gap:6px}
.rooms-sheet .room-grid{flex:1;min-height:0;overflow:auto}
.rooms-sheet .room-card{background:rgba(255,255,255,.16) !important;color:#fff !important;border-radius:14px !important}

body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-dock{
  height:108px !important;left:12px !important;right:12px !important;bottom:8px !important;
  border-radius:28px !important;border:3px solid #f6d98a !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.4),transparent 40%),
    linear-gradient(180deg,#ff8fbe,#ef3b86 55%, #ff5ea8) !important;
  box-shadow:inset 0 2px 0 #fff, 0 6px 0 #9a1858 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play{
  width:min(520px, 36vw) !important;height:74px !important;bottom:26px !important;
  border-radius:18px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,0) 30%),
    linear-gradient(180deg,#e4ff9a,#3dcc32 40%, #128a24) !important;
  border:3px solid #fff4b0 !important;
  box-shadow:inset 0 2px 0 #fff, 0 6px 0 #085c16 !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play b{
  font-family:"Segoe UI",Arial,sans-serif !important;
  font-size:30px !important;color:#fff !important;
  text-shadow:0 2px 0 #0c6a22 !important;
}
.ref-wheel,.ref-chest,.ref-icons button{
  position:fixed;z-index:32;cursor:pointer;border:0;
}
.ref-wheel{
  left:28px;bottom:18px;width:96px;height:96px;border-radius:50%;
  background:
    conic-gradient(#ff4b4b,#ffd84a,#3dcc32,#3aa0ff,#ff4b4b);
  box-shadow:0 0 0 6px #f6d98a, 0 6px 0 #9a1858;
  color:#fff;font-weight:900;
  display:grid;place-items:center;
}
.ref-wheel span{
  position:absolute;inset:14px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #fff6c4, #e7b23a);
}
.ref-wheel b{position:relative;color:#5a2808;font-size:14px;text-shadow:none}
.ref-chest{
  left:136px;bottom:30px;width:92px;height:70px;border-radius:16px;
  background:linear-gradient(180deg,#f0c14e,#a86a12);
  box-shadow:0 5px 0 #7a4a0c, inset 0 2px 0 #fff3c0;
  color:#fff6d0;font-weight:900;
}
.ref-chest span{
  position:absolute;left:18px;right:18px;top:10px;height:22px;border-radius:6px 6px 2px 2px;
  background:linear-gradient(180deg,#8a3a12,#5a220c);
}
.ref-chest b{position:absolute;left:0;right:0;bottom:8px;font-size:12px}
.ref-icons{position:fixed;z-index:32;right:24px;bottom:28px;display:flex;gap:8px}
.ref-icons button{
  position:static;width:58px;height:58px;border-radius:50%;
  background:linear-gradient(180deg,#ffe08a,#e0a63a);
  box-shadow:0 4px 0 #a86a12;font-size:22px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble{right:156px !important;bottom:24px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{
  left:242px !important;bottom:32px !important;width:190px !important;height:42px !important;z-index:33 !important;
}

/* Sığdır ve elit: yazı kartın içinde, çerçeve ince altın. */
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .v12-dashboard{
  grid-template-columns:232px minmax(0,1.12fr) minmax(0,1fr) minmax(150px,.68fr) 248px !important;
  gap:10px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-events .ref-script,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-poster .ref-script,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .ref-script{
  font-family:"Palatino Linotype",Palatino,Georgia,serif !important;
  font-size:20px !important;
  font-weight:600 !important;
  line-height:1.12 !important;
  letter-spacing:0 !important;
  color:#fff8e8 !important;
  -webkit-text-stroke:0 !important;
  text-shadow:0 1px 0 rgba(0,0,0,.4) !important;
  white-space:normal !important;
  max-width:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-logo{
  font-size:clamp(28px, 3vw, 42px) !important;
  -webkit-text-stroke:1.5px #8a3e08;
}
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-width:1px !important;
  border-color:rgba(246,226,168,.75) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 10px 18px rgba(40,8,16,.22) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  padding:10px 12px !important;
  text-align:left !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks small,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect small{
  display:block;
  margin-top:2px;
  color:#fff6d8;
  font-size:11px;
  letter-spacing:.08em;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-tiles{flex:0 0 auto}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-tiles i{
  width:22px;height:30px;font-size:12px;
  transform:none !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-ring{width:36px;height:36px;flex:0 0 auto}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-ring.big{width:32px;height:32px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-lig{width:34px;height:34px;font-size:13px;flex:0 0 auto}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-mini-head{min-width:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-mini-head>div{min-width:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .rank-tabs button{
  font-size:9px !important;
  line-height:1.15 !important;
  white-space:normal !important;
  padding:3px 2px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .league-row{
  padding:5px 6px !important;
  font-size:11px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize-top{min-width:0;gap:8px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize-top>div{min-width:0}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player{
  padding:8px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player small{
  font-size:10px !important;
  line-height:1.3 !important;
  white-space:normal !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-dock{
  height:88px !important;
  background:
    linear-gradient(180deg, rgba(255,244,214,.12), transparent 40%),
    linear-gradient(180deg, #3a1822, #16080e) !important;
  border:1px solid rgba(246,226,168,.7) !important;
  box-shadow:inset 0 1px 0 rgba(255,244,214,.2) !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play{
  width:min(420px, 30vw) !important;
  height:62px !important;
  bottom:22px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play b{font-size:24px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-wheel{
  left:18px;bottom:16px;width:72px;height:72px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-chest{
  left:100px;bottom:24px;width:78px;height:58px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-chest b{font-size:11px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .radio-bar{
  left:188px !important;bottom:28px !important;width:168px !important;height:40px !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-icons{right:16px;bottom:24px;gap:6px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-icons button{width:48px;height:48px;font-size:18px}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble{right:128px !important;bottom:20px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble-btn{width:52px !important;height:52px !important}

/* Kesilen yazı, kararan kart, kenara taşan düğme. */
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-fan i{
  background-color:#f6f1e4 !important;
  background-image:radial-gradient(circle at 50% 46%, transparent 15%, #e4c36a 17% 25%, transparent 27%) !important;
  box-shadow:0 10px 16px rgba(16,20,50,.28), inset 0 0 0 1px rgba(255,255,255,.7) !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:auto minmax(0,1fr);
  grid-template-areas:"mark title" "mark sub";
  align-items:center;
  column-gap:10px;
  row-gap:1px;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks .ref-tiles,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect .ref-ring{grid-area:mark}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refTasks .ref-script,
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #refCollect .ref-script{grid-area:title}
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;
  margin:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player{
  height:auto !important;
  overflow:visible !important;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-prize .lobby-player small{
  display:block !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:unset !important;
  -webkit-line-clamp:unset;
}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .hit-play{width:min(360px, 26vw) !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .ref-icons{right:28px !important;bottom:22px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) .salon-bubble{right:146px !important;bottom:18px !important}
body:has(.lobby-v12:not(.hidden)):has(.ref-board) #ok101-issues{
  top:12px !important;
  left:220px !important;
  right:auto !important;
  bottom:auto !important;
  z-index:45 !important;
}
