/* v0.6.5 — Referans çizim kartı ve kırpılmayan ürün önizlemeleri. */
:root{--avatar-radius:18%;--purple:#8062ce;--ink:#30294e;--muted:#776f86;--line:#e9e4ef;--lavender:#f0eafb;--canvas:#fffdfa;background:#faf8f4;color:var(--ink);font-family:Arial,Helvetica,sans-serif}
body{background:radial-gradient(ellipse at 0 0,#f8f1df 0,transparent 48%),#faf8f4;color:var(--ink);font-family:Arial,Helvetica,sans-serif}
button,input,select,textarea{font-family:inherit}
button{background:var(--purple);box-shadow:0 2px 0 #7460a6;border-radius:10px}
button:hover:enabled{background:#7c64b5}.secondary{background:var(--lavender);color:#7c62b1;box-shadow:none}.secondary:hover:enabled{background:#e8e0f5;color:#6a519c}
input:focus{outline-color:#c4b3e5}.logo{font-family:'Trebuchet MS',Arial,sans-serif;font-style:normal;color:var(--ink)}
.logo-mark{background:#9981cf;color:white;box-shadow:none}.spark{color:#e9b85d}.card{border-color:var(--line);box-shadow:0 2px 0 #eeebf2}.avatar{background:#eee7f8;color:#8b70b9}
body:not(.in-game){min-height:100dvh;height:auto;display:flex;flex-direction:column;overflow:auto}
body:not(.in-game) .site-header{width:calc(100% - 48px);max-width:1600px;min-height:62px;flex:none;margin:0 auto;padding:10px 8px;gap:18px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
body:not(.in-game) .logo{font-size:30px;letter-spacing:-1.2px}
body:not(.in-game) .logo-mark{width:36px;height:36px;font-size:28px;border-radius:10px;margin-right:9px}
.brand-tagline{color:var(--muted);font-size:12px;white-space:nowrap}
.header-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
body:not(.in-game) .header-actions button{font-size:14px;min-height:40px;padding:9px 14px;box-shadow:none;border-radius:10px}
body:not(.in-game) .wallet-chip,body:not(.in-game) .shop-button{display:inline-flex;align-items:center;gap:6px}
.wallet-chip{background:#fff3d9;color:#997b3d;border:1px solid #f3e1b4}.shop-button{background:#f0eafb;color:#8b70b9}
body:not(.in-game) #connection{display:inline-flex;font-size:11px;padding:8px 10px;line-height:1.2;margin-left:0;background:white;color:#8b8298}
.profile-chip{display:inline-flex;align-items:center;gap:8px;font-size:13px;background:white;border-radius:18px;padding:4px 10px 4px 4px;min-width:0}
.profile-chip>span{width:30px;height:30px;display:grid;place-items:center;border-radius:var(--avatar-radius,18%);background:#ebe1f8;color:#8a6eb8;font-size:12px;font-weight:bold}
.profile-chip strong{max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
body:not(.in-game) main{width:calc(100% - 48px);max-width:1600px;margin:0 auto;padding:12px 0;flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1.05fr)) repeat(3,minmax(0,1.05fr)) repeat(3,minmax(0,1.3fr)) repeat(3,minmax(0,.95fr));grid-template-rows:290px 230px 290px;gap:14px}
body:not(.in-game) #welcome,body:not(.in-game) #lobby,body:not(.in-game) .lobby-layout,body:not(.in-game) .lobby-aside{display:contents;margin:0;max-width:none;height:auto}
#memberWelcome{display:none!important}
body:not(.in-game) .welcome-copy{grid-column:1/4;grid-row:1;position:relative;min-height:0;height:100%;padding:8px 12px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden}
body:not(.in-game) .welcome-copy:before,body:not(.in-game) .welcome-copy:after{display:none}
body:not(.in-game) .eyebrow{font-size:11px;letter-spacing:1.8px;color:#9b84c7}
body:not(.in-game) .welcome h1{font-family:'Trebuchet MS',Arial,sans-serif;font-size:48px;font-style:normal;line-height:1.04;letter-spacing:-2px;margin:6px 0;max-width:100%;color:var(--ink)}
body:not(.in-game) .welcome h1 em{color:#9278c5;font-style:normal}
body:not(.in-game) .welcome-copy>p{font-size:15px;line-height:1.45;max-width:100%;color:var(--muted);margin:4px 0}
body:not(.in-game) .hero-buttons{display:flex;gap:9px;max-width:100%;margin:9px 0 0;flex-wrap:nowrap}
body:not(.in-game) .hero-buttons button{min-height:40px;padding:10px 12px;font-size:14px;border-radius:9px;white-space:nowrap}
body:not(.in-game) .hero-buttons .secondary{background:#eee7f8;color:#8a6fbd}
body:not(.in-game) .welcome-copy .badges{position:static;max-width:100%;display:flex;gap:6px;margin-top:8px}
body:not(.in-game) .badges span{font-size:11px;line-height:1.2;font-weight:400;color:#766d88;padding:5px 8px;border:1px solid #eee7db;background:#fffdf9;border-radius:30px}
body:not(.in-game) .badges .coin-symbol{width:12px;height:12px;font-size:8px;font-style:normal;vertical-align:middle}
body:not(.in-game) .dashboard-card,body:not(.in-game) .weekly-section,body:not(.in-game) .rooms-section,body:not(.in-game) .lobby-chat,body:not(.in-game) .online-card{min-width:0;min-height:0;height:100%;margin:0;padding:15px 16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 2px 0 #f0edf3;overflow:hidden}
body:not(.in-game) .section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:20px;flex:none}
body:not(.in-game) .section-head h2{font-size:18px;line-height:1.3;letter-spacing:-.2px;color:var(--ink);margin:0;display:flex;align-items:center;gap:7px}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.panel-icon{width:24px;height:24px;flex:none;fill:currentColor;font-size:22px;color:#8b6cce;line-height:1}.coin-symbol,.highlight-price:before,.task-reward:before,.shop-price:before{content:"C";display:inline-grid;place-items:center;width:17px;height:17px;flex:none;border:1px solid #e9b55b;border-radius:50%;background:linear-gradient(135deg,#ffe29a,#f4c45e);color:#b57b24;font:bold 11px/1 Georgia,serif;box-shadow:inset 0 0 0 2px #ffda84}.coin-symbol{width:19px;height:19px}.panel-badge{font-size:11px;color:#9b85bd;background:#f4eefb;border-radius:7px;padding:4px 6px;white-space:nowrap}
body:not(.in-game) .count{font-size:12px;min-width:24px;padding:4px 7px;color:#8c75ba;background:#f3eef9;border-radius:7px}
body:not(.in-game) .weekly-section{grid-column:7/10;grid-row:1;display:flex;flex-direction:column;background:#fff;border-color:var(--line)}
body:not(.in-game) .weekly-section .section-head{flex-direction:row;align-items:center;flex-wrap:wrap;gap:3px 6px}
body:not(.in-game) .weekly-section .panel-icon{width:28px;height:28px;color:#8b6cce}
body:not(.in-game) .gallery-week{display:none}
.weekly-section .gallery-leader{display:none!important}
body:not(.in-game) #galleryList{display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(0,1fr);margin:9px 0 0;padding:0;flex:1;min-height:0;overflow:hidden;align-content:stretch;align-items:stretch;gap:0}
body:not(.in-game) #galleryList:empty{display:none}
body:not(.in-game) #galleryList .featured-drawing{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 94px;grid-template-rows:1fr;height:100%;min-height:0;max-height:none;align-self:stretch;align-items:center;gap:10px;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0}
body:not(.in-game) #galleryList .drawing-preview{display:flex;align-items:center;justify-content:center;width:100%;height:auto;min-width:0;min-height:0;max-width:158px;max-height:100%;aspect-ratio:1;justify-self:start;overflow:hidden;border:1px solid #e8e1ee;border-radius:12px;background:#fffdf8}
body:not(.in-game) #galleryList canvas{display:block;width:100%;height:auto;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;aspect-ratio:1;border:0;border-radius:0;background:#fffdf8}
body:not(.in-game) #galleryList .gallery-card-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-width:0;min-height:0;padding:0;overflow:visible}
body:not(.in-game) #galleryList h3{min-width:0;max-width:100%;font-size:20px;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;color:var(--ink);text-transform:capitalize}
body:not(.in-game) #galleryList p{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;font-size:14px;line-height:1.4;margin:0;color:#81718f}
body:not(.in-game) #galleryList p>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.drawing-artist-avatar{display:grid;place-items:center;width:24px;height:24px;flex:none;border:1px solid #e3d9f2;border-radius:var(--avatar-radius,18%);background:#f0e8fa;color:#8d72b7;font-size:12px;font-weight:bold}
body:not(.in-game) #galleryList .gallery-actions{flex:none;display:flex;flex-wrap:wrap;gap:4px}
body:not(.in-game) #galleryList .gallery-vote{font-size:14px;color:#c87b9d;background:#fdf1f6;border:1px solid #f4dde8;border-radius:8px;box-shadow:none;padding:4px 7px;min-height:26px;white-space:normal}
body:not(.in-game) #galleryList .drawing-caption{display:block;font-size:12px;line-height:1.45;margin-top:5px;color:#9a8ea8;overflow-wrap:anywhere}
.featured-drawing-side{display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;align-self:center;gap:16px;min-width:0;min-height:0}
body:not(.in-game) #galleryList .drawing-score{display:flex;align-items:center;justify-content:center;gap:8px;min-height:76px;padding:10px 6px;border:1px solid #e6dcf8;background:#f2ebfc;color:#8b69c4;border-radius:11px}
.drawing-score-icon{font-size:23px;color:#b49cd7}.drawing-score strong{display:block;font-size:26px;line-height:1}.drawing-score small{display:block;font-size:12px;font-weight:400;margin-top:6px}
body:not(.in-game) #galleryList .drawing-score.selected{background:#ece0fc;border-color:#c4a8e5}
.drawing-subhead{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:none;margin-top:3px}
body:not(.in-game) .drawing-description{margin:0;font-size:12px;color:var(--muted)}
.drawing-subhead .text-button{font-size:11px;color:#9a87b6}
body:not(.in-game) .gallery-empty{position:relative;margin:9px 0 0;padding:14px 18px;flex:1;min-height:0;border:1px dashed #ded1ef;border-radius:10px;background:#fdfaff;color:#a293b3;text-align:center;font-size:15px;line-height:1.5;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}
body:not(.in-game) .gallery-empty:before{content:'✎';display:grid;place-items:center;width:55px;height:55px;font-size:37px;line-height:1;background:#f1e9fa;color:#b79fd6;border-radius:15px;transform:rotate(-8deg)}
body:not(.in-game) #openGallery{width:auto;max-width:100%;min-height:36px;flex:none;margin:0;padding:8px 10px;font-size:12px;white-space:nowrap;border-radius:8px;background:var(--lavender);color:#7859b4;box-shadow:none}
#galleryFooter{display:flex;justify-content:flex-end;flex:none;margin-top:7px}#galleryFooter:empty{display:none}
#galleryStatus:empty,#galleryModalStatus:empty,#drawingStatus:empty{display:none}#galleryStatus{flex:none;font-size:12px;line-height:1.3;margin:5px 0 0;color:#907aa9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.in-game) .weekly-star{grid-column:10/13;grid-row:1;position:relative;display:flex;flex-direction:column;background:radial-gradient(circle at 25% 60%,#f6dfab80,transparent 55%),linear-gradient(130deg,#fff7e4,#f6e9d5);border-color:#e7c990;box-shadow:0 3px 0 #eedebf}
.weekly-star .panel-icon{color:#d9a452}.panel-description{font-size:13px;line-height:1.4;color:var(--muted);margin:3px 0 0 29px}
.star-crown{position:absolute;right:20px;bottom:20px;font:88px/1 Georgia,serif;color:#c99745;transform:rotate(13deg);opacity:.13;pointer-events:none}
#weeklyStarList{position:relative;z-index:1;display:flex;align-items:center;flex:1;min-height:0;margin:8px 4px 4px;max-width:none}
.star-player{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;width:100%;gap:5px 16px;padding:0;border:0;line-height:1.15}
.star-player:after{content:'Haftanın lideri';grid-column:2;grid-row:3;justify-self:start;font-size:11px;line-height:1.3;color:#956e32;background:#fff8e6;border:1px solid #e9cea0;border-radius:20px;padding:4px 8px}
.star-avatar{position:relative;grid-column:1;grid-row:1/4;display:grid;place-items:center;align-self:center;width:112px;height:112px;border:3px solid #fff;border-radius:var(--avatar-radius,18%);background:linear-gradient(140deg,#ece2f8,#f9f2fc);color:#9273bd;font-size:52px;font-weight:bold;box-shadow:0 0 0 2px #e2d2f0}
.star-avatar:before{content:'♛';position:absolute;top:-22px;left:50%;transform:translateX(-50%) rotate(-8deg);color:#b98333;font:30px/1 Georgia,serif;text-shadow:0 2px 0 #fff7e4}
.star-player strong{grid-column:2;grid-row:1;font-size:28px;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.star-player>span:last-child{grid-column:2;grid-row:2;font-size:clamp(24px,2.1vw,32px);font-weight:bold;color:#8a6541;white-space:normal;overflow-wrap:anywhere}
.weekly-star .star-avatar.avatar-framed{border-color:var(--frame-color,#e6bf7b);border-style:var(--frame-line,solid);box-shadow:0 0 0 3px #fff,0 0 0 5px var(--frame-ring,#eedcb8)}
.weekly-star .star-avatar.avatar-neon{border-color:#b6a0d9;box-shadow:0 0 0 3px #fff,0 0 0 5px #dcd0ed}
.vip-badge{display:inline-block;vertical-align:middle;font-size:8px;font-weight:700;line-height:1.2;letter-spacing:.4px;padding:3px 5px;margin-left:5px;border:1px solid #eedcb8;border-radius:5px;color:#a58245;background:#fff3d7}
#weeklyStarList>.muted{font-size:14px;line-height:1.6;margin:0;max-width:220px}.star-footnote{font-size:12px;color:#947d54;margin:auto 0 0;padding-top:7px}
body:not(.in-game) .weekly-ranking{grid-column:4/7;grid-row:3;display:flex;flex-direction:column;background:#fff}
#weeklyRankingList{list-style:none;margin:5px 0 0;padding:0;flex:1;min-height:0;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
#weeklyRankingList li{display:grid;grid-template-columns:20px 48px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;margin:5px 0;border-radius:10px;min-height:64px;font-size:14px;line-height:1.3}
#weeklyRankingList li:nth-child(2){background:#f1f0f7}#weeklyRankingList li:nth-child(3){background:#fbefe7}#weeklyRankingList li:first-child{background:#fff5dc}
.rank-number{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eee5f8;color:#9d82c5;font-size:12px;font-weight:bold}#weeklyRankingList li:first-child .rank-number{background:linear-gradient(140deg,#f6d486,#d7a94d);color:#fff}#weeklyRankingList li:nth-child(2) .rank-number{background:#c5c3d5;color:#fff}#weeklyRankingList li:nth-child(3) .rank-number{background:#d9af92;color:#fff}
#weeklyRankingList strong{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-score{font-size:16px;font-weight:bold;color:#746587;text-align:right}.rank-score small{display:block;font-size:10px;font-weight:400;margin-top:3px}
#weeklyRankingList .ranking-empty{display:block;background:none;padding:14px 2px;line-height:1.6;color:var(--muted)}.ranking-footnote{font-size:11px;color:#82748f;margin:3px 0 0}
body:not(.in-game) .shop-featured{grid-column:1/7;grid-row:2;display:flex;flex-direction:column}
body:not(.in-game) .shop-featured .section-head h2{font-size:17px}.text-button{font-size:12px;line-height:1.2;padding:4px 0;min-height:22px;background:none;color:#9c81c5;box-shadow:none;white-space:nowrap}.text-button:hover:enabled{background:none;color:#7659a5}
.shop-highlights{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;flex:1;min-height:0;margin-top:9px}
.shop-highlights>.muted{grid-column:1/-1;font-size:14px}
.shop-highlight{display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:0;padding:7px;border:1px solid #e8e1f0;border-radius:11px;background:#fff;color:var(--ink);box-shadow:none;text-align:left}
.shop-highlight:hover:enabled{background:#fbf8ff;color:var(--ink);border-color:#bfaade;transform:none}.highlight-art{position:relative;display:block;flex:1 1 0;min-width:0;min-height:0;border-radius:8px;background:#f2e8fa;color:#a88ccc;font-size:44px;font-weight:400;margin-bottom:6px;overflow:hidden}.highlight-art img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.highlight-art:has(img){background:#211d36}.highlight-art-1{background:#fff1ce;color:#dbb35f}.highlight-art-2{background:#e8f2ec;color:#7bac96}
.shop-highlight strong{font-size:15px;line-height:1.3;min-height:20px;overflow-wrap:anywhere}.shop-highlight small{font-size:12px;color:#82718e;line-height:1.2;font-weight:400;margin-top:3px}.highlight-price{display:flex;align-items:center;justify-content:center;gap:6px;flex:none;margin-top:5px;border:1px solid #f2deb0;border-radius:7px;background:#fff5da;padding:4px 3px;text-align:center;font-size:14px;color:#8d6d34}
.shop-item:has(.shop-item-icon img){grid-template-columns:82px minmax(0,1fr)}.shop-item-icon:has(img){position:relative;background:#211d36;width:82px;height:58px;border-radius:9px;overflow:hidden}.shop-item-icon img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}.shop-price{display:inline-flex;align-items:center;justify-content:center;gap:5px}
body:not(.in-game) .daily-card{grid-column:4/7;grid-row:1;display:flex;flex-direction:column;padding:15px 16px;background:#fff}
.daily-card .icon-target{color:#d9969b}.daily-subhead{display:flex;align-items:center;justify-content:space-between;gap:7px;flex:none;margin-top:5px}.daily-subhead .panel-description{margin:0;font-size:12px;line-height:1.4}.daily-timer{flex:none;color:#967bbf;background:#f3ecfa;border-radius:6px;padding:4px 5px;font-size:10px;font-variant-numeric:tabular-nums}
.daily-task-list{display:flex;flex-direction:column;justify-content:center;gap:4px;flex:1;min-height:0;padding:0;margin:8px 0;list-style:none}
.task-row{display:grid;grid-template-columns:21px minmax(0,1fr) auto auto;align-items:center;gap:7px;min-height:28px;font-size:13px}.task-check{display:grid;place-items:center;width:19px;height:19px;border:2px solid #dfd5ef;border-radius:50%;color:#fff;font-size:11px}.task-row.complete .task-check{background:#9fbfad;border-color:#9fbfad}.task-row strong{font-weight:600;line-height:1.25}.task-progress{color:#a091b5;font-size:11px;font-variant-numeric:tabular-nums}.task-reward{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:bold;color:#aa823a}.task-reward:before{width:14px;height:14px;font-size:9px}
.daily-bonus{display:flex;align-items:center;gap:8px;flex:none;padding:6px 10px;border:1px solid #e8dcf6;border-radius:9px;background:#f3edfc;color:#9274ba;font-size:12px}.daily-bonus>.panel-icon{width:22px;height:22px;color:#a58ac8}.daily-bonus>span{min-width:0;line-height:1.2}.daily-bonus small{display:block;font-size:10px;color:#aa98bd;margin-top:3px}.daily-bonus strong{margin-left:auto;white-space:nowrap;font-size:13px}.daily-bonus.complete{border-color:#cde3d6;background:#ecf6ef;color:#6c997e}.daily-bonus.complete>.panel-icon{color:#6c997e}
body:not(.in-game) .rooms-section{grid-column:1/4;grid-row:3;display:flex;flex-direction:column;position:relative;background:linear-gradient(155deg,#fff,#f6faf6);border-color:#dce9df}
.live-dot{display:inline-block;width:9px;height:9px;flex:none;background:#88bea2;border-radius:50%}
.code-join{position:absolute;top:16px;right:14px;z-index:3}.code-join>summary{list-style:none;cursor:pointer;font-size:12px;color:#9e85c4;line-height:20px}.code-join>summary::-webkit-details-marker{display:none}
body:not(.in-game) .code-form{display:block;position:absolute;right:0;top:25px;width:260px;padding:12px;margin:0;border:1px solid #e1d4f0;border-radius:10px;background:white;box-shadow:0 6px 20px #56436519}
body:not(.in-game) .code-form label{font-size:14px;display:block;margin-bottom:8px}
body:not(.in-game) .code-form>div{width:100%;display:flex;gap:6px}
body:not(.in-game) .code-form input{padding:8px 10px;font-size:16px;min-height:34px;border-radius:8px}
body:not(.in-game) .code-form button{min-height:40px;padding:8px 12px;font-size:13px;white-space:nowrap}
body:not(.in-game) .room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(82px,1fr);align-content:stretch;align-items:stretch;gap:8px;overflow:auto;min-height:0;flex:1;padding:1px 1px 3px;margin-top:8px;scrollbar-width:thin;overscroll-behavior:contain}
body:not(.in-game) .room-grid:empty{display:none}
body:not(.in-game) .room-card:nth-child(n){position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:1fr auto;gap:5px 6px;height:100%;min-height:82px;max-height:none;padding:6px;align-self:stretch;border:1px solid #e8e1f1;border-radius:10px;background:#fdfbff;box-shadow:none;overflow:hidden}
body:not(.in-game) .room-card:nth-child(2n){background:#fcfefc;border-color:#e0ece4}
body:not(.in-game) .room-card:hover{border-color:#bca6d8;box-shadow:0 2px 0 #eee5f7}
body:not(.in-game) .room-card .room-art{grid-column:1;grid-row:1;position:relative;inset:auto;width:34px;height:34px;align-self:center;margin:0;overflow:hidden;isolation:isolate;border-radius:8px;background:#f3ebde}
.room-card .room-art:after{content:'';position:absolute;left:50%;top:50%;width:150%;aspect-ratio:3/2;transform:translate(-50%,-50%);background:url('/room-scenes.webp') 0 0/200% 200%;z-index:-1}
.room-card .room-art[data-scene="1"]:after{background-position:100% 0}.room-card .room-art[data-scene="2"]:after{background-position:0 100%}.room-card .room-art[data-scene="3"]:after{background-position:100% 100%}
body:not(.in-game) .room-art span,body:not(.in-game) .room-art:before{display:none}
body:not(.in-game) .room-card h3{grid-column:2;grid-row:1;min-width:0;font-size:13px;line-height:1.25;margin:0;color:#69557f;align-self:center}
body:not(.in-game) .room-card-top,body:not(.in-game) .room-card p,body:not(.in-game) .room-card .room-seats{display:none}
body:not(.in-game) .room-card-bottom{grid-column:1/3;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0;margin:0;flex-wrap:nowrap}
body:not(.in-game) .room-card .room-occupancy{font-size:11px!important;line-height:1.2;font-weight:600;white-space:nowrap;padding:3px 0;background:none;border-radius:0;color:#9b8caa}
body:not(.in-game) .room-card-bottom button{font-size:11px;min-height:30px;width:auto;min-width:0;padding:6px 8px;border-radius:6px;white-space:nowrap;box-shadow:none}
.rooms-help{display:none;flex:none;font-size:12px;color:#81718f;line-height:1.4;margin:6px 0 0}
body:not(.in-game) .room-create-card{flex:1;min-height:0;margin-top:8px;display:flex;padding:12px;border:1px dashed #d7c7e8;box-shadow:none;background:#faf6ff;align-items:center}
body:not(.in-game) .empty-room-art{flex:0 0 50px;background:none}.empty-room-art span{color:#b9a3d4}.empty-room-copy{padding:8px}.empty-room-copy h3{font-size:14px}.empty-room-copy p{font-size:10px}.empty-room-bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.empty-room-bottom button{font-size:10px;min-height:30px;padding:8px}
body:not(.in-game) .lobby-chat{grid-column:7/10;grid-row:2/4;display:flex;flex-direction:column;min-height:0;border-top:1px solid var(--line)}
body:not(.in-game) .online-card{grid-column:10/13;grid-row:2/4;display:flex;flex-direction:column;min-height:0;max-height:none;order:0;border-top:1px solid var(--line)}
body:not(.in-game) .lobby-panel-title{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:0 0 auto;font-size:18px;font-weight:700;line-height:20px;min-height:20px;letter-spacing:-.2px;margin:0;color:var(--ink)}
/* Başlık ve form yerinde durur; yalnız mesaj listesi kayar. */
body:not(.in-game) #lobbyMessages{height:auto;flex:1 1 0%;min-height:0;margin:8px 0 0;overflow:auto;overscroll-behavior:contain}
body:not(.in-game) .lobby-chat .message-list p{font-size:15px;line-height:1.5;background:#f9f6fc;border:0;border-radius:8px;margin:4px 0;padding:7px 9px}
body:not(.in-game) .lobby-chat .message-list b{font-size:13px;margin-bottom:2px;color:#a18bbd}
body:not(.in-game) .lobby-chat .message-list .empty-message{padding:20px 9px;background:none;color:#81718f}
body:not(.in-game) .lobby-chat .message-form{display:flex;position:relative;flex:0 0 auto;gap:6px;margin-top:auto;padding-top:8px;border-top:1px solid #f0eaf6;background:#fff;z-index:1}
body:not(.in-game) .lobby-chat .message-form input{font-size:16px;min-height:44px;padding:10px 12px;border-radius:8px;background:#fdfbff!important;border-color:#e8e0f0!important}
body:not(.in-game) .lobby-chat .message-form button{font-size:21px;padding:8px 13px;min-height:44px;border-radius:8px;background:#aa95ce;box-shadow:none}
.online-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:6px;flex:0 0 auto;margin:8px 0 0;padding:7px 0;border-bottom:1px solid #eee7f4}
body:not(.in-game) .online-toolbar select{width:100%;min-width:0;min-height:38px;margin:0;padding:6px 8px;border:1px solid #ece5f4;border-radius:7px;background:#faf7fd;color:#8b77a6;font:13px/1.2 'Trebuchet MS',Arial,sans-serif;cursor:pointer}
body:not(.in-game) .online-toolbar select:hover{background:#f4eefb;border-color:#dcd0eb}
body:not(.in-game) .online-toolbar select:focus-visible{outline:2px solid #c4b3e5;outline-offset:2px}
body:not(.in-game) .online-toolbar option{color:var(--ink);background:#fff}
body:not(.in-game) .online-toolbar .busy-toggle{min-height:38px;max-width:90px;padding:6px 8px;border-radius:7px;font-size:11px;line-height:1.2;white-space:nowrap;box-shadow:none;background:#f7f3ec;color:#ab9473}
body:not(.in-game) .online-toolbar .busy-toggle:hover:enabled{background:#f1e9db;color:#947b55}
body:not(.in-game) .online-toolbar .busy-toggle[aria-pressed=true]{background:#fff0d7;color:#b68c40}
body:not(.in-game) .online-card ul{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-content:flex-start;align-items:stretch;gap:7px;flex:1 1 0%;min-height:0;max-height:none;overflow:auto;margin:9px 0 0;padding:4px 3px;list-style:none;scrollbar-width:thin;overscroll-behavior:contain}
body:not(.in-game) .online-card li{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:10px;flex:0 0 auto;width:100%;min-height:76px;font-size:14px;padding:10px;border:1px solid #eee7f4;border-radius:11px;background:#faf7fd}
body:not(.in-game) .online-card li:nth-child(even){background:#f7faf7;border-color:#e8efe9}
body:not(.in-game) .online-card li.is-self{border-color:#dcd0ed;background:#f3eefb}
body:not(.in-game) .online-card .avatar{width:52px;height:52px;border-radius:var(--avatar-radius,18%);background:#eae0f5;color:#967dbd;border:2px solid #fff;box-shadow:0 0 0 1px #e0d2ed;font-size:26px}
body:not(.in-game) .online-card .avatar.avatar-framed{border-color:var(--frame-color,#e6bf7b);border-style:var(--frame-line,solid);box-shadow:0 0 0 2px #fff,0 0 0 3px var(--frame-ring,#eedcb8)}
body:not(.in-game) .online-card .avatar.avatar-neon{border-color:#b6a0d9;box-shadow:0 0 0 2px #fff,0 0 0 3px #dcd0ed}
.online-player-info{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.online-player-name{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600}
body:not(.in-game) .online-card li small{margin-left:0;font-size:11px}
body:not(.in-game) .online-card .self-label{display:inline;margin-left:4px;color:#88749e;font-size:10px;font-weight:400}
body:not(.in-game) .online-card .vip-badge{display:inline-block;margin-left:4px;font-size:10px;color:#a58245}
.presence-label{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px;font-weight:400;color:#627e69}
.presence-label:before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:#9cbd9e}
[data-presence=playing] .presence-label{color:#9c89b8}[data-presence=playing] .presence-label:before{background:#b9a5d3}
[data-presence=busy] .presence-label{color:#b69a63}[data-presence=busy] .presence-label:before{background:#d6b774}
.online-player-score{color:#9279b4;font-size:17px;font-weight:700;line-height:1.2;text-align:right;white-space:nowrap}
body:not(.in-game) .online-card .online-player-score small{display:block;color:#897499;font-size:11px;font-weight:400;margin-top:2px}
body:not(.in-game) .online-card li.online-empty{display:block;min-height:0;padding:18px 8px;border:1px dashed #e4d9ef;color:#ae9bbb;background:#fcfaff;text-align:center;font-size:14px;line-height:1.5}
.online-footnote{flex:0 0 auto;font-size:11px;color:#897499;line-height:1.4;margin:7px 0 0;padding-top:6px;border-top:1px solid #f1edf5}
body:not(.in-game) footer{width:calc(100% - 48px);max-width:1600px;margin:0 auto;flex:none;min-height:24px;padding:6px 8px;border-top:1px solid var(--line);font-size:10px;gap:10px}
body:not(.in-game) footer>span:first-child{font-size:15px}body:not(.in-game) footer small{font-size:11px;color:#a493b8;margin-left:10px}
#notice:empty{display:none}body:not(.in-game) #notice:not(:empty){position:fixed;left:50%;bottom:34px;transform:translateX(-50%);max-width:min(600px,90vw);margin:0;z-index:30;background:#fff6e8;border:1px solid #e9d6b3;padding:10px 16px;border-radius:10px;font-size:12px}
.entry-dialog{position:fixed;width:min(430px,92vw);max-height:88dvh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:19px;background:#fffdfa;color:var(--ink)}
.entry-dialog::backdrop,.gallery-dialog::backdrop{background:#3c2d535c;backdrop-filter:blur(3px)}
body:not(.in-game) .entry-dialog .enter-card{display:block;align-self:auto;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
body:not(.in-game) .entry-dialog .enter-card h2{font-size:26px;margin:20px 0 8px}body:not(.in-game) .entry-dialog .pill{display:inline-block;background:#edf5ed;color:#7b9b84}body:not(.in-game) .entry-dialog .enter-card p{font-size:12px;line-height:1.6;margin:8px 0}
body:not(.in-game) .entry-dialog .enter-card button{min-height:41px;font-size:12px;padding:12px 15px;margin-top:8px}.entry-dialog #enterButton{justify-content:center;margin-top:16px}body:not(.in-game) .entry-dialog .guest-warning{padding:10px;border-radius:10px;background:#fff5df;color:#a58c60;font-size:11px!important;margin:10px 0!important}.entry-dialog .mini-steps{font-size:10px;margin-top:16px;padding-top:12px}
#entryClose{position:absolute;right:12px;top:10px;min-height:30px;padding:3px 9px;font-size:20px;background:#f3edf8;color:#a18ab9;box-shadow:none}
.gallery-dialog{width:min(850px,94vw);max-height:88dvh;overflow:auto;border:1px solid var(--line);border-radius:20px;background:#fffdfa;color:var(--ink);padding:22px}
.gallery-dialog .gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:max-content;gap:12px;overflow:visible}
.gallery-dialog .gallery-card{display:flex;flex-direction:column;min-height:0;height:auto;max-height:none;align-self:start;border:1px solid var(--line);background:#fff;box-shadow:none;border-radius:12px}
.gallery-dialog canvas{width:100%;height:auto;aspect-ratio:1000/650;max-height:none}.gallery-dialog .gallery-card-info{display:block;padding:10px}.gallery-dialog .gallery-card h3{font-size:14px}.gallery-dialog .gallery-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px}
.drawing-dialog{width:min(820px,calc(100% - 32px))}.drawing-dialog .gallery-card{margin-top:14px}.drawing-dialog canvas{max-height:60dvh;object-fit:contain;background:#fffdfa}.drawing-dialog .gallery-card h3{font-size:22px;margin:0}.drawing-dialog .gallery-card p{font-size:14px;color:var(--muted);margin:8px 0}.drawing-dialog .gallery-actions button{min-height:38px;font-size:14px}
/* Lobi, üyelik ve galeri odaya girildiğinde oyun alanını daraltmaz. */
body.in-game #welcome,body.in-game #lobby{display:none!important}body [hidden]{display:none!important}
body.in-game .site-header{margin-top:0;border-radius:0}.in-game .brand-tagline,.in-game .profile-chip{display:none}
.turn-progress{height:6px;flex:none;margin-top:5px;border-radius:10px;background:#eee7f5;overflow:hidden}.turn-progress>span{display:block;width:0;height:100%;background:#9dbfab;border-radius:inherit;transition:width .2s linear}#game[data-phase=choosing] .turn-progress>span{background:#e6bf72}
.turn-announcement{background:#fffdf7f2;gap:7px}.turn-announcement strong{color:#8a6bb7}.turn-announcement small{font-size:12px;color:var(--muted)}.turn-announcement .turn-avatar{width:76px;height:76px;border-radius:var(--avatar-radius,18%);font-size:45px;border:3px solid #fff;background:#f2eafa;box-shadow:0 0 0 2px #e2d4ef}.turn-announcement .turn-player-name{font-size:22px;color:var(--ink)}
#players .avatar{position:relative}#players li[data-role=drawer] .avatar:after,#players li[data-role=guessed] .avatar:after{position:absolute;right:-4px;bottom:-3px;display:grid;place-items:center;width:18px;height:18px;border:2px solid #fff;border-radius:50%;font-size:11px;font-weight:bold;line-height:1}
#players li[data-role=drawer] .avatar:after{content:'✎';background:#e9bf70;color:#7b581f}#players li[data-role=guessed] .avatar:after{content:'✓';background:#a4c6b2;color:#356951}
/* Çizim çerçevesi gerçek 1000×650 alanla aynı boyuttadır. */
body.in-game .board-wrap{flex:1;min-height:0;flex-direction:column;gap:6px;border:0;background:transparent;border-radius:0;position:relative}
.board-surface{position:relative;flex:none;overflow:hidden;border:1px solid #e6dfef;border-radius:12px;background:var(--canvas,#fffdf8)}
body.in-game .board-surface #board{max-width:none;max-height:none}
body.in-game .turn-progress{height:8px;margin:0;flex:none;background:#eee7f5}
.turn-progress[data-urgent=true]>span{background:#dd9b91}
body.in-game.drawer-view .game-layout{display:flex!important;flex-direction:column;min-height:0}
body.in-game.drawer-view .players,body.in-game.drawer-view .game-chat{display:none!important}
body.in-game.drawer-view .drawing{flex:1;min-height:0;width:100%;max-width:1120px;align-self:center}
body.in-game .tools{flex:none;display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:9px}
.color-palette{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;width:min(100%,480px)}
body.in-game .color-swatch{width:100%;min-width:0;min-height:30px;height:30px;padding:0;border:2px solid #fff;border-radius:7px;box-shadow:0 0 0 1px #e3dce9;transform:none}
body.in-game .color-swatch[aria-pressed=true]{box-shadow:0 0 0 2px #8062ce;position:relative}
body.in-game .color-swatch[aria-pressed=true]:after{content:'✓';color:#fff;position:absolute;inset:0;display:grid;place-items:center;text-shadow:0 1px 2px #39354e;font-size:16px}
.tool-settings{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}
.tool-settings label{display:flex;align-items:center;gap:6px}
.sound-toggle{display:grid;place-items:center;min-width:36px!important;width:36px;padding:7px!important;flex:none;box-shadow:none}
.sound-toggle svg,.report-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sound-toggle[data-enabled=false]{opacity:.6}.sound-toggle[data-enabled=false] svg{stroke-dasharray:3 2}
@media(max-width:760px),(max-width:980px) and (max-height:520px){
 body.in-game .board-wrap{border-radius:0}.board-surface{border-radius:9px}
 body.in-game .message-report{width:28px;height:28px}
 body.in-game .tool-settings{gap:8px}.in-game.drawer-view .color-palette{grid-template-columns:repeat(8,minmax(0,1fr));max-width:370px;gap:5px}
 body.in-game.drawer-view .color-swatch{height:34px;min-height:34px}
 body.in-game.drawer-view .drawing{padding:10px}.in-game.drawer-view #word{font-size:18px}
 body.in-game .room-actions .sound-toggle{min-width:30px!important;width:30px;padding:5px!important}
}
@media(max-width:760px) and (min-height:521px){
 body.in-game.drawer-view .drawing{flex:none!important;height:auto;max-height:100%}
 body.in-game.drawer-view .board-wrap{flex:none;width:100%;height:auto;aspect-ratio:1000/690;max-height:calc(var(--viewport-height,100dvh) - 300px)}
}
@media(min-width:500px) and (max-height:520px){body.in-game.drawer-view .drawing{display:grid;grid-template-columns:minmax(0,1fr) 200px;grid-template-rows:auto minmax(0,1fr);gap:6px 12px}.drawer-view .turnline{grid-column:1/-1}.drawer-view .board-wrap{grid-column:1;grid-row:2}.drawer-view #drawingTools{grid-column:2;grid-row:2;align-self:center;margin:0}.drawer-view .color-palette{grid-template-columns:repeat(4,minmax(0,1fr))!important}.drawer-view #instruction{display:none}.drawer-view #choices:not(:empty){grid-column:1/-1}.drawer-view #choices:not(:empty)~.board-wrap{grid-row:3}.drawer-view .color-swatch{min-height:26px!important;height:26px!important}}

/* Harf ipucu tahmin kutusunun üstünde; sohbet kaydırmasının dışında. */
.guess-hint{display:flex;align-items:center;gap:10px;flex:none;min-width:0;margin-top:7px;padding:8px 10px;border:1px dashed #d5c8e5;border-radius:10px;background:#f4eefb;color:#8a71b0}
.guess-hint>span{font-size:10px;white-space:nowrap}.guess-hint strong{font-family:ui-monospace,monospace;font-size:18px;letter-spacing:2px;overflow-wrap:anywhere;min-width:0;text-transform:uppercase}
[data-frame="frame_mint"]{--frame-color:#7eae96;--frame-ring:#c6e0d1;--frame-line:double}
[data-frame="frame_daisy"]{--frame-color:#ceaa57;--frame-ring:#efe0ad;--frame-line:dotted}
body.in-game .avatar.avatar-framed{border:2px var(--frame-line,solid) var(--frame-color,#e6bf7b);box-shadow:0 0 0 2px #fff,0 0 0 3px var(--frame-ring,#eedcb8)}
body.in-game .avatar.avatar-neon{border-color:#b6a0d9;box-shadow:0 0 0 2px #fff,0 0 0 3px #dcd0ed}
/* Sıralamadaki görünüm, oyuncunun gerçekten kullandığı kozmetiklerden gelir. */
.ranking-avatar{display:grid;place-items:center;width:48px;height:48px;border:2px solid #fff;border-radius:var(--avatar-radius,18%);background:#eee5f8;color:#9273bd;font-size:26px;font-weight:700;box-shadow:0 0 0 1px #e0d2ed}
.ranking-avatar.avatar-framed{border-color:var(--frame-color,#e6bf7b);border-style:var(--frame-line,solid);box-shadow:0 0 0 2px #fff,0 0 0 3px var(--frame-ring,#eedcb8)}
.ranking-avatar.avatar-neon{border-color:#b6a0d9;box-shadow:0 0 0 2px #fff,0 0 0 3px #dcd0ed}
#weeklyRankingList .vip-badge{font-size:9px}
#weeklyRankingList li.ranking-empty{display:block;min-height:0}
/* Pano uzun ekranlarda büyür; kısa ekranda yazılar okunaklı kalır. */
@media(min-width:1200px) and (min-height:740px){
 body:not(.in-game){height:100dvh;overflow:hidden}
 body:not(.in-game) main{grid-template-rows:clamp(230px,28dvh,264px) clamp(196px,calc(100dvh - 546px),250px) minmax(190px,1fr);padding:8px 0;gap:12px}
 body:not(.in-game) .welcome h1{font-size:clamp(34px,2.5vw,40px)}
 body:not(.in-game) .welcome-copy{padding:4px 12px}
}
@media(min-width:1200px) and (max-height:820px){
 body:not(.in-game) .site-header{min-height:54px;padding:7px 8px}
 body:not(.in-game) .header-actions button{min-height:36px;padding:8px 12px;font-size:13px}
 body:not(.in-game) .welcome h1{font-size:36px;margin:5px 0}
 body:not(.in-game) .welcome-copy>p{font-size:14px;margin:4px 0;line-height:1.4}
 body:not(.in-game) .hero-buttons{margin-top:9px;gap:8px}
 body:not(.in-game) .hero-buttons button{min-height:38px;padding:8px 10px;font-size:12px}
 body:not(.in-game) .badges{margin-top:9px;gap:5px}
 body:not(.in-game) .badges span{font-size:10px;padding:4px 6px}
 body:not(.in-game) .dashboard-card,body:not(.in-game) .weekly-section,body:not(.in-game) .rooms-section,body:not(.in-game) .lobby-chat,body:not(.in-game) .online-card{padding:11px 12px}
 body:not(.in-game) .section-head h2,body:not(.in-game) .shop-featured .section-head h2,body:not(.in-game) .lobby-panel-title{font-size:18px}
 body:not(.in-game) .shop-highlights{margin-top:7px;gap:7px}
 body:not(.in-game) .shop-highlight{padding:5px}
 body:not(.in-game) .highlight-art{font-size:36px}
 body:not(.in-game) .highlight-price{padding:3px}
 body:not(.in-game) .room-grid{grid-auto-rows:minmax(82px,1fr);gap:7px}
 body:not(.in-game) .room-card:nth-child(n){grid-template-columns:30px minmax(0,1fr);min-height:82px;padding:6px;gap:4px 5px}
 body:not(.in-game) .room-card .room-art{width:30px;height:30px}
 body:not(.in-game) .room-card h3{font-size:12px}
 body:not(.in-game) .room-card .room-occupancy{font-size:10px!important}
 body:not(.in-game) .room-card-bottom button{min-height:30px;padding:6px;font-size:10px}
 body:not(.in-game) .rooms-help{font-size:11px;margin-top:4px}
 body:not(.in-game) #weeklyRankingList li{min-height:58px;padding:5px 6px;margin:4px 0;font-size:14px;grid-template-columns:18px 44px minmax(0,1fr) auto;gap:7px}
 body:not(.in-game) .ranking-avatar{width:44px;height:44px;font-size:23px}
 body:not(.in-game) .rank-number{width:18px;height:18px;font-size:11px}
 body:not(.in-game) .star-player{grid-template-columns:104px minmax(0,1fr);gap:5px 13px}
 body:not(.in-game) .star-avatar{width:104px;height:104px;font-size:48px}
 body:not(.in-game) .star-player strong{font-size:26px}
 body:not(.in-game) .star-player>span:last-child{font-size:28px}
 body:not(.in-game) footer{min-height:22px;padding:4px 8px}
}
@media(max-width:1199px){
 body:not(.in-game) .site-header,body:not(.in-game) main,body:not(.in-game) footer{width:calc(100% - 32px)}
 body:not(.in-game) .site-header{flex-wrap:wrap;gap:8px 14px}.brand-tagline{display:none}
 body:not(.in-game) main{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:260px 280px 250px 290px 380px;flex:none}
 body:not(.in-game) .welcome-copy{grid-column:1;grid-row:1;padding:4px 8px}
 body:not(.in-game) .welcome h1{font-size:clamp(34px,4vw,40px)}
 body:not(.in-game) .welcome-copy>p{font-size:14px;line-height:1.4}
 body:not(.in-game) .hero-buttons button{min-height:38px;font-size:12px;padding:8px 10px}
 body:not(.in-game) .badges span{font-size:10px;padding:4px 6px}
 body:not(.in-game) .daily-card{grid-column:2;grid-row:1}
 body:not(.in-game) .weekly-section{grid-column:1;grid-row:2}
 body:not(.in-game) .weekly-star{grid-column:2;grid-row:2}
 body:not(.in-game) .weekly-ranking{grid-column:2;grid-row:3}
 body:not(.in-game) .shop-featured{grid-column:1;grid-row:3}
 body:not(.in-game) .rooms-section{grid-column:1/3;grid-row:4}
 body:not(.in-game) .lobby-chat{grid-column:1;grid-row:5}
 body:not(.in-game) .online-card{grid-column:2;grid-row:5}
 body:not(.in-game) .room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body:not(.in-game) #connection{display:none}
}
@media(max-width:760px){
 body:not(.in-game) .site-header,body:not(.in-game) main,body:not(.in-game) footer{width:calc(100% - 24px)}
 body:not(.in-game) .site-header{padding:12px 2px;gap:10px;align-items:center}body:not(.in-game) .logo{font-size:28px}
 body:not(.in-game) .header-actions{gap:6px;flex:1 1 200px;flex-wrap:wrap;justify-content:flex-start;margin-left:0}
 body:not(.in-game) .header-actions button{padding:8px 10px;font-size:13px;min-height:38px}
 body:not(.in-game) .profile-chip{display:none}
 body:not(.in-game) main{display:flex;flex-direction:column;gap:14px;padding:14px 0}
 body:not(.in-game) .welcome-copy{height:auto;min-height:280px;flex:none;padding:7px 4px;overflow:visible}
 body:not(.in-game) .welcome h1{font-size:44px;max-width:100%;margin:10px 0;line-height:1.04}
 body:not(.in-game) .welcome-copy>p{max-width:100%;font-size:16px;line-height:1.5}
 body:not(.in-game) .hero-buttons{max-width:100%;position:relative;z-index:1;margin-top:16px;gap:8px;flex-wrap:wrap}
 body:not(.in-game) .hero-buttons button{font-size:14px;min-height:44px;padding:10px 16px}
 body:not(.in-game) .badges{margin-top:12px;gap:5px;max-width:100%;position:relative;z-index:1}
 body:not(.in-game) .badges span{font-size:11px;padding:6px 8px}
 body:not(.in-game) .daily-card{height:255px;min-height:255px;order:0}
 body:not(.in-game) .weekly-section{height:280px;min-height:280px;order:1}
 body:not(.in-game) #galleryList .featured-drawing{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:auto auto;gap:9px 14px}
 body:not(.in-game) #galleryList .drawing-preview{grid-column:1;grid-row:1/3;max-width:156px}
 body:not(.in-game) #galleryList .gallery-card-info{grid-column:2;grid-row:1;align-self:end;gap:7px}
 body:not(.in-game) #galleryList .featured-drawing-side{grid-column:2;grid-row:2;align-self:start;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px}
 body:not(.in-game) #galleryList .drawing-score{min-height:40px;padding:5px 8px;gap:6px}
 .drawing-score strong{font-size:20px}.drawing-score small{font-size:10px;margin-top:3px}.drawing-score-icon{font-size:19px}
 body:not(.in-game) #galleryList .drawing-caption{font-size:11px;line-height:1.35;margin-top:0}
 body:not(.in-game) .weekly-star{height:230px;min-height:230px;order:2}
 body:not(.in-game) .weekly-ranking{height:330px;min-height:330px;order:4}
 body:not(.in-game) .shop-featured{height:275px;min-height:275px;order:3}
 body:not(.in-game) .rooms-section{height:350px;min-height:350px;order:-1}
 body:not(.in-game) .lobby-chat{height:360px;min-height:360px;order:5}
 body:not(.in-game) .online-card{height:400px;min-height:400px;order:6}
 body:not(.in-game) .section-head h2,body:not(.in-game) .shop-featured .section-head h2,body:not(.in-game) .lobby-panel-title{font-size:18px}
 body:not(.in-game) .room-card:nth-child(n){grid-template-columns:52px minmax(0,1fr);grid-template-rows:1fr auto;gap:8px;min-height:112px;padding:9px}
 body:not(.in-game) .room-card .room-art{width:52px;height:52px;grid-row:1;align-self:center}
 body:not(.in-game) .room-card h3{font-size:14px;align-self:center;grid-column:2;grid-row:1;overflow-wrap:anywhere}
 body:not(.in-game) .room-card-bottom{grid-column:1/3;grid-row:2;gap:5px}
 body:not(.in-game) .room-card .room-occupancy{font-size:12px!important}
 body:not(.in-game) .room-card-bottom button{font-size:12px;min-height:38px;padding:8px}
 body:not(.in-game) .rooms-help{font-size:12px;line-height:1.5}
 body:not(.in-game) .code-form{width:min(280px,80vw)}.code-join>summary{font-size:12px}
 body:not(.in-game) .online-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body:not(.in-game) .online-toolbar .busy-toggle{grid-column:1/-1;justify-self:end;max-width:none;min-height:36px;font-size:12px}
 body:not(.in-game) .star-player{grid-template-columns:96px minmax(0,1fr);gap:6px 16px}
 body:not(.in-game) .star-avatar{width:96px;height:96px;font-size:44px}
 body:not(.in-game) .star-player strong{font-size:26px}
 body:not(.in-game) .star-player>span:last-child{font-size:32px}
 body:not(.in-game) .shop-highlight strong{font-size:13px;min-height:51px}
 body:not(.in-game) .shop-highlight small{font-size:12px}
 body:not(.in-game) .highlight-price{font-size:13px;padding:5px}
 body:not(.in-game) .highlight-art{font-size:42px}
 body:not(.in-game) .shop-highlights{gap:6px}
 body:not(.in-game) .shop-highlight{padding:5px}
 body:not(.in-game) .shop-highlight small{min-height:28px}
 body:not(.in-game) footer{padding:10px 2px;flex-wrap:wrap}body:not(.in-game) footer small{display:none}
 .gallery-dialog{padding:16px}.gallery-dialog .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .guess-hint{padding:6px 9px;margin-top:5px}.guess-hint strong{font-size:16px;letter-spacing:1.5px}
}
@media(max-width:359px){
 body:not(.in-game) .rooms-section{height:410px;min-height:410px}
 body:not(.in-game) .room-grid{grid-auto-rows:minmax(142px,1fr)}
 body:not(.in-game) .room-card:nth-child(n){min-height:142px}
 body:not(.in-game) .shop-featured .section-head h2{font-size:16px}
}
@media(prefers-reduced-motion:reduce){button,.room-card{transition:none}}

/* Moderasyon: sohbet ve çizim şikayetleri */
.message-list p{position:relative;padding-right:34px!important}
.message-list .message-text{white-space:pre-wrap;overflow-wrap:anywhere}
.message-report{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);
  width:26px;height:26px;min-height:0!important;padding:0!important;border:0!important;border-radius:7px;
  background:transparent!important;color:#b7a7c6!important;box-shadow:none!important;font-size:14px;line-height:26px;
  opacity:.62;cursor:pointer
}
.message-list p:hover .message-report,.message-report:hover:enabled,.message-report:focus-visible{opacity:1;color:#9d789f!important;background:#f5edf7!important;transform:translateY(-50%)!important}
.message-list p.system{padding-right:9px!important}
.drawing.card{position:relative}
.drawing-report-button{
  position:absolute;right:12px;top:12px;z-index:12;min-height:34px!important;padding:6px 10px!important;
  border:1px solid #ead9df!important;border-radius:9px!important;background:#fff8fa!important;color:#a65f76!important;
  box-shadow:none!important;font-size:12px!important;font-weight:700!important
}
.drawing-report-button:hover{background:#fbeef2!important;color:#8e4860!important}
.admin-button{border-color:#e6d8b9!important;background:#fff7df!important;color:#8a6f32!important}
@media(max-width:760px){
  .drawing-report-button{right:8px;top:8px;padding:5px 8px!important;font-size:11px!important}
  .message-report{opacity:.9}
}

.report-toast{
  position:fixed;left:50%;bottom:34px;z-index:1000;
  display:flex;align-items:center;gap:10px;
  max-width:min(420px,calc(100vw - 28px));
  padding:11px 15px;border:1px solid #d9eadf;border-radius:14px;
  background:#f7fff9;color:#4f735b;box-shadow:0 10px 30px #3f2f4d22;
  font-size:13px;font-weight:700;line-height:1.35;
  opacity:0;transform:translate(-50%,14px) scale(.98);
  pointer-events:none;transition:opacity .18s ease,transform .18s ease
}
.report-toast.show{opacity:1;transform:translate(-50%,0) scale(1)}
.report-toast-icon{
  display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;
  border-radius:50%;background:#dff3e5;color:#4f8a61;font-size:14px;font-weight:800
}
.report-toast.is-duplicate{border-color:#eadfca;background:#fffaf0;color:#8b744a}
.report-toast.is-duplicate .report-toast-icon{background:#f4ead6;color:#9a7b45}
@media(max-width:760px){.report-toast{bottom:18px;font-size:12px;padding:10px 12px}}


.message-report svg,.drawing-report-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.board-surface .drawing-report-button{right:7px;top:7px;min-height:30px!important;width:30px;height:30px;padding:5px!important;display:grid;place-items:center}

.ban-dialog{width:min(470px,92vw);border:1px solid #eadfe8;border-radius:22px;padding:26px;background:#fffdfa;color:#3b3347;box-shadow:0 24px 70px #30233e33;text-align:center}
.ban-dialog::backdrop{background:#30233e66;backdrop-filter:blur(4px)}
.ban-mark{width:48px;height:48px;margin:0 auto 12px;display:grid;place-items:center;border-radius:50%;background:#fde9ec;color:#a64f62;font-size:24px;font-weight:800}
.ban-dialog h2{margin:8px 0 10px;font-size:24px}.ban-dialog .eyebrow{color:#a36a79;font-size:10px;letter-spacing:.14em}
.ban-reason{margin:14px 0;padding:13px 14px;border-radius:12px;background:#fff3f5;color:#744653;line-height:1.55;text-align:left}
.ban-details{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.ban-details>div{padding:12px;border:1px solid #eee5eb;border-radius:12px;background:#fff}
.ban-details span{display:block;color:#8d8192;font-size:10px;margin-bottom:5px}.ban-details strong{font-size:13px}
.ban-note{color:#8b8190;font-size:11px;line-height:1.5}.ban-dialog .wide{width:100%;margin-top:8px}
@media(max-width:520px){.ban-details{grid-template-columns:1fr}.ban-dialog{padding:22px 18px}}

/* Temalı odalar: uzun kelime ve ifadeler. */
.room-card .room-category{font-weight:700;color:var(--purple)}
#word.word-phrase{font-size:clamp(15px,2vw,23px);letter-spacing:.4px;line-height:1.35;overflow-wrap:anywhere}
#choices:not(:empty){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#choices button{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.35;padding:10px 12px;font-size:14px}
.guess-hint strong{white-space:pre-wrap}
@media(max-width:760px){#choices:not(:empty){grid-template-columns:1fr}#choices button{min-height:42px;padding:8px 10px;font-size:13px}}
/* v0.7.7 — Compact collection previews and a wider weekly winner. */
body:not(.in-game) #galleryList .featured-drawing{grid-template-columns:minmax(100px,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:8px 12px}
body:not(.in-game) #galleryList .drawing-preview{grid-column:1;grid-row:1/3;max-width:148px;justify-self:center}
body:not(.in-game) #galleryList .gallery-card-info{grid-column:2;grid-row:1;align-self:end}
body:not(.in-game) #galleryList .featured-drawing-side{grid-column:2;grid-row:2;align-self:start;flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px}
body:not(.in-game) #galleryList .drawing-score{min-height:40px;padding:5px 8px;gap:6px}
body:not(.in-game) #galleryList .drawing-score strong{font-size:22px}
body:not(.in-game) .star-player{grid-template-columns:124px minmax(0,1fr);gap:6px 14px}
body:not(.in-game) .star-avatar{width:124px;height:124px}
body:not(.in-game) .star-player strong{font-size:clamp(21px,1.9vw,28px);white-space:normal;overflow-wrap:anywhere;line-height:1.2}
body:not(.in-game) .shop-highlight{align-items:center;padding:5px;gap:0}
body:not(.in-game) .shop-highlight .highlight-art{display:grid;place-items:center;flex:none;width:72px;height:72px;aspect-ratio:1;background:transparent;align-self:center;overflow:visible;margin:0 0 5px}
body:not(.in-game) .shop-highlight .highlight-art:has(img){background:#211d36;overflow:hidden}
body:not(.in-game) .shop-highlight .highlight-art:has(.name-preview){width:100%;background:#faf5fd;border:1px solid #ece0f4;overflow:visible}
body:not(.in-game) .shop-highlight .name-preview{font-size:16px}
body:not(.in-game) .shop-highlight strong{align-self:stretch;font-size:12px;line-height:1.25;min-height:30px}
body:not(.in-game) .shop-highlight small{align-self:stretch;font-size:11px;min-height:14px}
body:not(.in-game) .shop-highlight .highlight-price{align-self:stretch;margin-top:auto;min-height:25px;font-size:13px}
@media(max-width:520px){body:not(.in-game) .star-player{grid-template-columns:112px minmax(0,1fr)}body:not(.in-game) .star-avatar{width:112px;height:112px}body:not(.in-game) .star-player strong{font-size:23px}body:not(.in-game) .shop-highlight .highlight-art{width:96px;height:96px}}
