:root{--cold: radial-gradient(ellipse 80% 75% at 50% 42%, #ffffff 0%, #f1f6fb 38%, #dce7f1 72%, #c3d2e1 100%);--stripe-a: #c8cfd8;--stripe-b: #d1d7df;--ink: #1d232b;--muted: #6d7685;--line: #bcc2cb;--blue: #2a64d6;--red: #d63a30;--green: #4cae3c;--gold: #c58a00;--font: "Helvetica Neue", Helvetica, Arial, "Apple Color Emoji", sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#app{height:100%;margin:0}body{font:14px/1.4 var(--font);color:var(--ink);background:var(--cold);overflow:hidden}h1,h2{margin:0 0 8px}h2{font-size:17px;font-weight:700;color:#4c566c;text-shadow:0 1px 0 rgba(255,255,255,.9)}code{background:#00000014;padding:1px 5px;border-radius:4px}ul,ol{padding-left:20px;margin:6px 0}.muted{color:var(--muted)}.hidden{display:none!important}.center{justify-content:center}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pad{padding:10px}.hint{color:var(--muted);font-size:11px}.ok-text{color:#2f8a24;font-weight:700}button,input,select{font-family:var(--font)}.sb-status{position:relative;z-index:6;flex:none;height:calc(20px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 6px 0;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#0000009e,#00000075),#000;color:#fff;font:700 12px/20px var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.6);user-select:none;-webkit-user-select:none}.sb-status>span{display:flex;align-items:center;gap:4px}.sb-time{position:absolute;left:50%;transform:translate(-50%);font-variant-numeric:tabular-nums;letter-spacing:.02em}.sb-bars{display:flex;align-items:flex-end;gap:1px;height:9px}.sb-bars i{width:2.5px;background:#fff;border-radius:.5px;box-shadow:0 -1px #00000059}.sb-status svg{display:block;filter:drop-shadow(0 -1px 0 rgba(0,0,0,.45))}.shell{height:100%;display:flex;flex-direction:column;background:var(--cold)}.navbar{position:relative;z-index:5;flex:none;min-height:44px;padding:7px 8px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;background:linear-gradient(#bccadf,#a3b5d2 49%,#8aa2c6 51%,#6f8bb3);border-bottom:1px solid #3b4f72;box-shadow:inset 0 1px #ffffff73,0 2px 3px #00000059}.nav-left{display:flex;align-items:center;gap:8px;min-width:0}.nav-logo{display:flex;align-items:center;gap:6px;font:700 19px/1 var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.45);white-space:nowrap}.nav-tabs{display:flex}.nav-tab{padding:0 18px;height:30px;margin-left:-1px;cursor:pointer;font:700 13px/28px var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.45);white-space:nowrap;background:linear-gradient(#aebdd3,#8ea4c6 49%,#7e97bc 51%,#8da5c8);border:1px solid #3f5880;box-shadow:inset 0 1px #ffffff73}.nav-tab:first-child{border-radius:6px 0 0 6px;margin-left:0}.nav-tab:last-child{border-radius:0 6px 6px 0}.nav-tab.on{background:linear-gradient(#4b6a9e,#355487 50%,#2b4a7f 51%,#3a5a8d);box-shadow:inset 0 2px 4px #00000073}.nav-blood{justify-self:center;display:flex;align-items:center;justify-content:center;min-width:96px;height:30px;padding:0 18px;border-radius:15px;border:1px solid #2b3f63;color:#fff;font:700 15px/28px var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.45);background:linear-gradient(#4b6a9e,#355487 50%,#2b4a7f 51%,#3a5a8d);box-shadow:inset 0 2px 4px #00000073,0 1px #ffffff4d}.barbtn.on{background:linear-gradient(#4b6a9e,#355487 50%,#2b4a7f 51%,#3a5a8d);box-shadow:inset 0 2px 4px #00000073}.page-back{position:sticky;bottom:0;z-index:3;margin-top:12px;padding:10px 0 2px;display:grid;max-width:560px;margin-left:auto;margin-right:auto}.page-back .btn{box-shadow:0 2px 6px #0000004d}.nav-right{position:relative;display:flex;justify-content:flex-end;align-items:center;gap:6px}.nav-friends{display:none;font-size:15px;padding:0 9px}.nav-friends .badge{position:absolute;top:-7px;right:-7px}.nav-menu{padding:0 10px;font-size:16px}.nav-pop{position:absolute;right:0;top:38px;z-index:60;min-width:200px;background:#fff;border:1px solid #6f7886;border-radius:10px;overflow:hidden;box-shadow:0 6px 18px #0006}.nav-pop-item{display:block;width:100%;text-align:left;padding:12px 14px;border:0;border-top:1px solid #e1e4e9;background:linear-gradient(#fff,#f1f3f6);font:700 15px var(--font);color:var(--ink);cursor:pointer}.nav-pop-item:first-child{border-top:0}.nav-pop-item:active{background:#dfe6f3}.nav-pop-item.danger{color:#c4231a}.barbtn{position:relative;height:30px;padding:0 11px;border:1px solid #3c5578;border-radius:5px;cursor:pointer;isolation:isolate;background:linear-gradient(#a9bbd5,#86a0c6 49%,#7792ba 51%,#8aa3c8);color:#fff;font:700 13px/28px var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.45);box-shadow:inset 0 1px #ffffff80,0 1px #ffffff4d;white-space:nowrap}.barbtn:active{background:linear-gradient(#6d86ab,#4f6a93 50%,#3f5a85 51%,#55709a)}.blood-pill{display:inline-flex;align-items:center;gap:4px;font-weight:700;cursor:default}.coins{display:inline-flex;align-items:center;gap:3px}.blood-ico{width:16px;height:16px;vertical-align:-3px;image-rendering:pixelated}.page{flex:1;min-height:0;padding:10px;overflow:auto;-webkit-overflow-scrolling:touch;background:repeating-linear-gradient(90deg,var(--stripe-a) 0 5px,var(--stripe-b) 5px 10px)}.room-host{flex:1;min-height:0;padding:8px;display:flex;flex-direction:column;background:repeating-linear-gradient(90deg,var(--stripe-a) 0 5px,var(--stripe-b) 5px 10px)}.room-host[hidden],.page[hidden]{display:none}.page-seg{margin:0 auto 10px;max-width:420px}@media (max-width: 640px){.navbar{grid-template-columns:auto 1fr auto;grid-template-areas:"left . right" "tabs tabs tabs";row-gap:7px;padding:6px 8px 8px}.nav-left{grid-area:left}.nav-right{grid-area:right}.nav-blood{grid-area:tabs;width:100%;height:32px;line-height:30px;border-radius:8px}.nav-friends{display:inline-block;height:32px}.nav-logo{font-size:17px}.barbtn{height:32px;line-height:30px}.page,.room-host{padding:8px}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:30px;padding:4px 14px;cursor:pointer;border-radius:8px;border:1px solid #8b9099;background:linear-gradient(#fdfdfd,#e3e5e8 49%,#cfd2d7 51%,#e0e2e6);color:#2a2f36;font:700 14px/1.2 var(--font);text-shadow:0 1px 0 rgba(255,255,255,.9);box-shadow:inset 0 1px #fff,0 1px 1px #0000002e}.btn:active:not(:disabled){background:linear-gradient(#c9ccd2,#b3b7be 50%,#a6aab2 51%,#b8bcc3)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.small{min-height:26px;padding:2px 10px;font-size:12px;border-radius:6px}.btn.primary{color:#fff;border-color:#1f3f94;background:linear-gradient(#78a6f4,#3b78e6 49%,#1f5ad6 51%,#3f7ae6);text-shadow:0 -1px 0 rgba(0,0,0,.4);box-shadow:inset 0 1px #ffffff80,0 1px 1px #00000040}.btn.primary:active:not(:disabled){background:linear-gradient(#3668c8,#1d4aa8 50%,#123a92 51%,#2a56b4)}.btn.danger{color:#fff;border-color:#8e1a14;background:linear-gradient(#f58a80,#e4483c 49%,#c4180c 51%,#e0483c);text-shadow:0 -1px 0 rgba(0,0,0,.4)}.btn.on{color:#fff;border-color:#1f3f94;background:linear-gradient(#5b86cf,#2f5cb5 50%,#2250a8 51%,#3a68bc);text-shadow:0 -1px 0 rgba(0,0,0,.4);box-shadow:inset 0 2px 3px #00000059}.link{background:none;border:none;color:var(--blue);cursor:pointer;font:inherit;padding:6px}.panel{background:#fff;border:1px solid #a9aeb6;border-radius:10px;padding:12px;box-shadow:0 1px #fffc,0 1px 2px #0000001f}.group{background:#fff;border:1px solid #a9aeb6;border-radius:10px;overflow:hidden;margin:0 0 14px;box-shadow:0 1px #fffc}.group>.cellrow{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border-top:1px solid #d6d9de}.group>.cellrow:first-child{border-top:0}.group-title{margin:14px 8px 6px;font:700 15px var(--font);color:#4c566c;text-shadow:0 1px 0 rgba(255,255,255,.9)}.cellrow .lbl{font-weight:700;flex:none;min-width:90px}.cellrow input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:17px var(--font);color:#385487}.cellrow input::placeholder{color:#9aa2ae}.mini-input{flex:1;min-width:0;padding:6px 9px;border-radius:6px;border:1px solid #9ea5b0;background:#fff;color:var(--ink);font:14px var(--font);box-shadow:inset 0 1px 3px #0003}.mini-input:focus{outline:none;border-color:#4a7ad8;box-shadow:inset 0 1px 3px #0003,0 0 0 2px #4a7ad859}.badge{background:radial-gradient(120% 90% at 50% 0%,#ff6b6b,#c40e12);color:#fff;border-radius:9px;padding:0 6px;font-size:11px;font-weight:700;border:1px solid #fff;box-shadow:0 1px 2px #0006}.dot{width:9px;height:9px;border-radius:50%;background:#aeb4bd;flex:none;display:inline-block;border:1px solid rgba(0,0,0,.25)}.dot.idle{background:radial-gradient(circle at 35% 30%,#ffe08a,#e0a410);box-shadow:0 0 4px #f0c040}.dot.on{background:radial-gradient(circle at 35% 30%,#b5f59c,#34b21f);box-shadow:0 0 4px #5fe03e}.seg,.tabs,.shop-tabs,.osrs-tabs,.admin-tabs{display:flex;flex-wrap:wrap;gap:0;border-radius:5px}.tab,.tabs .tab,.osrs-tab,.navbtn{flex:1 1 auto;padding:5px 10px;cursor:pointer;font:700 12px/18px var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.45);background:linear-gradient(#aebdd3,#8ea4c6 49%,#7e97bc 51%,#8da5c8);border:1px solid #3f5880;margin:0 -1px -1px 0;box-shadow:inset 0 1px #ffffff73}.tab:first-child,.osrs-tab:first-child{border-radius:5px 0 0 5px}.tab:last-child,.osrs-tab:last-child{border-radius:0 5px 5px 0}.tab.on,.osrs-tab.on,.navbtn.on{background:linear-gradient(#4b6a9e,#355487 50%,#2b4a7f 51%,#3a5a8d);box-shadow:inset 0 2px 4px #00000073}.tabs{margin-bottom:10px;row-gap:4px}.tabs .tab{border-radius:5px;margin:0 2px 2px 0;flex:0 1 auto}.shop-tabs{margin-bottom:10px}.tab.big{padding:7px 14px;font-size:13px}.osrs-tabs{padding:8px 8px 0}.osrs-tab{font-size:15px;padding:4px 0}.navbtn:disabled{opacity:.5}.lock{position:relative;flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:24px 16px;background:#c9d6d8 url(../ios6/wallpaper-real.jpg) center top / cover no-repeat}.lock-clock{text-align:center;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.55);margin:6px 0 22px}.lock-clock .t{font:200 64px/1 var(--font);letter-spacing:1px}.lock-clock .d{font:700 13px var(--font);margin-top:4px}.auth{width:min(360px,100%)}.logo{font:700 28px var(--font);color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5);text-align:center;margin-bottom:4px}.logo.small{font-size:18px;margin:0}.auth .tagline{color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.55);margin:0 0 12px;font-weight:700}.auth-form{display:grid;gap:10px}.form-error{color:#d12a20;min-height:18px;text-align:center;font-weight:700;text-shadow:0 1px 0 rgba(255,255,255,.8)}.emu-notice{font-size:11px;color:#3c4a52;text-align:center;text-shadow:0 1px 0 rgba(255,255,255,.7);margin-top:4px}.center-screen{height:100%;display:grid;place-items:center;padding:16px;background:#c9d6d8 url(../ios6/wallpaper-real.jpg) center top / cover no-repeat}.loading{color:#ffffff;font-size:16px;font-weight:600;text-shadow:none;-webkit-text-stroke:0}.center-screen .panel,.lock .panel{background:#ffffffeb}.room{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}.room-main{flex:1;display:flex;gap:8px;min-height:0}.stage{flex:1;position:relative;min-height:220px;background:var(--cold);border:1px solid #9fb0c2;border-radius:10px;overflow:hidden;box-shadow:inset 0 2px 10px #3c5a7840}.room-canvas{display:block;cursor:pointer}.online{position:absolute;top:10px;right:10px;background:#0009;color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:8px;padding:6px 10px;font-size:12px;max-height:40%;overflow:auto}.online .me{color:#ffe27a}.room-title{position:absolute;top:10px;left:50%;transform:translate(-50%);background:#0000008c;color:#fff;padding:3px 12px;border-radius:12px;font-size:12px;pointer-events:none;white-space:nowrap}.action-hint{position:absolute;top:10px;left:10px;background:#000000bf;color:#fff;font-size:12px;padding:3px 8px;border-radius:5px;border:1px solid rgba(255,255,255,.3);pointer-events:none}.chat-log{position:absolute;left:10px;bottom:10px;width:min(380px,55%);max-height:34%;overflow:hidden;pointer-events:none;color:#fff;padding:0;font-size:12px;display:flex;flex-direction:column;justify-content:flex-end;text-shadow:0 0 3px #000,0 1px 2px #000,1px 0 2px #000,-1px 0 2px #000}.chat-log:not(.open) .line:not(:nth-last-child(-n+3)){display:none}.chat-log.open .line:not(:nth-last-child(-n+10)){display:none}.chat-bar .btn.cooling{min-width:54px;opacity:.85}.chat-log:empty{display:none}.chat-log .line{padding:1px 0;word-break:break-word}.chat-log .line b.me{color:#ffe27a}.chat-log .line.sys{color:#9fd0ff}.chat-log .line.sys.warn{color:#ffb0a3}.chat-bar{display:flex;gap:8px;align-items:center;padding:7px 150px 7px 8px;border-radius:10px;border:1px solid #4b5a78;background:linear-gradient(#b4c0d4,#8794ae 50%,#7a88a2 51%,#8693ac);box-shadow:inset 0 1px #ffffff73}.chat-input{flex:1;min-width:0;padding:6px 12px;border-radius:16px;border:1px solid #55627c;background:#fff;color:var(--ink);font:14px var(--font);box-shadow:inset 0 1px 3px #00000059}.chat-input:focus{outline:none;box-shadow:inset 0 1px 3px #00000059,0 0 0 2px #fff6}.side-host{width:244px;flex:none;overflow:auto}.osrs-panel{background:#fff;border:1px solid #8f959f;border-radius:10px;overflow:hidden;box-shadow:0 1px 2px #00000040}.osrs-tabs{background:linear-gradient(#bccadf,#8aa2c6);border-bottom:1px solid #3b4f72;gap:0;padding:7px 8px}.osrs-body{padding:8px;background:repeating-linear-gradient(90deg,#eef1f5 0,#eef1f5 5px,#f4f6f9 5px,#f4f6f9 10px)}.osrs-title{text-align:center;font:700 15px var(--font);color:#4c566c;margin-bottom:6px;text-shadow:0 1px 0 #fff}.inv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#fff;padding:5px;border:1px solid #b6bcc6;border-radius:8px;box-shadow:inset 0 1px 3px #00000026}.inv-slot{aspect-ratio:1;min-width:0;min-height:0;overflow:hidden;display:grid;place-items:center;position:relative;background:linear-gradient(#f7f8fa,#e4e7ec);border:1px solid #bcc2cc;border-radius:6px}.inv-slot.filled{cursor:pointer}.inv-slot.filled:hover{background:linear-gradient(#fff,#dde6f5)}.inv-slot.selected{border-color:#2a64d6;box-shadow:0 0 0 2px #2a64d68c;background:linear-gradient(#e6efff,#c5d9fa)}.inv-slot.guide{border-color:#ffc933;animation:guideglow 1s ease-in-out infinite;z-index:1}@keyframes guideglow{0%,to{box-shadow:0 0 4px 1px #ffc9338c}50%{box-shadow:0 0 16px 6px #ffc933}}.inv-slot.drop-glow{border-color:#ff4d4d;animation:dropglow 1s ease-in-out infinite;z-index:1}@keyframes dropglow{0%,to{box-shadow:0 0 4px 1px #ff3c3c80}50%{box-shadow:0 0 14px 5px #ff3c3c}}.drop-foot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin-top:8px;text-align:center}.drop-foot .drop-btn{flex:0 0 auto}.btn.drop-btn{color:#fff;font-weight:700;font-size:15px;min-width:130px;padding:8px 28px;border-color:#8e1b1b;background:linear-gradient(#f59a9a,#e04545 49%,#c62020 51%,#e04a4a);text-shadow:0 -1px 0 rgba(0,0,0,.4);box-shadow:inset 0 1px #ffffff80,0 1px 1px #00000040}.btn.drop-btn:active:not(:disabled){background:linear-gradient(#b83030,#a01818 50%,#8a1010 51%,#a82a2a)}.drop-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;background:#00000073}.drop-win{width:min(300px,90%);padding:12px 14px;border-radius:12px;background:#f3f5f9;color:#1b2233;box-shadow:0 8px 28px #0000008c;display:grid;gap:10px}.drop-title{font-weight:700;font-size:15px}.drop-item{display:flex;gap:10px;align-items:center}.drop-item img{width:44px;height:44px;object-fit:contain;image-rendering:pixelated;background:#e4e7ec;border-radius:8px;padding:3px}.drop-how{display:flex;align-items:center;gap:8px}.drop-qty{width:90px;padding:4px 8px;font-size:16px;border:1px solid #aab2c0;border-radius:6px;text-align:center}.drop-buttons{display:flex;gap:10px;justify-content:flex-end}.btn.drop-yes{background:linear-gradient(#58d68d,#1e9e55);border-color:#14753f;color:#fff;font-weight:700;min-width:90px}.btn.drop-no{background:linear-gradient(#ff6b6b,#c62828);border-color:#8e1b1b;color:#fff;font-weight:700;min-width:90px}.cd-popup.mixer{width:260px;max-width:calc(100% - 12px);box-sizing:border-box}.mixer-body{display:grid;gap:8px;min-width:0}.mixer-body .hint{text-align:center}.mixer-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.mixer-grid .inv-slot{width:52px;height:52px;padding:0;cursor:pointer}.mixer-grid .inv-slot .ass-tag{position:absolute;left:3px;bottom:1px;font-size:9px;font-weight:700;color:#c0392b}.mixer-bar{height:10px;border-radius:6px;background:#ffffff26;overflow:hidden}.mixer-bar-fill{height:100%;background:linear-gradient(#7fe08a,#2ea84a);transition:width .9s linear}.mixer-line{text-align:center;font-weight:700}.mixer-result{display:flex;justify-content:center;align-items:center;gap:6px;min-height:28px;font-weight:700}.mixer-result img{width:26px;height:26px;image-rendering:pixelated}.inv-slot.loaned{opacity:.4;filter:grayscale(.6);cursor:not-allowed}.inv-slot img{position:absolute;top:10%;right:10%;bottom:10%;left:10%;width:80%;height:80%;max-width:80%;max-height:80%;object-fit:contain;image-rendering:pixelated;-webkit-user-select:none;user-select:none}.inv-slot .qty{position:absolute;top:1px;left:3px;color:#a67800;font-size:11px;font-weight:700}.inv-foot{margin-top:8px;display:grid;gap:4px;font-size:12px;color:var(--ink)}.blood-line{color:#c4231a;font-weight:700}.stab-status.ready{color:#2f8a24;font-weight:700}.stab-status.used{color:var(--muted)}.music-locked{text-align:center;color:var(--muted);display:grid;gap:6px;padding:10px 0}.track-list{display:grid;gap:3px;margin-bottom:8px}.track{display:flex;gap:8px;align-items:center;padding:6px 8px;cursor:pointer;background:linear-gradient(#fff,#eceff3);border:1px solid #bcc2cc;border-radius:6px;color:var(--ink)}.track:hover,.track.on{background:linear-gradient(#e6efff,#cfe0fb)}.track-title{font-size:12px;font-weight:700}.now{color:#2a64d6;font-size:12px;margin:6px 0;font-weight:700}.seek,.vol{width:100%}.time{color:var(--muted);font-size:11px}.emote-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.emote-cell{position:relative;display:grid;justify-items:center;gap:2px;padding:6px 2px;cursor:pointer;background:linear-gradient(#fff,#e6e9ee);border:1px solid #b6bcc6;border-radius:6px;color:var(--ink);font:inherit}.emote-cell:hover{background:linear-gradient(#fff,#d6e3fa)}.emote-icon{display:flex;align-items:center;justify-content:center;height:34px}.emote-icon img{max-height:34px;max-width:40px;width:auto;height:auto;image-rendering:pixelated}.tab-ico{height:30px;width:auto;max-width:38px;image-rendering:pixelated;vertical-align:middle;pointer-events:none}.emote-name{font-size:11px;font-weight:700}.emote-cell.locked{opacity:.55}.emote-lock{position:absolute;top:1px;right:3px;font-size:10px}.emote-shop{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:10px}.emote-card{background:linear-gradient(#fff,#eef0f4);border:1px solid #b6bcc6;border-radius:10px;padding:12px;display:grid;justify-items:center;gap:4px;text-align:center}.emote-card.owned{border-color:#4cae3c}.emote-card-icon{font-size:34px}.emote-card-name{font-weight:700}.editor{display:grid;grid-template-columns:260px 1fr;gap:10px;align-items:start;max-width:1100px;margin:0 auto}@media (max-width: 760px){.editor{grid-template-columns:1fr}}.editor.solo{grid-template-columns:1fr;max-width:560px}.editor-solo{display:grid;gap:10px}.editor-solo .preview-box{margin:0}.editor-solo .tabs{margin:0;justify-content:center}.editor-solo .colors{margin:0}.editor-solo .gender,.editor-solo .editor-footer{margin-top:0}.editor-footer.sticky{position:sticky;bottom:0;z-index:2;padding:10px 0 2px;background:linear-gradient(#fff0,#fff 22%)}.preview-box{display:grid;place-items:center;gap:4px;padding:10px 0;margin-bottom:8px;background:repeating-conic-gradient(#dfe6ee 0,#dfe6ee 25%,#d4dce6 0,#d4dce6 50%) 0 0 / 24px 24px;border:1px solid #b6bcc6;border-radius:8px}.preview-canvas{width:192px;height:330px;image-rendering:pixelated}.preview-name{font-weight:700}.gender,.editor-footer{margin-top:10px;display:grid;gap:8px}.colors{margin-bottom:10px;display:grid;gap:6px;max-height:128px;overflow:auto}.swatch-row{display:flex;flex-wrap:wrap;gap:3px;align-items:center}.swatch-label{width:58px;color:var(--muted);font-size:12px}.swatch{width:22px;height:22px;border-radius:5px;border:1px solid rgba(0,0,0,.55);cursor:pointer;padding:0;box-shadow:inset 0 1px #fff6}.swatch.on{outline:2px solid #2a64d6;outline-offset:1px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px}.cell{position:relative;height:104px;background:linear-gradient(#fff,#e6e9ee);border:1px solid #b6bcc6;border-radius:8px;color:var(--ink);font:inherit;cursor:pointer;display:grid;place-items:center;padding:4px}.cell:hover{background:linear-gradient(#fff,#d6e3fa)}.cell.on{border-color:#2a64d6;box-shadow:0 0 0 2px #2a64d68c;background:linear-gradient(#e6efff,#c5d9fa)}.cell.none{color:var(--muted)}.thumb{height:80px;display:grid;place-items:center}.thumb-canvas{max-width:76px;max-height:80px;image-rendering:pixelated}.price{position:absolute;bottom:2px;left:0;right:0;font-size:12px;font-weight:700;color:#b0261c}.pager{margin-top:10px}.basket ul{margin:0;padding-left:18px;font-size:12px}.wardrobe{max-width:1000px;margin:0 auto}.wardrobe-current{display:flex;gap:14px;align-items:center;margin-bottom:14px}.wardrobe-canvas{width:96px;height:165px;image-rendering:pixelated}.slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.slot{background:linear-gradient(#fff,#eef0f4);border:1px solid #b6bcc6;border-radius:10px;padding:8px;display:grid;justify-items:center;gap:6px}.slot-title{color:var(--muted);font-size:12px;font-weight:700}.slot-empty{height:165px;display:grid;place-items:center;color:var(--muted)}.shop{max-width:1100px;margin:0 auto}.music-card{max-width:520px;display:grid;gap:10px}.messenger{position:fixed;right:12px;bottom:0;z-index:30;display:flex;align-items:flex-end;gap:8px;pointer-events:none}.messenger>*{pointer-events:auto}.friends-col{display:flex;flex-direction:column;align-items:flex-end}.friends-toggle{border-radius:8px 8px 0 0;display:inline-flex;gap:4px;align-items:center}.friends-panel{width:290px;max-height:60vh;display:flex;flex-direction:column;background:#fff;border:1px solid #6f7886;border-bottom:none;border-radius:10px 10px 0 0;margin-bottom:-1px;overflow:hidden;box-shadow:0 -2px 10px #00000059}.fp-head{display:flex;justify-content:space-between;align-items:center;padding:0 8px;height:40px;color:#fff;font:700 17px var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.45);background:linear-gradient(#bccadf,#a3b5d2 49%,#8aa2c6 51%,#6f8bb3);border-bottom:1px solid #3b4f72}.fp-add{padding:8px 10px;flex-wrap:nowrap;background:#dfe3ea;border-bottom:1px solid #b8bec8}.fp-dyn{overflow-y:auto;background:#fff}.fp-sec{padding:4px 0 8px;border-bottom:1px solid #d6d9de}.fp-label{color:#4c566c;font:700 12px var(--font);margin:6px 10px 2px;text-shadow:0 1px 0 #fff;text-transform:uppercase;letter-spacing:.3px}.frow{display:flex;align-items:center;gap:6px;padding:6px 10px;min-height:44px;border-top:1px solid #e1e4e9}.frow:first-child{border-top:0}.fname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;font-weight:700}.head{width:28px;height:28px;display:grid;place-items:center;flex:none}.head-canvas{max-width:28px;max-height:28px;image-rendering:pixelated}.chat-windows{display:flex;align-items:flex-end;gap:8px}.chat-window{width:290px;height:360px;display:flex;flex-direction:column;overflow:hidden;background:#dbe2ef;border:1px solid #3b4f72;border-bottom:none;border-radius:10px 10px 0 0;box-shadow:0 -2px 12px #00000073}.chat-window.min{height:44px}.cw-head{flex:none;display:flex;align-items:center;gap:4px;height:44px;padding:0 8px;cursor:pointer;background:linear-gradient(#bccadf,#a0b3d0 49%,#8199bf 50%,#6f8bb3);border-bottom:1px solid #3b4f72;box-shadow:inset 0 1px #ffffff8c}.cwh-side{flex:0 0 42px;display:flex;align-items:center}.cwh-side.right{justify-content:flex-end}.cw-title{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;color:#fff;font:700 16px var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.5)}.cw-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.cw-x{width:30px;height:28px;padding:0;border:1px solid #2f4a78;border-radius:5px;font:700 18px/1 var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.5);background:linear-gradient(#8fb0de,#5a85c4 49%,#3f6db5 50%,#4a7bc2);box-shadow:inset 0 1px #ffffff80;cursor:pointer}.cw-x:active{background:linear-gradient(#3a62a6,#5a85c4)}.cw-log,.bs-chatbg{background:repeating-linear-gradient(90deg,#dde3ef 0,#dde3ef 4px,#e4e9f3 4px,#e4e9f3 8px)}.cw-log{flex:1;overflow-y:auto;padding:6px 12px 10px;display:flex;flex-direction:column;gap:3px}.cw-stamp{align-self:center;margin:8px 0 4px;font:700 11px var(--font);color:#6a7690;text-shadow:0 1px 0 rgba(255,255,255,.8)}.cw-empty{margin:auto;font:700 14px var(--font);color:#6a7690;text-shadow:0 1px 0 rgba(255,255,255,.8)}.cw-delivered{align-self:flex-end;margin:-2px 6px 0;font:700 10px var(--font);color:#7a86a0;text-shadow:0 1px 0 rgba(255,255,255,.8)}.cw-msg{display:flex;flex-direction:column;align-items:flex-start}.cw-msg.mine{align-items:flex-end}.cw-msg.tail{margin-bottom:7px}.bs-msg{max-width:82%}.bs-bubble{max-width:100%}.cw-bubble{max-width:82%}.cw-bubble,.bs-bubble{position:relative;padding:6px 13px 7px;box-sizing:border-box;border:1px solid #8c97ad;border-radius:16px;word-break:break-word;font:14px/1.25 var(--font);color:#111;background:linear-gradient(#fff,#f5f7fa,#e9edf4);box-shadow:0 1px 1px #00000038,inset 0 1px #fff}.cw-msg.mine .cw-bubble,.bs-msg.me .bs-bubble{color:#0d2748;border-color:#4d7fc2;background:linear-gradient(#e4f1fe,#c6e1fb,#aed3f6);box-shadow:0 1px 1px #00000038,inset 0 1px #ffffffd9}.cw-msg.tail .cw-bubble,.bs-msg .bs-bubble{border-bottom-left-radius:0}.cw-msg.mine.tail .cw-bubble,.bs-msg.me .bs-bubble{border-bottom-left-radius:16px;border-bottom-right-radius:0}.cw-msg.tail .cw-bubble:after,.bs-bubble:after{content:"";position:absolute;left:-9px;bottom:-1px;width:11px;height:14px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='14' viewBox='0 0 11 14'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23f0f3f8'/><stop offset='1' stop-color='%23e9edf4'/></linearGradient></defs><path d='M11 0H8.5C8.5 6 6 11 0 14 3 13.4 6 13.2 11 13Z' fill='url(%23g)'/><path d='M8.5 0C8.5 6 6 11 0 14 3 13.4 6 13.6 9 13.5' fill='none' stroke='%238c97ad'/></svg>") no-repeat;pointer-events:none}.cw-msg.mine.tail .cw-bubble:after,.bs-msg.me .bs-bubble:after{left:auto;right:-9px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='14' viewBox='0 0 11 14'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23b8d8f8'/><stop offset='1' stop-color='%23aed3f6'/></linearGradient></defs><path d='M0 0H2.5C2.5 6 5 11 11 14 8 13.4 5 13.2 0 13Z' fill='url(%23g)'/><path d='M2.5 0C2.5 6 5 11 11 14 8 13.4 5 13.6 2 13.5' fill='none' stroke='%234d7fc2'/></svg>") no-repeat}.bs-bubble>*{position:relative;z-index:1}.cw-form,.bs-compose{flex:none;display:flex;align-items:center;gap:6px;padding:6px 7px;background:linear-gradient(#e1e5ec,#cdd3de);border-top:1px solid #7b8599;box-shadow:inset 0 1px #ffffffb3}.cw-input,.bs-input{flex:1;min-width:0;height:28px;padding:0 12px;box-sizing:border-box;border:1px solid #7d899f;border-radius:14px;background:#fff;color:var(--ink);font:14px var(--font);box-shadow:inset 0 2px 3px #0000004d,0 1px #fff9}.cw-input:focus,.bs-input:focus{outline:none}.cw-send{flex:none;height:28px;padding:0 12px;border:1px solid #28508f;border-radius:14px;font:700 13px var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.5);background:linear-gradient(#86b6f4,#4586e6 49%,#2166d6 50%,#3c8aee);box-shadow:inset 0 1px #ffffff8c,0 1px #fff9;cursor:pointer}.cw-send:disabled{border-color:#7d869a;color:#eef0f4;background:linear-gradient(#cfd4de,#9ea6b5);box-shadow:inset 0 1px #ffffff80;cursor:default}.bs-compose .sc-cbtn.plus{border-color:#6e7a90;color:#59647c;background:linear-gradient(#fbfbfd,#d4dae5 49%,#b3bccb 50%,#c9d0dc);box-shadow:inset 0 1px #fff,0 1px #ffffff80;filter:none}.cw-send:active:not(:disabled){background:linear-gradient(#2166d6,#4586e6)}.invite-popups{position:fixed;top:80px;right:14px;z-index:40;display:grid;gap:8px}.invite-card{max-width:280px;display:grid;gap:8px;color:#fff;padding:12px;border-radius:10px;border:1px solid #c8d0e0;background:linear-gradient(#1a2b66,#0a1440);box-shadow:0 6px 18px #00000080}.ctx-menu{position:fixed;z-index:50;min-width:168px;border:1px solid #c8d0e0;border-radius:10px;overflow:hidden;color:#fff;font-size:14px;-webkit-user-select:none;user-select:none;background:linear-gradient(#1b2d6b,#0b1747,#081238);box-shadow:0 6px 18px #0000008c}.ctx-head{padding:5px 10px;font-weight:700;font-size:12px;text-align:center;color:#cdd7ee;background:linear-gradient(#ffffff38,#ffffff0d);border-bottom:1px solid rgba(255,255,255,.18)}.ctx-opt{padding:8px 12px;cursor:pointer;border-top:1px solid rgba(255,255,255,.12);font-weight:700}.ctx-opt:hover{background:linear-gradient(#5d71a8,#3b4f86)}.ctx-target{color:#ffe27a}.ctx-danger{color:#ff9c92}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;transition:all .25s;color:#fff;font-weight:700;background:#000000db;border:1px solid rgba(255,255,255,.35);padding:10px 16px;border-radius:12px;z-index:70;box-shadow:0 4px 14px #00000080}.toast.err{background:#780c08eb}.toast.show{opacity:1;transform:translate(-50%)}.msg-toast{bottom:60px;cursor:pointer;display:flex;align-items:center;gap:9px;max-width:300px;padding:7px 14px 7px 8px;text-align:left;font-weight:400;border:1px solid #000;border-radius:9px;background:linear-gradient(#606268,#3a3c40 49%,#242528 50%,#161719);box-shadow:inset 0 1px #ffffff4d,0 3px 10px #0000008c}.mt-icon{position:relative;flex:none;width:30px;height:30px;border:1px solid #1d5b0e;border-radius:7px;background:linear-gradient(#a0e87a,#55bf33 50%,#34a418 50%,#46b829);box-shadow:inset 0 1px #fff9}.mt-icon:before{content:"";position:absolute;left:5px;top:7px;width:18px;height:12px;border-radius:50%;background:#fff}.mt-icon:after{content:"";position:absolute;left:7px;top:16px;width:0;height:0;border-top:6px solid #fff;border-right:6px solid transparent}.mt-text{display:flex;flex-direction:column;min-width:0;font-size:12px}.mt-text b{font-size:13px;color:#fff;text-shadow:0 -1px 0 #000}.mt-text span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d4d6da}.cd-popup{position:absolute;top:44px;right:10px;z-index:5;width:232px;display:grid;gap:6px;color:#fff;padding:10px 12px;border-radius:10px;border:1px solid #c8d0e0;background:linear-gradient(#1a2b66,#0a1440);box-shadow:0 6px 18px #0000008c}.cd-popup .hint{color:#b6c2e0}.furnish-ui{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:6;display:flex;flex-direction:column;justify-content:space-between}.furnish-ui>*{pointer-events:auto}.fz-head{display:grid;gap:4px;margin:6px}.fz-top{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 10px;border-radius:10px;background:#0a1440db;color:#fff}.fz-title{font-weight:700}.fz-bar{display:flex;align-items:center;gap:8px;padding:4px 10px;border-radius:10px;background:#0a1440db;color:#fff;justify-self:start}.fz-sel{display:grid;gap:1px}.fz-sel .hint{color:#b6c2e0;font-size:11px}.fz-tray{margin:6px;padding:4px 8px 6px;border-radius:12px;background:#0a1440e6;color:#fff}.fz-tabs{display:flex;gap:6px;align-items:center;margin-bottom:4px;flex-wrap:wrap}.fz-tabs .tab{padding:3px 10px;font-size:12px}.fz-tabs .hint{color:#b6c2e0;font-size:11px}.fz-list{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.fz-cell{flex:0 0 64px;display:grid;gap:2px;justify-items:center;padding:3px;border-radius:8px;background:#ffffff14}.fz-cell.on{outline:2px solid #ffe27a}.fz-pick{position:relative;width:44px;height:44px;padding:2px;border:0;border-radius:8px;background:#ffffff1a;cursor:pointer}.fz-pick img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.fz-pick .qty{position:absolute;right:2px;bottom:0;font-size:11px;font-weight:700;color:#ffe27a}.fz-name{font-size:9px;text-align:center;line-height:1.1;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fz-mini{padding:0 8px;font-size:10px;line-height:16px}.fz-btns{display:flex;gap:3px}.fz-pick.thing{cursor:default}.fz-pick .ass-tag{position:absolute;left:1px;top:0;font-size:8px;font-weight:700;color:#ffb4a0}.loudspeaker-banner{position:fixed;top:8px;left:8px;right:8px;z-index:9500;display:grid;gap:2px;padding:10px 12px;border-radius:10px;color:#fff;background:linear-gradient(#b3261e,#6e1410);border:2px solid #ffd75a;box-shadow:0 6px 18px #0009;font-size:15px;text-align:center;animation:loudpulse .5s ease-in-out infinite alternate;pointer-events:none}.loudspeaker-banner b{color:#ffd75a}@keyframes loudpulse{0%{transform:scale(1)}to{transform:scale(1.02)}}.nod-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9000;background:#000;opacity:0;pointer-events:none;transition:opacity 1.4s ease-in-out}.nod-overlay.on{opacity:.94}.bagmand-shop .sixty-ico{image-rendering:pixelated}.dmt-overlay{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;z-index:9000;pointer-events:none;image-rendering:pixelated;opacity:0}.blackout{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;opacity:0;transition:opacity .3s ease;z-index:9999;pointer-events:all}.furni-buy{width:250px}.furni-buy-body{display:flex;gap:10px;align-items:center}.furni-buy-img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated;background:#ffffff14;border-radius:8px;padding:4px}.fb-stage{position:relative;height:min(70vh,540px);width:calc(min(70vh,540px)*.5625);aspect-ratio:9 / 16;max-width:100%;margin:0 auto 6px;border-radius:8px;overflow:hidden;background:#4ec0ca;touch-action:none;user-select:none;-webkit-user-select:none}.fb-stage canvas{display:block;width:100%;height:100%;touch-action:none}.fb-trophy{position:absolute;top:8px;left:8px;z-index:3;width:36px;height:36px;border-radius:50%;border:2px solid #543847;background:#ded895;font-size:18px;line-height:1;cursor:pointer}.fb-board{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;display:flex;flex-direction:column;gap:8px;padding:12px;background:#140e12f2;color:#fff}.fb-board[hidden]{display:none}.sixty-row.flash-hint{animation:hintflash .7s ease-in-out infinite alternate;border-radius:8px}@keyframes hintflash{0%{background:#ffe23c14;box-shadow:0 0 #ffd62800}to{background:#ffe23c73;box-shadow:0 0 14px #ffd628e6}}.fb-board-head{display:flex;align-items:center;justify-content:space-between;font-size:18px;padding-right:40px}.fb-board-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.fb-board-row{display:flex;gap:10px;align-items:center;padding:6px 8px;border-radius:6px;background:#ffffff14}.fb-board-row.me{background:#ded89559;font-weight:700}.fb-rank{width:24px;text-align:right;color:#ded895}.fb-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fb-score{font-weight:700}.door-actions{display:inline-flex;gap:4px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.sixty-shop{width:280px;max-width:calc(100% - 20px);left:10px;right:auto;top:44px;max-height:calc(100% - 60px);overflow-y:auto;-webkit-overflow-scrolling:touch}.sixty-pick{display:grid;gap:6px;padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.12)}.sixty-pick-row{gap:6px;align-items:center}.sixty-qty{flex:1;min-width:60px}.sixty-qty-label{font-size:12px;color:#ffe27a;min-width:62px;text-align:right}.decorate-btn{position:absolute;bottom:12px;right:12px;z-index:6}.decorate-btn.reset-stage-btn{right:150px}.carry-turn{position:absolute;bottom:12px;left:50%;transform:translate(-50%);z-index:6}.poster-editor{width:270px;max-width:calc(100% - 20px);box-sizing:border-box;left:50%;right:auto;transform:translate(-50%);top:24px;max-height:calc(100% - 40px);overflow-y:auto}.poster-editor .poster-file{color:#fff;font-size:12px;max-width:100%}.poster-stage{display:grid;place-items:center;background:#0a1440;border:1px solid #3d4f8f;border-radius:8px;padding:6px}.poster-preview{width:126px;height:192px;image-rendering:pixelated;touch-action:none;cursor:grab;background:#e7d9a6;border:2px solid #4a4f55}.poster-row{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}.poster-zoom{width:100%}.sixty-body{display:grid;gap:8px}.sixty-row{display:grid;grid-template-columns:36px 1fr auto;gap:8px;align-items:center}.sixty-ico{width:36px;height:36px;image-rendering:pixelated}.sixty-name{font-weight:700;color:#ffe27a}.sixty-main .hint{font-size:10px;line-height:1.25}.cd-head{display:flex;justify-content:space-between;align-items:center}.cd-title{font-weight:700;color:#ffe27a;word-break:break-word}.cd-bar{height:6px;background:#05102e;border-radius:3px;overflow:hidden;border:1px solid #3a4a80}.cd-fill{height:100%;width:0;background:linear-gradient(#8fd0ff,#3a86e8);transition:width .45s linear}.cd-row{display:flex;align-items:center;gap:6px}.cd-vol{min-width:44px;text-align:center;font-weight:700}.arcade-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#000000a6;display:grid;place-items:center;padding:16px}.arcade-screen{width:min(520px,100%);color:#fff;border-radius:12px;border:1px solid #c8d0e0;padding:12px;background:linear-gradient(#1b2d6b,#0b1747,#081238);box-shadow:0 8px 28px #0009}.arcade-screen.solo{position:relative;display:block;width:auto;padding:5px;border-radius:10px}.arcade-screen.solo .arcade-body{display:block}.arcade-screen.solo .arcade-head{display:none}.arcade-screen.solo .fb-stage{margin:0;height:min(70vh,540px);width:calc(min(70vh,540px)*.5625);border-radius:6px}.arcade-x{display:none}.arcade-screen.solo .arcade-x{display:block;position:absolute;top:8px;right:8px;z-index:5}.arcade-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:8px}.arcade-title{font-weight:700;font-size:17px;text-shadow:0 -1px 0 rgba(0,0,0,.5)}.arcade-body{display:grid;justify-items:center;gap:8px}.arcade-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;width:100%}.arcade-card{color:#fff;border:1px solid #8fa0cc;border-radius:10px;padding:12px 8px;cursor:pointer;font:inherit;display:grid;justify-items:center;gap:4px;background:linear-gradient(#34488a,#1a2a60 50%,#121f52 51%,#1d2c64)}.arcade-card:hover:not(:disabled){border-color:#fff}.arcade-card.soon{opacity:.5;cursor:not-allowed}.arcade-icon{font-size:30px}.arcade-name{font-weight:700}.arcade-canvas{width:360px;max-width:100%;image-rendering:pixelated;border:2px solid #8fa0cc;border-radius:6px;background:#0b1a24}.arcade-score{color:#bfe6ff;font-family:monospace}.roompanel{display:grid;gap:8px}.rp-sec{display:grid;gap:4px;padding-bottom:8px;border-bottom:1px solid #d6d9de}.rp-label{font-size:11px;color:#4c566c;font-weight:700;text-transform:uppercase;letter-spacing:.4px}.rp-chips{display:flex;flex-wrap:wrap;gap:4px}.chip{padding:3px 7px;font-size:11px;font-weight:700;background:linear-gradient(#fff,#e1e4e9);color:var(--ink);border:1px solid #aab0ba;border-radius:5px;cursor:pointer}.chip.on{background:linear-gradient(#4b6a9e,#355487);color:#fff}.swatch2{width:24px;height:20px;padding:0}.invite-list{display:grid;gap:3px;max-height:160px;overflow-y:auto}.invite-row{display:flex;align-items:center;gap:6px;font-size:12px}.invite-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.navigator{max-width:760px;margin:0 auto}.nav-sec{margin-bottom:14px}.room-card{display:flex;align-items:center;gap:10px;background:linear-gradient(#fff,#eef0f4);border:1px solid #b6bcc6;border-radius:10px;padding:10px 12px;margin-bottom:6px}.rc-main{flex:1;min-width:0}.rc-name{font-weight:700}.rc-count{color:var(--muted);font-size:12px}.admin{max-width:1180px;margin:0 auto}.admin-tabs{margin-bottom:12px}.admin-tabs .tab{font-size:13px;padding:6px 14px}.admin-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}.admin-bar .mini-input{max-width:240px;flex:0 1 240px}.admin-bar select{padding:5px 8px;border-radius:6px;border:1px solid #9ea5b0;background:#fff;font:13px var(--font)}.atable{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.atable th{text-align:left;padding:6px 10px;font:700 11px var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.45);text-transform:uppercase;letter-spacing:.4px;background:linear-gradient(#aebdd3,#7e97bc);border-bottom:1px solid #3f5880;position:sticky;top:0;z-index:1}.atable td{padding:6px 10px;border-top:1px solid #e1e4e9;vertical-align:middle}.atable tr:hover td{background:#f1f5fc}.atable .num{text-align:right;font-variant-numeric:tabular-nums}.scroll-box{max-height:calc(100vh - 230px);overflow:auto;background:#fff;border:1px solid #a9aeb6;border-radius:10px}.pill{display:inline-block;padding:1px 8px;border-radius:9px;font:700 11px var(--font);color:#fff;background:#6d86ab;text-shadow:0 -1px 0 rgba(0,0,0,.35)}.pill.stab{background:#c4382d}.pill.syringe{background:#b8326f}.pill.buy{background:#2f8a24}.pill.login{background:#3a78d8}.pill.register{background:#8a4fc9}.pill.cd{background:#d27a14}.pill.emote{background:#3aa0b8}.pill.friend{background:#39a36a}.pill.admin{background:#222}.convo-list{display:grid;grid-template-columns:260px 1fr;gap:10px}@media (max-width: 760px){.convo-list{grid-template-columns:1fr}}.convo-item{padding:8px 10px;border-top:1px solid #e1e4e9;cursor:pointer}.convo-item:first-child{border-top:0}.convo-item:hover,.convo-item.on{background:#e4edfb}.convo-item .who{font-weight:700}.apanel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.acard{position:relative;background:linear-gradient(#fff,#eceff3);border:1px solid #b6bcc6;border-radius:9px;padding:8px;display:grid;gap:4px;justify-items:center;text-align:center}.acard.sel{border-color:#2a64d6;box-shadow:0 0 0 2px #2a64d680}.acard .thumb{height:86px}.acard .nm{font-size:11px;color:var(--muted)}.acard input[type=number]{width:56px;padding:3px 5px;border:1px solid #9ea5b0;border-radius:5px;text-align:center}.acard label{font-size:11px;display:flex;align-items:center;gap:4px}.acard .tag{position:absolute;top:3px;left:4px;font-size:10px;font-weight:700;color:#fff;padding:0 5px;border-radius:6px;background:#6d86ab}.acard .tag.off{background:#999}.acard .tag.free{background:#2f8a24}.acard .tag.club{background:#c58a00}.adminstat{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.adminstat .panel{padding:8px 14px}.adminstat b{font-size:20px;display:block}.privnote{background:#fff8d8;border:1px solid #d9c36b;border-radius:8px;padding:8px 10px;font-size:12px;color:#5b4b00;margin-bottom:10px}@supports (height: 100dvh){html,body,#app{height:100dvh}}html.kb,html.kb body{overflow:hidden;overscroll-behavior:none;touch-action:manipulation}html.kb #app{position:fixed;left:0;right:0;top:var(--vv-top, 0px);height:var(--vv-h, 100dvh)}html.kb .messenger{bottom:var(--kb-gap, 0px)}html.kb .chat-window{height:min(62vh,calc(var(--vv-h, 100dvh) - 56px))}html.kb .chat-bar{padding-bottom:7px}html.kb .side-host{display:none}.onb-host{flex:1;min-height:0;overflow:auto;display:flex;justify-content:center;align-items:flex-start;padding:18px 12px calc(18px + env(safe-area-inset-bottom));background:#c9d6d8 url(../ios6/wallpaper-real.jpg) center top / cover no-repeat}.onb{width:100%;display:flex;justify-content:center}.onb-card{width:min(420px,100%);display:grid;gap:12px;padding:16px;background:#fffffff0;border:1px solid #8f959f;border-radius:14px;box-shadow:0 4px 18px #1e323c59}.onb-card.wide{width:min(960px,100%)}.onb-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.onb-head h1{margin:0;font:700 22px var(--font);color:#2c3a55;text-shadow:0 1px 0 #fff}.onb-steps{display:flex;gap:6px}.onb-steps span{width:10px;height:10px;border-radius:50%;background:#c4cad4;border:1px solid #8f959f}.onb-steps span.on{background:#3b78e6;border-color:#1f3f94}.onb-sub{margin:0}.onb-gender{display:flex;justify-content:center}.onb-gender .tab{flex:0 1 120px;padding:7px 10px;font-size:14px}.onb-stage{display:grid;place-items:center;padding:10px 0;background:repeating-conic-gradient(#dfe6ee 0,#dfe6ee 25%,#d4dce6 0,#d4dce6 50%) 0 0 / 24px 24px;border:1px solid #b6bcc6;border-radius:10px}.onb-avatar{width:192px;height:330px;image-rendering:pixelated}.onb-dice{font-size:16px;padding:6px 20px}.onb-next{width:100%;min-height:46px;font-size:16px}.onb-rooms{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:start}.onb-room{display:grid;gap:4px;padding:8px;text-align:left;font:inherit;color:var(--ink);cursor:pointer;background:linear-gradient(#fff,#eef0f4);border:2px solid #b6bcc6;border-radius:12px}.onb-room.on{border-color:#2a64d6;box-shadow:0 0 0 3px #2a64d659}.onb-room-preview{display:grid;place-items:center;min-height:120px;background:var(--cold);border-radius:8px;overflow:hidden}.onb-room-preview canvas{max-width:100%;height:auto!important}.onb-room-name{font-weight:700;font-size:16px}@media (max-width: 760px){.onb-rooms{grid-template-columns:1fr}.onb-avatar{width:160px;height:275px}}.door-popup{position:absolute;z-index:8;bottom:10px;left:50%;transform:translate(-50%);width:min(460px,calc(100% - 16px));height:min(600px,calc(100% - 60px));max-height:calc(100% - 60px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #6f7886;border-radius:12px;box-shadow:0 8px 26px #0000008c}.door-popup.arming{pointer-events:none}.door-head{display:flex;justify-content:space-between;align-items:center;flex:none;height:42px;padding:0 10px;color:#fff;font:700 17px var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.45);background:linear-gradient(#bccadf,#a3b5d2 49%,#8aa2c6 51%,#6f8bb3);border-bottom:1px solid #3b4f72}.door-body{overflow:auto;padding:10px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-content:start;-webkit-overflow-scrolling:touch}.door-body>*{min-width:0}.door-main{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.door-big{min-height:48px;font-size:16px}.door-search{position:relative;display:flex;flex:none}.door-search .mini-input{flex:1;min-width:0;padding-right:30px}.door-clear{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:24px;height:24px;border:0;border-radius:12px;background:#c9ced8;color:#fff;font:700 12px/24px var(--font);cursor:pointer;visibility:hidden}.door-status{flex:none;margin-top:-4px}.door-list{display:grid;border:1px solid #d6d9de;border-radius:10px;overflow:hidden}.door-body.door-flex{display:flex;flex-direction:column;gap:8px;overflow:hidden;flex:1;min-height:0}.door-body.door-flex>.door-main,.door-body.door-flex>.fp-label{flex:none}.door-scroll{flex:1;min-height:110px;overflow-y:auto;align-content:start;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.door-mark{background:#ffe27a;color:inherit;border-radius:2px;padding:0 1px}.door-list:empty{display:none}.door-row{display:flex;align-items:center;gap:8px;min-height:54px;padding:8px 10px;border-top:1px solid #e1e4e9}.door-row:first-child{border-top:0}.door-row-main{flex:1;min-width:0}.door-rank{flex:none;padding:1px 6px;border-radius:9px;background:#e9ecf2;border:1px solid #b6bdc9;color:#55607a;font-size:11px;font-weight:700}.door-profile{flex:none;padding-left:8px;padding-right:8px;min-width:0}.door-row-name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.door-knock{display:grid;justify-items:center;gap:10px;padding:22px 8px;text-align:center}.door-knock-ico{font-size:44px}.fwhere{display:block;font-size:11px;font-weight:400;color:var(--muted)}.fp-knocks{background:#fff7dc}.knock-ico{font-size:20px;width:28px;text-align:center;flex:none}.knock-name{white-space:normal}.knock-card{border-color:#e6c14d}.chip.wp{width:34px;height:24px;padding:0;background-size:64px auto;image-rendering:pixelated}.studio{max-width:1180px;margin:0 auto}.studio-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:10px;align-items:start;margin-bottom:10px}.studio-preview{display:grid;gap:8px}.design-preview{width:192px;height:330px;image-rendering:pixelated}.design-card{cursor:pointer;font:inherit;color:inherit}.dropzone{border:2px dashed #8f959f;border-radius:10px;padding:28px 12px;margin:8px 0;text-align:center;color:var(--muted);background:#f6f8fb}.dropzone.over{border-color:#2a64d6;background:#e8f0ff}.pattern-tile{width:64px;height:64px;image-rendering:pixelated;border:1px solid #8f959f;border-radius:6px}.studio-save{position:sticky;bottom:0;z-index:3}.painter{display:grid;gap:8px}.paint-top{display:grid;gap:6px}.paint-top .seg{display:flex;flex-wrap:wrap;gap:4px}.paint-top .tab{flex:0 1 auto;margin:0;border-radius:5px}.paint-body{display:grid;grid-template-columns:minmax(180px,250px) minmax(0,1fr);gap:10px;align-items:start}.paint-side{display:grid;gap:8px}.paint-tools{display:flex;flex-wrap:wrap;gap:4px}.paint-palette{display:flex;flex-wrap:wrap;gap:3px;flex:1}.paint-color{width:36px;height:30px;padding:0;background:none;border:1px solid #8f959f;border-radius:6px}.paint-wrap{overflow:auto;max-height:560px;display:flex;justify-content:center;padding:8px;background:#e9edf3;border:1px solid #a9aeb6;border-radius:10px}.paint-canvas{flex:none;image-rendering:pixelated;touch-action:none;cursor:crosshair}.osrs-panel.collapsed .osrs-body{display:none}@media (max-width: 900px){.room-main{display:contents}.stage{order:1;min-height:200px}.chat-bar{order:2;padding-right:8px}.side-host{order:3;width:100%;max-height:34vh;overflow:auto}.osrs-tab{font-size:18px;padding:6px 0}.inv-grid{grid-template-columns:repeat(7,34px);gap:3px;justify-content:center;padding:4px}.osrs-title{display:none}.osrs-body{padding:5px}.osrs-tab{padding:3px 0}.tab-ico{height:24px}.btn.drop-btn{min-width:90px;padding:3px 20px;min-height:26px;font-size:13px}.drop-foot{margin-top:4px}.emote-grid{grid-template-columns:repeat(4,1fr)}.online{top:6px;right:6px;padding:4px 8px;font-size:11px;cursor:pointer}.online>div{display:none}.online.open>div{display:block}.room-title{top:6px;left:6px;transform:none;font-size:11px;max-width:calc(100% - 100px);overflow:hidden;text-overflow:ellipsis}.action-hint{top:34px}.chat-log{max-height:22%;width:calc(100% - 20px);font-size:12px}.cd-popup{top:40px;right:6px}}@media (max-width: 640px){input,select,textarea{font-size:16px}.friends-toggle{display:none}.messenger{left:0;right:0;flex-direction:column;align-items:stretch;gap:0}.friends-col{width:100%;align-items:stretch}.friends-panel{width:100%;max-height:48vh;border-radius:12px 12px 0 0;padding-bottom:env(safe-area-inset-bottom)}.chat-windows{width:100%}.chat-window{width:100%;height:40vh;border-radius:12px 12px 0 0}.chat-windows .chat-window:not(:last-child){display:none}.invite-popups{left:10px;right:10px;top:100px}.invite-card{max-width:none}.toast{max-width:92vw;text-align:center}.msg-toast{bottom:80px}.ctx-opt{padding:12px 14px}.btn{min-height:38px}.btn.small{min-height:32px}.preview-canvas{width:144px;height:248px}.design-preview{width:144px;height:248px;justify-self:center}.studio-save{position:static}.editor-left,.editor-right{padding:10px}.admin-tabs .tab{flex:1 1 30%;text-align:center}.atable{min-width:520px}.adminstat .panel{flex:1 1 28%}.convo-list{grid-template-columns:1fr}.lock{padding-top:14px}.lock-clock .t{font-size:52px}}@media (max-width: 800px){.studio-grid,.paint-body{grid-template-columns:1fr}}@media (pointer: coarse){input,select,textarea,.chat-input,.cw-input,.mini-input,.cellrow input,.admin-bar select{font-size:16px}}.furni-thumb{width:96px;height:96px;image-rendering:pixelated}.furni-preview{width:100%;max-width:320px;height:auto;image-rendering:pixelated;background:var(--cold);border-radius:8px;border:1px solid #b6bcc6}.nitro-fig,.nitro-garment{margin-bottom:10px}.stage.horror{background:radial-gradient(ellipse 70% 62% at 50% 46%,#3b4244,#1d2224 52%,#0b0d0e);border-color:#11181a;box-shadow:inset 0 0 60px #000c}.stage.horror>*{z-index:2}.stage.horror:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 55% 50% at 50% 40%,#fff4c81a,#0000 70%),radial-gradient(ellipse at 50% 50%,#0000 38%,#0000008c);animation:bulb 9s infinite}@keyframes bulb{0%,to{opacity:1}41%{opacity:1}42%{opacity:.35}43%{opacity:.95}44%{opacity:.3}46%{opacity:1}78%{opacity:.85}79%{opacity:.5}80%{opacity:1}}.stage.horror .room-title,.stage.horror .online{background:#000000b3}@media (prefers-reduced-motion: reduce){.stage.horror:before{animation:none}}.wake-fade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:9;pointer-events:none;background:#000;animation:wakefade 2.1s ease-in .35s forwards}@keyframes wakefade{0%{opacity:1}35%{opacity:.85}50%{opacity:.55}62%{opacity:.75}to{opacity:0}}.onb-sleep{text-align:center;padding:28px 20px}.onb-zzz{font-size:56px;line-height:1;animation:zzz 3s ease-in-out infinite}@keyframes zzz{0%,to{transform:translateY(0);opacity:.7}50%{transform:translateY(-8px);opacity:1}}.onb-wake{font-size:20px;min-height:54px}.onb-wake-wrap{width:min(320px,100%);margin-top:28vh}.onb-wake-wrap .onb-wake{box-shadow:0 4px 18px #1e323c73}.trade-popups{position:fixed;top:64px;left:50%;transform:translate(-50%);z-index:9000;display:grid;gap:8px;width:min(94vw,360px)}.trade-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:8000;background:#080c1eb8;display:flex;align-items:center;justify-content:center;padding:8px}.trade-win{width:min(100%,520px);max-height:96vh;overflow-y:auto;border-radius:14px;border:1px solid #c8d0e0;background:linear-gradient(#1a2b66,#0a1440);color:#fff;padding:10px 12px;box-shadow:0 10px 30px #0009}.trade-body{display:grid;gap:8px}.trade-head{display:flex;justify-content:space-between;align-items:center}.trade-sec{display:grid;gap:4px;padding:6px 8px;border-radius:10px;background:#ffffff12}.trade-label{font-size:12px;color:#b6c2e0;display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.trade-label .ok{color:#9dff5a;font-weight:700}.trade-step{display:inline-flex;gap:4px}.trade-step .chip{padding:1px 8px;font-size:11px}.trade-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:4px;align-items:center}.trade-grid.small{min-height:46px}.trade-cell{position:relative;width:100%;aspect-ratio:1;padding:3px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#ffffff1a;cursor:pointer}.trade-cell:disabled{cursor:default}.trade-cell.empty{background:#ffffff0a;border-style:dashed;cursor:default}.trade-cell.dim{opacity:.4}.trade-cell img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;pointer-events:none}.trade-cell .qty{position:absolute;right:3px;bottom:1px;font-size:11px;font-weight:700;color:#ffe27a;text-shadow:0 1px 2px #000}.trade-cell .ass-tag{position:absolute;left:2px;top:1px;font-size:9px;color:#ff9d9d}.trade-cell.blood{background:#a0141e59}.trade-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center}.hint.warn{color:#ffb3b3}.cd-popup.landlord{width:270px;max-height:calc(100% - 60px);overflow-y:auto}.landlord-body{display:grid;gap:6px}.ll-label{font-weight:700;font-size:12px;margin-top:4px;color:#ffe27a}.ll-row{display:flex;justify-content:space-between;align-items:center;gap:8px}.ll-row.owned .ll-name{opacity:.7}.ll-done{color:#8fe08f;font-weight:700;font-size:12px}.lang-item{display:flex;align-items:center;gap:8px}.flag-ico{display:inline-block;line-height:0}.flag-ico svg{width:24px;height:17px;display:block;border-radius:2px;box-shadow:0 0 0 1px #0000004d}.tint-picker{width:30px;height:22px;padding:0;border:1px solid #aab0ba;border-radius:5px;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);cursor:pointer}.tint-picker::-webkit-color-swatch-wrapper{padding:0;opacity:0}.ll-part{font-size:11px;font-weight:700;color:#b6c2e0;margin-top:2px}.ll-preview{display:flex;justify-content:center;background:radial-gradient(#e9eef6,#c9d3e3);border-radius:8px;padding:4px 0;min-height:60px}.ll-preview canvas{max-width:100%;height:auto}.mixer-q{font:700 22px Verdana,sans-serif;color:#b0842a;text-shadow:0 1px 0 rgba(255,255,255,.6);margin-right:4px}.admin-name{position:absolute;left:3px;bottom:2px;font:10px/1 Verdana,sans-serif;background:#000000a6;color:#ffe27a;padding:2px 4px;border-radius:4px;cursor:copy;-webkit-user-select:text;user-select:text}.admin-name:hover{background:#2a64d6;color:#fff}.cd-popup{box-sizing:border-box;max-width:calc(100% - 12px)}.cd-popup>*{min-width:0}.cd-popup .cd-row{flex-wrap:wrap}.cd-popup .btn{white-space:nowrap}.cd-popup .cd-bar{width:100%;box-sizing:border-box}body.greenscreen{background:#0f0!important}body.greenscreen .stage{background:#0f0!important;border-color:#0f0;box-shadow:none}body.greenscreen .side-host,body.greenscreen .room-title,body.greenscreen .online,body.greenscreen .action-hint,body.greenscreen .chat-log,body.greenscreen .navbar{display:none!important}/* ==================== iOS 7 Profile Window (.pw-*) ==================== */
.pw-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.pw-card {
  width: min(620px, 100%);
  max-height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #efeff4;
  color: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 0.5px solid rgba(0, 0, 0, 0.15);
}

.pw-head-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 14px 14px 0 0;
  background: rgba(248, 248, 248, 0.94);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 0.5px solid #c8c7cc;
  box-shadow: none;
}

.pw-head-bar strong {
  flex: 1;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #000000;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.4px;
  text-shadow: none;
}

.pw-spacer {
  width: 58px;
  flex: none;
}

.pw-x {
  flex: none;
  min-width: 50px;
  height: 32px;
  border: none;
  border-radius: 0;
  color: #007aff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.4px;
  text-shadow: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: opacity 0.15s;
}

.pw-x:active {
  opacity: 0.5;
  filter: none;
}

.pw-body {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 128px;
  min-height: 300px;
  border-radius: 0 0 14px 14px;
  background-color: #efeff4;
  background-image: none;
}

.pw-left {
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.pw-sec {
  margin: 10px 8px 4px;
  color: #6d6d72;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  text-shadow: none;
}

.pw-sec.small {
  margin: 4px 0 8px;
  font-size: 12px;
  text-align: center;
}

.pw-group {
  background: #ffffff;
  border: 0.5px solid #c8c7cc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
}

.pw-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-top: 0.5px solid #e5e5ea;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.pw-group > :first-child {
  border-top: 0;
}

.pw-btn:active:not(:disabled) {
  background: #e5e5ea;
  color: #000000;
}

.pw-btn:disabled {
  color: #c7c7cc;
  cursor: default;
}

.pw-btn:disabled .pw-ico {
  opacity: 0.4;
}

.pw-btn.primary {
  color: #007aff;
  font-weight: 500;
}

.pw-ico {
  flex: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1;
  border: none;
  box-shadow: none;
}

.tone-green { background: #34c759; color: #fff; }
.tone-red { background: #ff3b30; color: #fff; }
.tone-orange { background: #ff9500; color: #fff; }
.tone-blue { background: #007aff; color: #fff; }
.tone-teal { background: #5ac8fa; color: #fff; }
.tone-purple { background: #af52de; color: #fff; }
.tone-pink { background: #ff2d55; color: #fff; }
.tone-yellow { background: #ffcc00; color: #fff; }
.tone-gray { background: #8e8e93; color: #fff; }

.pw-lbl {
  flex: 1;
  min-width: 0;
  font-size: 16px;
}

.pw-chev {
  flex: none;
  color: #c7c7cc;
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
}

.pw-confirm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
}

.pw-mid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 12px 4px;
  padding: 16px 12px 14px;
  min-width: 0;
  min-height: 380px;
  border-radius: 12px;
  background: var(--pw-bg, #f3c6e0);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.pw-avatar {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: stretch;
}

.pw-avatar:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 120px;
  height: 14px;
  transform: translate(-50%);
  border-radius: 50%;
  background: radial-gradient(rgba(0, 0, 0, 0.22), transparent 70%);
  z-index: 0;
}

.pw-avatar canvas, .pw-avatar .fig {
  position: relative;
  z-index: 1;
  width: min(100%, 192px);
  height: auto;
  image-rendering: pixelated;
}

.pw-bubble {
  position: relative;
  align-self: stretch;
  margin-top: 16px;
  padding: 10px 14px;
  background: #ffffff;
  color: #000000;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
  text-shadow: none;
}

.pw-bubble:before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  transform: rotate(45deg);
  background: #ffffff;
  border-left: 0.5px solid rgba(0, 0, 0, 0.12);
  border-top: 0.5px solid rgba(0, 0, 0, 0.12);
  border-top-left-radius: 3px;
}

.pw-bubble.empty {
  color: #8e8e93;
  font-style: normal;
}

.pw-right {
  padding: 12px 12px 10px 6px;
}

.pw-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 8px;
}

.pw-tile {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}

.pw-tile:hover {
  transform: scale(1.03);
}

.pw-tile.empty {
  border: 1.5px dashed #c7c7cc;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  color: #c7c7cc;
  cursor: default;
}

.pw-tile.empty:hover {
  transform: none;
}

.pw-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  text-shadow: none;
}

.pw-badge.heart {
  background: #ff2d55;
}

.pw-badge.star {
  background: #ff9500;
}

.pw-gift, .pw-edit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pw-grow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 12px;
  background: #ffffff;
  border: 0.5px solid #c8c7cc;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: none;
}

.pw-gico {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}

.pw-gname {
  flex: 1;
  min-width: 80px;
}

.pw-status-in {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 12px;
  border: 0.5px solid #c8c7cc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  color: #000000;
}

.pw-status-in:focus {
  outline: none;
  border-color: #007aff;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

.pw-sw {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 2px;
}

.pw-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s;
}

.pw-swatch:hover {
  transform: scale(1.1);
}

.pw-swatch.on {
  box-shadow: 0 0 0 2px #007aff, 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: scale(1.15);
}

@media (max-width: 580px) {
  .pw-body {
    grid-template-columns: minmax(0, 1fr) 128px;
  }
  .pw-mid {
    grid-column: 1;
    grid-row: 1;
    margin: 10px 0 10px 10px;
  }
  .pw-right {
    grid-column: 2;
    grid-row: 1;
    padding-right: 14px;
  }
  .pw-left {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}.cf-overlay{--spring: cubic-bezier(.34, 1.56, .64, 1);position:fixed;top:0;right:0;bottom:0;left:0;z-index:62;background:#000000a6;display:grid;place-items:center;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}.cf-app{position:relative;display:flex;flex-direction:column;width:min(520px,100%);height:min(100%,780px);overflow:hidden;border-radius:10px;border:1px solid #000;background:#2c8a4c url(../ui/gc/felt-green.jpg) center / 256px;color:#fff;box-shadow:0 10px 40px #000000b3;font-family:Georgia,Times New Roman,serif}.cf-app button{font-family:inherit;cursor:pointer;border:0;padding:0}.cf-nav{flex:none;position:relative;display:flex;align-items:center;justify-content:center;height:44px;background:#8a3d17 url(../ui/gc/wood.jpg) center / 320px;box-shadow:inset 0 1px #ffdcb473,inset 0 -1px #280c008c,0 2px 6px #00000073}.cf-nav strong{font:700 20px Helvetica Neue,Helvetica,Arial,sans-serif;color:#fff;text-shadow:0 -1px 0 rgba(60,20,0,.7)}.cf-nav .cf-x{position:absolute;right:8px;top:8px;height:29px;padding:0 12px;border:1px solid rgba(50,15,0,.75);border-radius:5px;background:#46190047;color:#fff;font:700 13px Helvetica Neue,Helvetica,Arial,sans-serif;text-shadow:0 -1px 0 rgba(60,20,0,.7)}.cf-body{flex:1;min-height:0;overflow-y:auto}.cf-blood{width:1em;height:1em;vertical-align:-.12em;margin-right:.2em}.gc-body{padding-bottom:calc(30px + env(safe-area-inset-bottom))}.gc-hero{position:relative;display:flex;align-items:center;gap:10px;padding:16px 14px 16px 18px;background:#6e1030 url(../ui/gc/felt-red.jpg) center/256px;box-shadow:inset 0 -1px #00000059,0 1px #ffffff1f}.gc-hero-txt{flex:1;min-width:0}.gc-title{margin:0;font:700 44px/1 Oswald,Impact,Arial Narrow,sans-serif;letter-spacing:.01em;color:#fff;text-shadow:0 2px 0 rgba(40,0,15,.55)}.gc-hero p{margin:6px 0 0;font:400 13px/17px Georgia,Times New Roman,serif;color:#f5dfe7}.gc-tabs{display:flex;padding:5px 8px 7px;background:#5c0c27 url(../ui/gc/felt-red.jpg) center/256px;border-bottom:1px solid rgba(0,0,0,.35)}.gc-tabs button{flex:1;height:26px;font:700 13px/24px Helvetica Neue,Helvetica,Arial,sans-serif;color:#fff;border:1.5px solid #e4de6c;margin-left:-1.5px;background:#00000014;text-shadow:0 -1px 0 rgba(0,0,0,.4)}.gc-tabs button:first-child{margin-left:0}.gc-tabs button[aria-selected=true]{background:linear-gradient(#f6f39a,#dcd856);color:#3d3a0e;text-shadow:0 1px 0 rgba(255,255,255,.5)}.gc-n{display:inline-block;min-width:18px;margin-left:5px;padding:0 5px;border-radius:9px;background:#d9262c;color:#fff;font-size:11px;line-height:16px;text-shadow:none}.gc-n:empty{display:none}.gc-pane{width:min(460px,calc(100% - 20px));margin:0 auto}.gc-head{margin:16px 0 10px;text-align:center;font:400 17px/22px Georgia,Times New Roman,serif;color:#eeea84;text-shadow:0 1px 1px rgba(0,0,0,.35)}.gc-head b{color:#fff}.gc-card,.gc-list{border:1.5px solid rgba(230,224,110,.9);background:#083c1c29;box-shadow:inset 0 1px #ffffff14}.gc-cell{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:6px 12px;font:400 17px Georgia,Times New Roman,serif;text-shadow:0 1px 1px rgba(0,0,0,.3)}.gc-cell+.gc-cell{border-top:1.5px solid rgba(230,224,110,.55)}.gc-cell.sides{flex-wrap:wrap}.gc-step{display:flex;align-items:center;gap:0;border:1.5px solid #e4de6c;border-radius:4px;overflow:hidden}.gc-step button{width:40px;height:34px;font:400 24px/1 Georgia,serif;color:#3d3a0e;background:linear-gradient(#f6f39a,#dcd856)}.gc-step button:disabled{opacity:.45}.gc-cell.quick{justify-content:center;gap:6px;min-height:42px}.gc-chip{min-width:52px;height:30px;padding:0 8px;border:1.5px solid #e4de6c;border-radius:4px;font:700 15px/1 Georgia,serif;color:#3d3a0e;background:linear-gradient(#f6f39a,#dcd856)}.gc-chip.on{background:linear-gradient(#dcd856,#f6f39a);box-shadow:inset 0 1px 3px #00000059}.gc-chip:disabled{opacity:.45}.gc-step b{min-width:64px;text-align:center;font:700 19px/34px Georgia,serif;color:#fff}.cf-sides{display:flex;gap:8px}.cf-side{display:flex;align-items:center;gap:7px;height:40px;padding:0 12px 0 5px;border-radius:20px;font:400 16px Georgia,serif;color:#fff;border:1.5px solid rgba(230,224,110,.5);background:#0000001f;transition:transform .2s var(--spring)}.cf-side.on{border-color:#f3ee8a;background:#f3ee8a33;box-shadow:0 0 14px #fff8aa80}.cf-side:active{transform:scale(.95)}.cf-chip{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font:700 16px/1 Georgia,serif;font-style:normal;color:#9a6406;background:radial-gradient(circle at 36% 30%,#fff7c8,#f7d35c 30%,#d99b1c 75%,#9a6206);box-shadow:inset 0 0 0 2px #f0c64a,inset 0 0 0 3px #a86d0a,0 1px 2px #0006}.gc-ribbon{position:relative;display:block;margin:18px auto 0;width:min(250px,72%);height:36px;font:400 18px/36px Georgia,Times New Roman,serif;color:#2c6a37;background:linear-gradient(#f2ee8c,#d8d44e);box-shadow:inset 0 1px #ffffff8c,0 2px 3px #0000004d;text-shadow:0 1px 0 rgba(255,255,255,.5);transition:transform .15s,filter .15s}.gc-ribbon:before,.gc-ribbon:after{content:"";position:absolute;top:7px;width:24px;height:36px;background:linear-gradient(#cfcb46,#aeaa32);z-index:-1;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,38% 50%)}.gc-ribbon:before{left:-16px}.gc-ribbon:after{right:-16px;transform:scaleX(-1)}.gc-ribbon:active{transform:translateY(1px);filter:brightness(.92)}.gc-ribbon:disabled{filter:grayscale(.6) brightness(.8);opacity:.7}.gc-ribbon.sm{display:inline-block;margin:0;width:auto;min-width:64px;padding:0 12px;height:30px;font-size:15px;line-height:30px}.gc-ribbon.sm:before,.gc-ribbon.sm:after{display:none}.gc-ribbon.red{color:#fff;background:linear-gradient(#e0566f,#b21d3c);text-shadow:0 -1px 0 rgba(0,0,0,.3)}.gc-note{margin:16px 6px 0;text-align:center;font:400 13px/18px Georgia,serif;color:#fffc}.gc-row{display:flex;align-items:center;gap:10px;min-height:54px;padding-right:10px}.gc-row+.gc-row{border-top:1.5px solid rgba(230,224,110,.55)}.gc-num{align-self:stretch;width:48px;flex:none;display:grid;place-items:center;background:#6e1030 url(../ui/gc/felt-red.jpg) center/256px;font:700 15px Georgia,serif;color:#f3e57e;border-right:1.5px solid rgba(230,224,110,.55)}.gc-row .orb{width:34px;height:34px;box-shadow:0 0 0 2px #fff,0 1px 3px #0006}.gc-who{flex:1;min-width:0}.gc-who b{display:block;font:400 17px/21px Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 1px rgba(0,0,0,.3)}.gc-who small{display:block;font:400 12px/15px Georgia,serif;color:#eeea84}.gc-tag{font:700 13px Georgia,serif;padding:3px 8px;border-radius:4px}.gc-tag.win{color:#3d3a0e;background:#f2ee8c}.gc-tag.lose{color:#fff;background:#b21d3cd9}.gc-tag.gone{color:#ffffffbf;border:1px solid rgba(255,255,255,.4)}.gc-empty{margin:0;padding:18px 12px;text-align:center;font:400 15px Georgia,serif;color:#ffffffd9}.cf-coin{position:relative;width:150px;height:150px;transform-style:preserve-3d}.cf-coin>i{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;display:grid;place-items:center;font-style:normal;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:radial-gradient(circle at 36% 30%,#fff7c8 0,#f7d35c 22%,#e0a624 55%,#a86d0a);box-shadow:inset 0 0 0 7px #eab93c,inset 0 0 0 9px #9a6406,inset 0 0 0 11px #f5d36a,inset 0 6px 14px #ffffff8c,inset 0 -8px 16px #50280073}.cf-coin>i.h{transform:translateZ(5px)}.cf-coin>i.t{transform:rotateX(180deg) translateZ(5px)}.cf-coin>i.e{backface-visibility:visible;-webkit-backface-visibility:visible;background:#b07a14;box-shadow:none}.cf-coin b{font:700 62px/1 Georgia,serif;color:#b27a0e;text-shadow:0 1px 0 #fff3b0,0 -1px 0 #7a4c02}.cf-coin small{position:absolute;bottom:24px;left:0;right:0;text-align:center;font:700 11px Georgia,serif;letter-spacing:.25em;color:#8a5a06}.cf-coin.sm{width:74px;height:74px}.cf-coin.sm>i.h{transform:translateZ(2px)}.cf-coin.sm>i.t{transform:rotateY(180deg) translateZ(2px)}.cf-coin.sm b{font-size:32px}.cf-coin.sm.spin{animation:cfspin 5s linear infinite}@keyframes cfspin{to{transform:rotateY(360deg)}}.cf-mini-toss{perspective:400px;flex:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}.cf-stage{position:absolute;top:0;right:0;bottom:0;left:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center;background:radial-gradient(circle at 50% 45%,#145a2d8c,#051e0fe0);-webkit-backdrop-filter: none !important;backdrop-filter: none !important;animation:fadein .25s}@keyframes fadein{0%{opacity:0}}.cf-toss{perspective:900px;height:170px;display:flex;align-items:flex-end;justify-content:center}.cf-shadow{width:120px;height:18px;margin-top:6px;border-radius:50%;background:radial-gradient(#00000080,#0000 70%)}.cf-res{margin:22px 0 0;min-height:44px;font:700 38px/44px Oswald,Impact,Arial Narrow,sans-serif;color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35)}.cf-res.win{color:#f6f29a;text-shadow:0 0 18px rgba(255,248,170,.8),0 2px 0 rgba(0,0,0,.35);animation:popin .5s var(--spring)}.cf-res-sub{margin:4px 0 0;min-height:20px;font:400 15px/20px Georgia,serif;color:#ffffffe0}@keyframes popin{0%{transform:scale(.6);opacity:0}}.cf-overlay [hidden]{display:none!important}.rt-win{width:min(340px,92%)}.rt-stake{display:flex;align-items:center;justify-content:center;gap:12px}.rt-stake .btn{width:38px;height:34px;font-size:20px;padding:0}.rt-num{display:inline-flex;align-items:center;gap:6px;min-width:96px;justify-content:center;font-size:26px;color:#b01818}.rt-drop{width:22px;height:22px;vertical-align:-5px;image-rendering:pixelated}.rt-ask{font-size:16px;line-height:1.5}.rt-chips{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.rt-chip{min-width:48px;height:30px;padding:0 10px;border:1px solid #b3bbcb;border-radius:15px;background:linear-gradient(#fff,#dfe4ee);color:#1b2233;font:700 14px var(--font);cursor:pointer}.rt-chip.on{background:linear-gradient(#ff7b7b,#c62828);border-color:#8e1b1b;color:#fff}.rt-bar{position:absolute;z-index:12;left:50%;bottom:74px;transform:translate(-50%);display:grid;justify-items:center;gap:6px;padding:10px 16px 8px;border-radius:14px;background:#120808d6;border:1px solid rgba(255,90,90,.7);color:#ffe9e9;box-shadow:0 6px 22px #0009;text-align:center}.rt-bar-t{font:700 15px var(--font)}.rt-bar .hint{color:#e0a8a8;min-height:14px}.btn.rt-pull{min-width:200px;min-height:46px;font-size:18px;font-weight:700;color:#fff;border-color:#6e0e0e;background:linear-gradient(#ff6b6b,#c62828 50%,#a11212);text-shadow:0 -1px 0 rgba(0,0,0,.5);animation:rt-pulse 1.1s ease-in-out infinite}.btn.rt-pull:disabled{animation:none;opacity:.6}@keyframes rt-pulse{50%{box-shadow:0 0 16px 2px #ff4646bf}}.rt-dead{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;align-content:center;justify-items:center;gap:14px;background:radial-gradient(ellipse at center,#4600008c,#000000e6);color:#e11;text-align:center;animation:rt-dead-in .9s ease-out;pointer-events:auto}.rt-dead-t{font:900 clamp(34px,9vw,84px) var(--font);letter-spacing:3px;text-shadow:0 0 22px rgba(255,0,0,.65),0 4px 0 #300}.rt-dead-sub{font:700 clamp(15px,3vw,22px) var(--font);color:#e8c4c4}@keyframes rt-dead-in{0%{opacity:0}to{opacity:1}}.ib-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:stretch;justify-content:center;padding:10px;box-sizing:border-box;background:#00000080}.ib-card{position:relative;width:min(500px,100%);display:flex;flex-direction:column;overflow:hidden;border-radius:10px;background:#f5e98f;box-shadow:0 10px 40px #0009,0 0 0 1px #281204d9;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:#4d2206}.ib-screen{display:flex;flex-direction:column;min-height:0;flex:1}.ib-nav{position:relative;flex:none;height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 8px;background:linear-gradient(#91603f,#77482b 48%,#643a20 50%,#512c16);box-shadow:inset 0 1px #ffffff47,0 1px #2d1608,0 4px 10px #28140559;z-index:2}.ib-nav:after{content:"";position:absolute;left:0;right:0;bottom:3px;border-bottom:1px dashed rgba(255,230,190,.35);pointer-events:none}.ib-nav-t{flex:1;min-width:0;text-align:center;font:700 18px/44px Helvetica Neue,Helvetica,Arial,sans-serif;color:#fff;text-shadow:0 -1px 0 rgba(40,15,0,.7);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ib-navbtn{height:30px;min-width:44px;padding:0 12px;border:0;border-radius:6px;color:#fff;font:700 13px Helvetica Neue,Helvetica,Arial,sans-serif;text-shadow:0 -1px 0 rgba(40,15,0,.7);cursor:pointer;background:linear-gradient(#b98552,#8a5429 50%,#7a4720 52%,#86502a);box-shadow:0 0 0 .8px #281204d9,inset 0 1px #ffffff59,0 1px #ffffff2e}.ib-navbtn.plus{font-size:22px;line-height:28px;padding:0 10px}.ib-navbtn:disabled{opacity:.5}.ib-body{position:relative;flex:1;min-height:0;overflow-y:auto}.paper{background:linear-gradient(transparent 0 35px,#d9c97c 35px,#d9c97c 36px) 0 0 / 100% 36px,#f7ec98}.paper.margin{background:linear-gradient(90deg,transparent 0 26px,rgba(200,70,50,.45) 26px 27px,transparent 27px 30px,rgba(200,70,50,.45) 30px 31px,transparent 31px),linear-gradient(transparent 0 35px,#d9c97c 35px,#d9c97c 36px) 0 0 / 100% 36px,#f7ec98}.ib-list{min-height:100%}.ib-post{padding:12px 16px;border-bottom:1px solid #d9c97c;cursor:pointer}.ib-post:active{background:#7846140f}.ib-head{display:flex;align-items:center;gap:9px}.ib-orb{flex:none;width:34px;height:34px;padding:0;border:0;border-radius:50%;overflow:hidden;cursor:pointer;background:radial-gradient(circle at 34% 28%,#ffffffd9,#fff0 42%),#c9a76a;box-shadow:0 1px 3px #3c1e0059,0 0 0 1.5px #fff;display:grid;place-items:center}.ib-orb .head{width:34px;height:34px;display:grid;place-items:center}.ib-orb .head canvas{max-width:100%;max-height:100%;width:auto;height:auto}.ib-name{padding:0;border:0;background:none;cursor:pointer;font:700 15px Helvetica Neue,Helvetica,Arial,sans-serif;color:#5b2a0b}.ib-time{margin-left:auto;font:400 13px Helvetica Neue,Helvetica,Arial,sans-serif;color:#8b6a3e;white-space:nowrap}.ib-ptitle{margin:6px 0 4px;font:700 23px/1.25 Noteworthy,Marker Felt,Kalam,Comic Sans MS,cursive;color:#6d2f0c;overflow-wrap:anywhere}.ib-img{display:block;max-width:100%;max-height:50vh;margin:8px auto 6px;border:5px solid #fff;border-bottom-width:14px;box-shadow:0 3px 8px #3c1e004d;transform:rotate(-.8deg);background:#fff}.ib-post:nth-child(2n) .ib-img{transform:rotate(.7deg)}.ib-img.loading{min-height:90px;min-width:120px;opacity:.6}.ib-text{margin:2px 0 0;font:400 20px/1.35 Noteworthy,Marker Felt,Kalam,Comic Sans MS,cursive;color:#4d2206;white-space:pre-wrap;overflow-wrap:anywhere}.ib-foot{display:flex;align-items:center;gap:18px;margin-top:8px}.ib-act{display:flex;align-items:center;gap:6px;padding:4px 0;border:0;background:none;cursor:pointer;font:700 14px Helvetica Neue,Helvetica,Arial,sans-serif;color:#8b5a2b}.ib-ico{display:inline-flex}.ib-ico svg{width:21px;height:21px}.ib-act.liked{color:#d0312d}.ib-del{margin-left:auto;padding:3px 10px;border:0;border-radius:6px;cursor:pointer;font:700 12px Helvetica Neue,Helvetica,Arial,sans-serif;color:#fff;background:#c0392b}.ib-del.small{margin-left:8px}.ib-empty{margin:40px 24px;text-align:center;font:400 22px/1.4 Noteworthy,Marker Felt,Kalam,Comic Sans MS,cursive;color:#8b6a3e}.ib-sheet{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:flex;flex-direction:column;background:#f5e98f;animation:ib-up .3s cubic-bezier(.2,.9,.25,1)}.ib-sheet[hidden]{display:none}@keyframes ib-up{0%{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}.ib-comments{padding:4px 16px 16px 40px}.ib-c{padding:8px 0;border-bottom:1px solid #d9c97c}.ib-c .ib-name{font-size:13px}.ib-c p{margin:3px 0 0;font:400 19px/1.3 Noteworthy,Marker Felt,Kalam,Comic Sans MS,cursive;color:#4d2206;overflow-wrap:anywhere}.ib-sheet .ib-post{cursor:default;padding-left:40px}.ib-form{flex:none;display:flex;gap:8px;padding:8px 10px;background:linear-gradient(#7d5234,#5a331a);box-shadow:inset 0 1px #fff3}.ib-form input{flex:1;min-width:0;height:36px;padding:0 14px;border:0;border-radius:18px;background:#fbf4c0;color:#4d2206;font:400 18px Noteworthy,Marker Felt,Kalam,Comic Sans MS,cursive;box-shadow:inset 0 1px 3px #00000073}.ib-form button{height:36px;padding:0 14px;border:0;border-radius:8px;cursor:pointer;color:#fff;font:700 15px Helvetica Neue,Helvetica,Arial,sans-serif;background:linear-gradient(#b98552,#8a5429 50%,#7a4720 52%,#86502a);box-shadow:0 0 0 .8px #1e0c00cc,inset 0 1px #ffffff59}.ib-form button:disabled{opacity:.5}.ib-new{padding:6px 16px 20px 44px}.ib-new input,.ib-new textarea{display:block;width:100%;box-sizing:border-box;border:0;outline:none;background:none;color:#6d2f0c;resize:none;font-family:Noteworthy,Marker Felt,Kalam,Comic Sans MS,cursive}.ib-new input{height:36px;font-size:24px;font-weight:700;line-height:36px}.ib-new textarea{min-height:108px;font-size:21px;line-height:36px;padding:0}.ib-count{height:36px;line-height:36px;text-align:right;font:400 12px Helvetica Neue,Helvetica,Arial,sans-serif;color:#8b6a3e}.ib-photo{display:flex;align-items:center;gap:10px;min-height:36px}.ib-pbtn{height:32px;padding:0 12px;border:0;border-radius:7px;cursor:pointer;color:#5b2a0b;font:700 14px Helvetica Neue,Helvetica,Arial,sans-serif;background:linear-gradient(#fff8d2,#efe0a0);box-shadow:0 0 0 .8px #5a320a80,inset 0 1px #fff}.ib-pbtn[hidden]{display:none}.ib-prev{display:block;max-width:60%;max-height:220px;margin:10px 0;border:4px solid #fff;border-bottom-width:12px;box-shadow:0 2px 6px #3c1e004d;transform:rotate(-1deg)}.ib-prev[hidden]{display:none}@media (max-width: 520px){.ib-overlay{padding:0}.ib-card{border-radius:0}}.ducky-shop,.raffle-shop{width:300px}.raffle-prize{display:grid;justify-items:center;gap:4px;padding:8px;border-radius:10px;background:#ffd54a1f;border:1px solid rgba(255,213,74,.45);text-align:center}.raffle-ico{max-width:96px;max-height:96px;image-rendering:pixelated}.raffle-pname{font:700 16px var(--font);color:#ffe9a8}.raffle-row{display:flex;justify-content:space-between;align-items:center;padding:3px 2px;font-size:14px}.raffle-count{font:800 18px var(--font);color:#ffd54a;font-variant-numeric:tabular-nums}.raffle-buy{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:6px;border-radius:8px;background:#00000040}.raffle-qty{min-width:32px;text-align:center;font-size:18px}.raffle-win{display:grid;gap:6px;padding:8px;border-radius:8px;background:#46d3692e;border:1px solid rgba(70,211,105,.6)}.raffle-last{text-align:center}.nav-mod{font-size:18px}.mp{display:grid;grid-template-rows:auto auto 1fr;height:100%;min-height:0;color:#1b2233}.mp-head{padding:8px 12px;display:flex;gap:6px;align-items:baseline}.mp-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:0 12px 8px;align-items:center}.mp-tab{padding:6px 12px;border-radius:14px;border:1px solid #aab3c6;background:linear-gradient(#fff,#dfe4ee);font:700 13px var(--font);cursor:pointer}.mp-tab.on{background:linear-gradient(#6fa8ff,#2f6fe0);color:#fff;border-color:#1f4fa8}.mp-find{margin-left:auto;display:flex;gap:4px}.mp-main{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:10px;padding:0 12px 12px;min-height:0;height:calc(100vh - 150px)}.mp-center,.mp-side{background:#ffffffd9;border-radius:10px;padding:8px;overflow-y:auto;min-height:0}.mp-body{display:grid;gap:6px;align-content:start;height:100%}.mp-live{overflow-y:auto;display:grid;align-content:start;gap:2px;min-height:0;max-height:calc(100vh - 230px)}.mp-line{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap;padding:2px 4px;border-bottom:1px solid rgba(0,0,0,.06);font-size:13px}.mp-line.small{font-size:12px}.mp-time{color:#6c7690;font-variant-numeric:tabular-nums}.mp-room{background:#e8ecf5;border-radius:8px;padding:0 6px;font-size:11px;color:#44506b}.mp-name{border:0;background:none;font:800 13px var(--font);color:#1f4fa8;cursor:pointer;padding:0}.mp-text{flex:1 1 160px;word-break:break-word}.mp-q{display:none;gap:4px}.mp-line:hover .mp-q,.mp-q.on{display:flex;flex-wrap:wrap}.mp-card{border:1px solid #ccd3e2;border-radius:8px;padding:8px;display:grid;gap:4px;background:#fff}.mp-reason{font-size:13px;background:#f4f6fb;border-radius:6px;padding:4px 6px}.mp-img{max-width:220px;max-height:220px;border-radius:6px;image-rendering:auto}.mp-pname{font:800 18px var(--font)}.mp-role{margin-left:6px;font-size:11px;background:#ffd54a;border-radius:8px;padding:1px 6px}.mp-uid{word-break:break-all;font-size:10px}.mp-status{font-size:13px;margin:4px 0}.mp-admin{display:flex;gap:4px;flex-wrap:wrap;align-items:center;margin:6px 0}.mp-min{width:64px}.mp-sec{font:800 13px var(--font);margin-top:8px}.mp-alt{font-size:13px}.mp-bar{display:flex;gap:10px;align-items:center;font-size:12px}.modonly .page{padding-top:0}.watched{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99000;overflow:hidden;background:#0c0e0e;animation:wf-in .5s ease-out both;transition:opacity .9s ease;cursor:pointer}.watched.out{opacity:0;pointer-events:none}.wf-scene{position:absolute;top:0;bottom:0;left:0;width:200vw;animation:wf-pan 5s cubic-bezier(.45,0,.35,1) .4s both;filter:grayscale(.85) contrast(1.15) brightness(.95)}.wf-wall{position:absolute;left:0;right:0;top:0;bottom:38%;background:linear-gradient(#444849,#5c6162)}.wf-wall:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(90deg,transparent 0 140px,rgba(0,0,0,.18) 140px 143px)}.wf-floor{position:absolute;left:0;right:0;top:62%;bottom:0;background:linear-gradient(#4a4e4f,#2c2f30)}.wf-stain{position:absolute;left:70vw;top:74vh;width:30vw;height:10vh;border-radius:50%;background:radial-gradient(rgba(120,10,10,.55),transparent 70%)}.wf-door{position:absolute;left:150vw;top:22vh;width:16vw;min-width:90px;height:48vh;background:linear-gradient(#2a2c2d,#3b3e3f);border:5px solid #1d1f20}.wf-sixty{position:absolute;left:56vw;top:40vh;height:50vh;display:flex;align-items:flex-end}.wf-sixty-img{height:100%;width:auto;image-rendering:pixelated;filter:drop-shadow(0 6px 4px rgba(0,0,0,.6))}.wf-cam{position:absolute;left:14vw;top:30vh;height:48vh;image-rendering:pixelated;filter:drop-shadow(0 6px 4px rgba(0,0,0,.6));transform:scaleX(-1)}.wf-fx{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(0,0,0,.22) 0 2px,transparent 2px 4px),radial-gradient(ellipse at center,transparent 45%,rgba(0,0,0,.75));animation:wf-flicker .15s steps(2) infinite}.wf-rec{position:absolute;top:18px;left:20px;color:#ff3030;font:800 18px/1 monospace;animation:watched-blink 1s steps(2) infinite;text-shadow:0 0 6px #f00}.wf-stamp{position:absolute;top:18px;right:20px;color:#dfe;font:700 14px/1 monospace;text-shadow:0 0 4px #000}.wf-cap{position:absolute;bottom:18px;left:20px;color:#dfe;font:700 14px/1 monospace;text-shadow:0 0 4px #000}.wf-text{position:absolute;left:50%;bottom:14%;transform:translate(-50%);max-width:92vw;padding:10px 18px;border-radius:6px;background:#000000b3;color:#fff;font:800 clamp(18px,5vw,32px) var(--font);text-align:center;opacity:0;transition:opacity .5s;border:2px solid #ff2a2a}.wf-text.on{opacity:1}.wf-black{position:absolute;top:0;right:0;bottom:0;left:0;background:#000;opacity:0;transition:opacity 1.1s ease-in}.wf-black.on{opacity:1}@keyframes wf-in{0%{opacity:0}to{opacity:1}}@keyframes wf-pan{0%{transform:translate(-100vw)}to{transform:translate(0)}}@keyframes wf-flicker{50%{opacity:.93}}@keyframes watched-blink{50%{opacity:.15}}.mp-sidehead{display:flex;justify-content:space-between;gap:6px;align-items:flex-start}.mp-group{display:grid;gap:4px;margin:6px 0}.mp-all{margin-left:0}.mp .mini-input{min-height:34px;font-size:14px}.mp .btn.small{min-height:34px;padding:4px 10px}.mp-closebtn{display:none}.notice{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;display:grid;place-items:center;padding:18px;background:#000000b8}.notice-card{max-width:440px;width:100%;display:grid;gap:14px;padding:20px;border-radius:14px;background:#fff;color:#1b2233;text-align:center;box-shadow:0 10px 40px #0009}.notice-title{font:900 20px var(--font)}.notice-text{font-size:18px;line-height:1.4;word-break:break-word}.notice.warn .notice-card{border:4px solid #e53935}.notice.warn .notice-title{color:#c62828}.notice.msg .notice-card{border:4px solid #ffb300}.notice.kick{background:#3c0000eb}.notice.kick .notice-card{border:4px solid #8e1b1b}@media (max-width: 760px){.mp-main{grid-template-columns:1fr;height:auto;padding-bottom:80px}.mp-live{max-height:calc(100dvh - 300px)}.mp-tab{padding:10px 14px;font-size:14px}.mp-find{width:100%;margin-left:0}.mp-find .mini-input{flex:1;min-width:0}.mp-line{padding:8px 4px;font-size:14px}.mp-name{font-size:15px;padding:4px 2px}.mp-q{display:none}.mp-q.on{display:flex}.mp-side{position:fixed;left:0;right:0;bottom:0;z-index:1000;max-height:78dvh;border-radius:16px 16px 0 0;transform:translateY(105%);transition:transform .2s ease;box-shadow:0 -8px 30px #00000080;background:#fff;padding:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.mp-side.open{transform:none}.mp-closebtn{display:inline-block;min-width:44px;min-height:44px;font-size:18px}.mp .btn.small{min-height:44px;padding:8px 12px;font-size:14px}.mp .mini-input{min-height:44px;font-size:16px}.mp-img{max-width:100%}}.maint{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at center,#2b0d0d,#0b0404);color:#ffe9e9;text-align:center}.maint-text{max-width:520px;font:800 clamp(20px,5vw,34px) var(--font);line-height:1.35;text-shadow:0 2px 0 #300}.maint-dot{position:fixed;right:6px;bottom:6px;width:28px;height:28px;border:0;background:transparent;color:#ffffff26;cursor:pointer}.raffle-admin{display:grid;gap:4px;padding:6px;border-radius:8px;background:#0000004d;border:1px dashed rgba(255,255,255,.3);max-height:180px;overflow-y:auto}.raffle-admin-t{font:700 12px var(--font);color:#ffd54a}.raffle-admin-row{display:flex;align-items:center;gap:4px;font-size:13px}.raffle-admin-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ducky-card{display:grid;gap:6px;padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.12)}.ducky-card:last-of-type{border-bottom:0}.ducky-ico{font-family:var(--font);width:36px;height:36px;display:grid;place-items:center;font-size:22px;border-radius:8px;background:#ffffff1a}.ducky-input{display:grid;gap:6px;padding:6px;border-radius:8px;background:#00000040}.ducky-swatches{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.ducky-sw{width:24px;height:24px;padding:0;border-radius:50%;border:2px solid rgba(255,255,255,.5);cursor:pointer}.ducky-sw.on{border-color:#fff;box-shadow:0 0 0 2px #1a2b66,0 0 0 4px #fff}.ducky-pick{width:30px;height:26px;padding:0;border:0;background:none;cursor:pointer}.ducky-prev{text-align:center;font:700 15px var(--font);text-shadow:0 1px 2px rgba(0,0,0,.8)}.ducky-name{width:100%;box-sizing:border-box;padding:6px 8px;border-radius:6px;border:1px solid #c8d0e0;font:14px var(--font)}.chat-fx{flex:none;width:34px;height:34px;padding:0;border-radius:8px;border:1px solid #4b5a78;background:linear-gradient(#e8eef9,#aab6cc);font-size:17px;cursor:pointer}.chat-fx[hidden]{display:none}.chat-fx.on{background:linear-gradient(#ffe9a0,#f2b73c);border-color:#b3801b}.chat-input.fx-big{font-size:18px}.fx-panel{position:absolute;left:10px;bottom:10px;z-index:12;display:grid;gap:6px;padding:8px;max-width:calc(100% - 20px);box-sizing:border-box;border-radius:10px;background:#0f1630eb;border:1px solid #c8d0e0;box-shadow:0 6px 18px #00000080}.fx-panel[hidden]{display:none}.fx-row{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.fx-opt{padding:4px 9px;border-radius:6px;border:1px solid #8794ae;background:#26335f;color:#fff;font:700 12px var(--font);cursor:pointer}.fx-opt.on{background:#f2b73c;color:#2a1c00;border-color:#fff}.fx-sw{width:22px;height:22px;padding:0;border-radius:50%;border:2px solid rgba(255,255,255,.55);cursor:pointer}.fx-sw.on{border-color:#fff;box-shadow:0 0 0 2px #0f1630,0 0 0 4px #fff}.fx-prev{font:700 14px var(--font);color:#fff}.fxt{display:inline}.fxt.fx-big{font-size:1.4em;font-weight:700}.fxt.fx-pulse{animation:fxpulse 1s ease-in-out infinite}.fxt .fxc{display:inline-block}.fxt.fx-wave .fxc{animation:fxwave 1.1s ease-in-out infinite}.fxt.fx-shake .fxc{animation:fxshake .22s linear infinite}.fxt.fx-rainbow .fxc{animation:fxrainbow 2.2s linear infinite}@keyframes fxpulse{50%{opacity:.45}}@keyframes fxwave{50%{transform:translateY(-4px)}}@keyframes fxshake{0%{transform:translate(0)}25%{transform:translate(1px,-1px)}50%{transform:translate(-1px,1px)}75%{transform:translate(1px,1px)}to{transform:translate(0)}}@keyframes fxrainbow{0%{color:#ff4d4d}17%{color:#ffa94d}33%{color:#ffe94d}50%{color:#4dde7a}67%{color:#4db8ff}83%{color:#b46bff}to{color:#ff4d4d}}.craft-ok{color:#8fe39a}.craft-no{color:#ff9a8a}.fent-flash{position:absolute;top:0;right:0;bottom:0;left:0;z-index:35;pointer-events:none;background:radial-gradient(ellipse at center,#ff14148c,#780000d9);animation:fent-flash 1.4s ease-out forwards}@keyframes fent-flash{0%{opacity:0}12%{opacity:1}to{opacity:0}}.rt-dead-loss{display:flex;align-items:center;gap:12px;font:900 clamp(30px,8vw,72px) var(--font);color:#ff2d2d;text-shadow:0 0 18px rgba(255,0,0,.8),0 4px 0 #300;animation:rt-loss-pop .7s cubic-bezier(.2,1.6,.4,1) both}.rt-dead-drop{width:1.1em;height:1.1em;image-rendering:pixelated;filter:drop-shadow(0 0 8px rgba(255,0,0,.8))}@keyframes rt-loss-pop{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}.hc-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:center;justify-content:center;background:#0000008c}.hc-card{width:min(520px,100%);height:min(680px,100%);display:flex;flex-direction:column;overflow:hidden;border-radius:10px;background:#e8ebf0;box-shadow:0 10px 30px #0009;font-family:var(--font);color:var(--ink)}.hc-nav{flex:none;display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 8px;background:linear-gradient(#bccadf,#6f8bb3);border-bottom:1px solid #3b4f73}.hc-title{font-weight:700;font-size:17px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.45)}.hc-done{border:1px solid #2f4a78;border-radius:6px;padding:5px 12px;font:700 13px var(--font);color:#fff;background:linear-gradient(#7d9ed0,#3a62a6);text-shadow:0 -1px 0 rgba(0,0,0,.4)}.hc-url{flex:none;margin:6px 8px;padding:5px 10px;border-radius:14px;background:#fff;border:1px solid #b3b9c4;font-size:13px;color:#6d7685;box-shadow:inset 0 1px 2px #0000001f}.hc-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:4px 10px 12px;display:flex;flex-direction:column;gap:8px}.hc-hero{padding:10px 12px;border-radius:10px;background:linear-gradient(#a02222,#5e1010);color:#fff}.hc-h1{font-size:20px;font-weight:800;text-shadow:0 1px 0 rgba(0,0,0,.4)}.hc-sub{font-size:12px;opacity:.85;margin-top:2px}.hc-group .hc-sub{color:var(--muted);opacity:1;padding:6px 4px}.hc-card-row{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;background:#fff;border:1px solid #c4cad4}.hc-ico{width:48px;height:48px;object-fit:contain;flex:none;image-rendering:pixelated}.hc-main{flex:1;min-width:0}.hc-name{font-weight:700}.hc-blurb,.hc-meta{font-size:12px;color:var(--muted)}.hc-bar{height:6px;margin-top:4px;border-radius:3px;background:#d8dce3;overflow:hidden}.hc-fill{height:100%;background:linear-gradient(#e86a6a,#b02a2a)}.hc-group{display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:10px;background:#fff;border:1px solid #c4cad4}.hc-label{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase}.hc-input{width:100%;box-sizing:border-box;padding:8px 10px;border-radius:8px;border:1px solid #b3b9c4;font:15px var(--font)}.hc-person{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 4px;border-top:1px solid #e3e6eb}.hc-person:first-child{border-top:0}.hc-pname{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc-actions{display:flex;gap:6px;flex:none}.hc-tag{font-size:12px;color:var(--muted)}.hc-empty,.hc-foot{text-align:center;color:var(--muted);font-size:13px;padding:12px}.hc-tabs{flex:none;display:flex;background:linear-gradient(#4a4f57,#1c1f24);border-top:1px solid #000}.hc-tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;padding:5px 0 4px;font:700 10px var(--font);color:#aab;background:none;border:0}.hc-tab.on{color:#fff;background:linear-gradient(#6b7077,#34383e)}.hc-tab-ico{font-size:20px;line-height:1}.hc-body .landlord-body{display:flex;flex-direction:column;gap:6px;background:#fff;border-radius:10px;padding:8px;color:var(--ink)}.hc-body .ll-label,.hc-body .ll-part{color:var(--ink)}.hc-body .hint{color:var(--muted)}.pet-shop{width:300px;max-width:calc(100% - 20px);max-height:calc(100% - 60px);overflow-y:auto;left:10px;right:auto}.pet-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px}.pet-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;border-radius:8px;background:#ffffff14;border:1px solid rgba(200,208,224,.3)}.pet-card.on{border-color:#ffd75a;background:#ffd75a26}.pet-pic{height:60px;display:flex;align-items:flex-end;justify-content:center;image-rendering:pixelated}.pet-pic canvas{image-rendering:pixelated;max-height:60px}.pet-name{font-size:12px;font-weight:700;color:#ffe27a;text-align:center}.pet-wait{color:#b6c2e0}.case-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;padding:10px;display:flex;align-items:center;justify-content:center;background:#0009}.case-card{width:min(520px,100%);max-height:100%;display:flex;flex-direction:column;overflow:hidden;border-radius:10px;background:linear-gradient(#dfe3ea,#c2c8d2);box-shadow:0 10px 30px #000000a6;font-family:var(--font);color:var(--ink)}.case-nav{flex:none;display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 8px;background:linear-gradient(#bccadf,#6f8bb3);border-bottom:1px solid #3b4f73}.case-title{font-weight:700;font-size:17px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.45)}.case-done{border:1px solid #2f4a78;border-radius:6px;padding:5px 12px;font:700 13px var(--font);color:#fff;background:linear-gradient(#7d9ed0,#3a62a6);text-shadow:0 -1px 0 rgba(0,0,0,.4)}.case-body{padding:10px;display:flex;flex-direction:column;gap:10px;overflow-y:auto}.case-body>*{flex:none}.case-hero{display:flex;justify-content:center;gap:14px}.case-pic{width:78px;height:78px;image-rendering:pixelated;filter:drop-shadow(0 4px 4px rgba(0,0,0,.35))}.case-pic.key{width:64px;height:64px;image-rendering:pixelated;align-self:center;transform:rotate(-12deg)}.case-view{position:relative;height:112px;overflow:hidden;border-radius:8px;background:linear-gradient(#2a2f38,#14171c);border:1px solid #0b0d10;box-shadow:inset 0 3px 8px #000c,0 1px #fff9}.case-strip{position:absolute;left:0;top:8px;display:flex;gap:6px;will-change:transform}.case-tile{flex:none;width:86px;height:94px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:6px;background:linear-gradient(#4a525f,#2d333c);border-bottom:5px solid #8f98a6;padding:4px;box-sizing:border-box}.case-tile img{width:52px;height:52px;object-fit:contain;image-rendering:pixelated}.case-tname{font-size:10px;font-weight:700;color:#e9edf3;text-align:center;line-height:1.1;max-height:22px;overflow:hidden}.case-marker{position:absolute;left:50%;top:0;bottom:0;width:3px;margin-left:-1px;background:linear-gradient(#ffe27a,#e0a010);box-shadow:0 0 8px #ffd23a;z-index:2}.case-marker:before,.case-marker:after{content:"";position:absolute;left:-6px;border:7px solid transparent}.case-marker:before{top:-1px;border-top-color:#ffd23a}.case-marker:after{bottom:-1px;border-bottom-color:#ffd23a}.case-glass{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(#ffffff38,#fff0 45%,#00000040);z-index:3}.case-result{min-height:64px;display:flex;justify-content:center}.case-won{display:flex;align-items:center;gap:12px;padding:8px 16px;border-radius:10px;background:linear-gradient(#3a4150,#20252e);color:#fff;animation:casepop .4s ease-out}.case-won img{width:56px;height:56px;object-fit:contain;image-rendering:pixelated}.case-won-tier{font:800 12px var(--font);text-transform:uppercase;letter-spacing:.08em}.case-won-name{font:700 17px var(--font)}@keyframes casepop{0%{transform:scale(.7);opacity:0}to{transform:scale(1);opacity:1}}.case-counts{display:flex;justify-content:center;gap:18px;font-weight:700}.case-info{display:flex;flex-direction:column;gap:4px;text-align:center}.case-info .hint{color:var(--muted)}.case-open{min-width:190px}.unusual-box{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:10px;background:#ffffff8c;border:1px solid #c4cad4}.un-ico{width:36px;height:36px;image-rendering:pixelated}.un-main{flex:1;min-width:0}.un-name{font-weight:700}.pet-tag{font:700 10px var(--font);text-transform:uppercase;letter-spacing:.05em;padding:1px 6px;border-radius:8px;color:#fff}.pet-tag.sale{background:#2f9e44}.pet-tag.rare{background:#c2410c}.pet-head-ico{display:inline-flex;vertical-align:middle;margin-right:2px}.pet-head-ico canvas{image-rendering:pixelated}.pk-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;padding:6px;display:flex;align-items:center;justify-content:center;background:#04080eb8;touch-action:manipulation}.pk-window{width:min(460px,100%);height:min(800px,100%);display:flex;flex-direction:column;overflow:hidden;border-radius:12px;background:#0a1e16;border:1px solid #1e4a37;box-shadow:0 12px 34px #000000b3;font-family:var(--font);color:#eaf5ee;user-select:none;-webkit-user-select:none}.pk-nav{flex:none;display:flex;align-items:center;gap:8px;min-height:46px;padding:0 8px;background:linear-gradient(#26384f,#101c2c);border-bottom:1px solid #070d16}.pk-title{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;line-height:1.15}.pk-title strong{font-size:16px;letter-spacing:.02em;text-shadow:0 -1px 0 rgba(0,0,0,.6)}.pk-title span{font-size:10.5px;color:#9fb4cc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.pk-window.hi .pk-title strong{color:#ffd75a}.pk-leave{flex:none;border:1px solid #5a1d1d;border-radius:7px;padding:6px 10px;font:700 12px var(--font);color:#fff;background:linear-gradient(#d4503f,#8e2418);box-shadow:inset 0 1px #ffffff59;cursor:pointer}.pk-leave.armed{background:linear-gradient(#ffb02e,#c26c00);border-color:#7a4300}.pk-pocket{flex:none;min-width:74px;display:flex;align-items:center;justify-content:flex-end;gap:4px;font:700 13px var(--font);color:#fff}.pk-pocket img{width:12px;height:16px}.pk-felt{position:relative;flex:1;min-height:0;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#12372a,#0a1e16 80%)}.pk-rail{position:absolute;left:3%;right:3%;top:4%;bottom:4%;border-radius:46%/36%;background:linear-gradient(#7a4a22,#4a2a10);box-shadow:inset 0 2px #ffdca059,inset 0 -3px #0006,0 6px 18px #0009;padding:2.6%;box-sizing:border-box}.pk-window.hi .pk-rail{background:linear-gradient(#e9c65a,#8a6410);box-shadow:inset 0 2px #fff5be99,inset 0 -3px #3c280080,0 6px 18px #0009}.pk-cloth{position:relative;width:100%;height:100%;border-radius:46%/36%;background:radial-gradient(ellipse at 50% 38%,#1f8a55,#146b40 55%,#0d4a2c);box-shadow:inset 0 0 26px #0000008c;display:flex;align-items:center;justify-content:center}.pk-window.hi .pk-cloth{background:radial-gradient(ellipse at 50% 38%,#3a2a5a,#271a45 60%,#170f2c)}.pk-logo{font:800 34px var(--font);letter-spacing:.08em;color:#ffffff12;transform:translateY(-4%);pointer-events:none}.pk-empty{position:absolute;left:12%;right:12%;top:40%;text-align:center}.pk-hint{color:#a9c4b4;font-size:12.5px;line-height:1.4}.pk-middle{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:78%;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}.pk-board{display:flex;gap:3px;justify-content:center}.pk-card{width:45px;height:69px;image-rendering:auto;flex:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.45))}.pk-board .pk-card{width:42px;height:64px}.pk-card.slot{filter:none;opacity:.6}.pk-card.deal{animation:pk-deal .42s cubic-bezier(.2,.8,.3,1) both}.pk-card.flip{animation:pk-flip .5s ease-out both}@keyframes pk-deal{0%{transform:translateY(-46px) scale(.6) rotate(-14deg);opacity:0}to{transform:none;opacity:1}}@keyframes pk-flip{0%{transform:scaleX(.05)}to{transform:scaleX(1)}}.pk-status{font:700 11px var(--font);letter-spacing:.08em;text-transform:uppercase;color:#ecfff4b8;text-shadow:0 1px 2px rgba(0,0,0,.7);min-height:14px}.pk-pot{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:40px}.pk-pot.none{visibility:hidden}.pk-potlabel{font:700 10px var(--font);letter-spacing:.1em;text-transform:uppercase;color:#cfe8d8}.pk-pile{display:inline-flex;flex-direction:column;align-items:center;gap:2px}.pk-chips{position:relative;width:42px;height:26px}.pk-chips img{position:absolute;left:50%;width:28px;height:16px;margin-left:-14px;image-rendering:pixelated}.pk-pile.bet .pk-chips{width:30px;height:20px}.pk-pile.bet .pk-chips img{width:22px;height:13px;margin-left:-11px}.pk-amt{font:800 12px var(--font);color:#fff;text-shadow:0 1px 2px #000,0 0 3px #000;padding:0 5px;border-radius:8px;background:#00000061}.pk-bet{position:absolute;transform:translate(-50%,-50%);animation:pk-chip .3s ease-out both;pointer-events:none}@keyframes pk-chip{0%{transform:translate(-50%,-20%) scale(.7);opacity:0}to{transform:translate(-50%,-50%);opacity:1}}.pk-seat{position:absolute;transform:translate(-50%,-50%);width:104px;display:flex;flex-direction:column;align-items:center}.pk-seat.empty{width:56px}.pk-sit{width:52px;height:52px;border-radius:50%;border:2px dashed rgba(255,255,255,.55);background:#0000004d;color:#e9fff1;font:800 13px var(--font);letter-spacing:.04em;cursor:pointer;box-shadow:0 2px 6px #00000080}.pk-sit:active{transform:scale(.94);background:#ffffff2e}.pk-hand{display:flex;justify-content:center;height:46px;margin-bottom:-10px;position:relative;z-index:0}.pk-hand .pk-card{width:31px;height:47px;margin:0 -4px}.pk-hand .pk-card:first-child{transform:rotate(-7deg)}.pk-hand .pk-card:last-child{transform:rotate(7deg)}.pk-seat.me .pk-hand{height:78px;margin-bottom:-16px}.pk-seat.me .pk-hand .pk-card{width:51px;height:78px;margin:0 -6px}.pk-seat.folded .pk-hand{opacity:.4}.pk-plate{position:relative;z-index:1;width:100%;box-sizing:border-box;display:flex;align-items:center;gap:5px;padding:4px 6px 7px 4px;border-radius:10px;background:linear-gradient(#25364f,#0e1826);border:1px solid #5a7090;box-shadow:0 3px 8px #0000008c,inset 0 1px #ffffff38;overflow:hidden}.pk-seat.me .pk-plate{border-color:#8cb4ff}.pk-head{flex:none;width:30px;height:30px;border-radius:50%;overflow:hidden;background:#3b4d6b;display:flex;align-items:flex-end;justify-content:center;border:1px solid #0a1220}.pk-head .head{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.pk-head canvas,.pk-head .head-canvas{max-width:100%;max-height:100%;image-rendering:pixelated}.pk-pinfo{min-width:0;flex:1;line-height:1.15}.pk-name{font:700 11.5px var(--font);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pk-stack{display:flex;align-items:center;gap:3px;font:800 12px var(--font);color:#ffe27a}.pk-stack img{width:8px;height:11px}.pk-timer{position:absolute;left:0;right:0;bottom:0;height:4px;background:#00000080;display:none}.pk-timer i{display:block;height:100%;width:100%;background:#5fe07a}.pk-seat.turn .pk-timer{display:block}.pk-seat.turn .pk-plate{border-color:#ffd75a;box-shadow:0 0 0 2px #ffd75a80,0 0 18px #ffd75a8c,0 3px 8px #0000008c}.pk-seat.folded .pk-plate{opacity:.55}.pk-seat.gone .pk-plate{opacity:.5}.pk-seat.win .pk-plate{border-color:#7bff9a;box-shadow:0 0 0 2px #7bff9a99,0 0 22px #7bff9ab3;animation:pk-win 1s ease-in-out infinite alternate}@keyframes pk-win{0%{filter:brightness(1)}to{filter:brightness(1.35)}}.pk-tag{position:relative;z-index:2;margin-top:-3px;padding:1px 8px;border-radius:8px;font:800 10.5px var(--font);letter-spacing:.03em;color:#fff;background:#3b4a63;border:1px solid rgba(0,0,0,.5);white-space:nowrap;animation:pk-tagin .25s ease-out both}.pk-tag.raise{background:#c27a00}.pk-tag.call{background:#2a7a46}.pk-tag.check{background:#2b5ea8}.pk-tag.fold{background:#6a2a2a}.pk-tag.blind{background:#4a4a64}.pk-tag.bust{background:#b0201a}@keyframes pk-tagin{0%{transform:translateY(-5px);opacity:0}to{transform:none;opacity:1}}.pk-dealer{position:absolute;z-index:3;right:-4px;top:34px;width:20px;height:20px;border-radius:50%;background:radial-gradient(#fff,#d8d8d8);color:#111;font:800 12px/20px var(--font);text-align:center;border:1px solid #333;box-shadow:0 1px 3px #0009}.pk-won{position:absolute;z-index:4;top:-2px;left:50%;transform:translate(-50%);font:800 17px var(--font);color:#9dff9a;text-shadow:0 2px 3px #000,0 0 8px rgba(80,255,120,.8);animation:pk-won 1.6s ease-out both;white-space:nowrap}@keyframes pk-won{0%{transform:translate(-50%,14px) scale(.6);opacity:0}20%{opacity:1;transform:translate(-50%,-4px) scale(1.2)}to{transform:translate(-50%,-22px) scale(1);opacity:1}}.pk-banner{position:absolute;z-index:6;left:6%;right:6%;top:53%;padding:6px 8px;text-align:center;border-radius:10px;background:#060c14d1;border:1px solid rgba(255,215,90,.6);box-shadow:0 4px 12px #00000080;animation:pk-tagin .3s ease-out both}.pk-line{font-size:12.5px;color:#fff}.pk-line strong{color:#ffd75a}.pk-line em{color:#bfe6ff;font-style:normal;font-weight:700}.pk-seat.bust .pk-plate{border-color:#ff4a3a;background:linear-gradient(#4a1414,#1c0808)}.pk-seat.bust .pk-head{filter:grayscale(1) brightness(.6)}.pk-bust{position:absolute;z-index:7;left:12%;right:12%;top:40%;padding:10px 12px;text-align:center;border-radius:12px;background:#280606eb;border:1px solid #ff4a3a;box-shadow:0 6px 18px #0009;animation:pk-tagin .4s 6.6s ease-out both}.pk-bust strong{display:block;font-size:16px;color:#ff7a6a}.pk-bust span{font-size:12px;color:#f0c8c4}.pk-window{transition:transform .35s ease}.pk-overlay{transition:background .35s ease}.pk-overlay.peek{background:transparent;pointer-events:none}.pk-overlay.peek .pk-window{transform:translateY(106%)}.pk-back{display:none;position:fixed;left:50%;bottom:14px;transform:translate(-50%);z-index:2;padding:12px 20px;border-radius:22px;border:1px solid rgba(0,0,0,.6);font:800 14px var(--font);color:#fff;background:linear-gradient(#34a85a,#1b6e38);box-shadow:0 4px 12px #0009;pointer-events:auto;cursor:pointer}.pk-overlay.peek .pk-back{display:block}.pk-room{flex:none;border:1px solid #3b4d6b;border-radius:7px;padding:6px 9px;font:700 12px var(--font);color:#dfeaf8;background:linear-gradient(#34455f,#1c283a);cursor:pointer}.pk-actions{flex:none;min-height:96px;padding:8px 10px 10px;background:linear-gradient(#101c2c,#070d16);border-top:1px solid #26384f;display:flex;flex-direction:column;justify-content:center}.pk-row{display:flex;gap:8px}.pk-row>*{flex:1}.pk-btn{height:50px;border-radius:10px;border:1px solid rgba(0,0,0,.55);font:800 16px var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.45);cursor:pointer;background:linear-gradient(#5a6b84,#2c384c);box-shadow:inset 0 1px #ffffff59,0 2px 4px #00000080}.pk-btn:active{transform:translateY(1px);filter:brightness(.9)}.pk-btn:disabled{opacity:.5}.pk-btn.fold{background:linear-gradient(#e0584a,#8e2218)}.pk-btn.check,.pk-btn.call{background:linear-gradient(#4cc46e,#1f7a3a)}.pk-btn.raise,.pk-btn.go{background:linear-gradient(#ffc548,#c27a00);color:#2a1a00;text-shadow:0 1px 0 rgba(255,255,255,.4)}.pk-info{text-align:center;color:#b7cbe0;font-size:13.5px;min-height:40px;display:flex;flex-direction:column;justify-content:center;gap:2px}.pk-sub{font-size:11.5px;color:#8aa0b8}.pk-warn{color:#ffb08a;font-size:12px;margin-top:4px}.pk-raise{display:flex;flex-direction:column;gap:6px}.pk-rtop{display:flex;align-items:center;justify-content:space-between;font:700 13px var(--font);color:#cfe0f2}.pk-bignum{display:inline-flex;align-items:center;gap:5px;font:800 24px var(--font);color:#ffe27a;text-shadow:0 2px 3px rgba(0,0,0,.6)}.pk-bignum img{width:13px;height:18px}.pk-slider{width:100%;height:30px;margin:0;accent-color:#ffc548}.pk-presets{display:flex;gap:6px}.pk-presets button{flex:1;height:34px;border-radius:8px;border:1px solid #3b4d6b;background:linear-gradient(#34455f,#1c283a);color:#e7f0fb;font:700 12.5px var(--font);cursor:pointer}.pk-presets button:active{filter:brightness(1.25)}.pk-raise .pk-btn{height:46px}.pk-buy{position:absolute;top:0;right:0;bottom:0;left:0;z-index:9;display:flex;align-items:center;justify-content:center;background:#020806b8;padding:14px}.pk-buybox{width:100%;max-width:330px;display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:14px;background:linear-gradient(#1c2d49,#0c1627);border:1px solid #5a7090;box-shadow:0 10px 30px #000000b3;text-align:center}.pk-buybox>strong{font-size:16px}.pk-buybox .pk-bignum{justify-content:center;font-size:30px;margin-bottom:4px}@media (max-height: 640px){.pk-card{width:38px;height:58px}.pk-board .pk-card{width:36px;height:55px}.pk-seat.me .pk-hand .pk-card{width:44px;height:67px}.pk-actions{min-height:84px}.pk-btn{height:44px}}@media (min-height: 700px){.pk-actions{min-height:176px}}.pk-banner{top:58%}.pk-window.bj{background:#08162a;border-color:#1e3f6a}.pk-window.bj .pk-felt{background:radial-gradient(ellipse at 50% 40%,#12284a,#08162a 80%)}.pk-window.bj .pk-rail{background:linear-gradient(#7a4a22,#4a2a10)}.pk-window.bj .pk-cloth{background:radial-gradient(ellipse at 50% 38%,#2a6fd0,#1b57ad 55%,#123f82)}.bj-logo{font-size:24px;letter-spacing:.22em;color:#ffffff17;transform:translateY(8%)}.bj-arc{position:absolute;left:50%;top:46%;transform:translate(-50%);width:70%;text-align:center;font:700 10.5px var(--font);letter-spacing:.12em;text-transform:uppercase;color:#ecf5ff73;pointer-events:none}.bj-status{position:absolute;left:50%;top:52%;transform:translate(-50%);font:800 12px var(--font);letter-spacing:.06em;text-transform:uppercase;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.8);background:#08162a8c;padding:3px 12px;border-radius:12px;white-space:nowrap}.bj-dealer{position:absolute;left:50%;top:15%;transform:translate(-50%,-50%);width:150px;display:flex;flex-direction:column;align-items:center;gap:4px}.bj-dealer .pk-plate{width:100%}.bj-dealer.empty{width:70%;text-align:center}.bj-cards{display:flex;justify-content:center;min-height:52px;margin-bottom:-2px;position:relative;z-index:0}.bj-cards .pk-card{width:33px;height:50px;margin:0 -9px}.bj-cards.dealer{margin-top:4px}.bj-cards.dealer .pk-card{width:38px;height:58px;margin:0 -7px}.bj-hole{display:flex;flex-direction:column;align-items:center;position:relative;margin-left:4px}.bj-hole .pk-card{opacity:.8;outline:2px dashed #ffd75a;outline-offset:-1px}.bj-hole span{position:absolute;bottom:-13px;font:700 9px var(--font);color:#ffe27a;white-space:nowrap}.bj-total{position:relative;z-index:2;margin:1px 0 3px;padding:1px 9px;border-radius:9px;font:800 12px var(--font);color:#0a1830;background:#f4efe0;border:1px solid #25232b;box-shadow:0 1px 3px #00000080}.bj-total.bust{background:#ff6a5a;color:#fff}.bj-bet{position:relative;z-index:2;margin-bottom:2px}.pk-seat.bjs{width:104px}.pk-seat.bjs.empty{width:56px}.pk-seat.bjs.me .pk-plate{border-color:#8cb4ff}.ht-hero{background:#111;color:#fff;border-radius:8px;padding:14px 10px}.ht-hero .hc-h1{letter-spacing:.3em;font-weight:800}.ht-form{display:flex;flex-direction:column;gap:10px;padding:10px;border-radius:8px;background:#1b1b1b;color:#eee;margin:8px 0}.ht-form .btn,.ht-form .hc-input,.ht-form .hc-slider,.ht-form .hc-results{filter:grayscale(1)}.ht-warn{padding:8px;border:1px solid #888;border-radius:6px;background:#2a2a2a;font-size:12.5px}.ht-target{display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;background:#2a2a2a}.ht-target span{color:#aaa;font-size:12px}.ht-target strong{flex:1;font-size:16px;color:#fff}.ht-bounty{display:flex;flex-direction:column;gap:6px}.ht-bounty>span{color:#aaa;font-size:12px}.ht-amt{display:inline-flex;align-items:center;gap:6px;font:800 26px var(--font);color:#fff}.ht-amt img{width:14px;height:19px}.ht-go{height:46px;border-radius:8px;border:1px solid #000;font:800 15px var(--font);color:#111;background:linear-gradient(#fff,#bbb);cursor:pointer}.ht-go:disabled{opacity:.45}.ht-open{margin-top:6px;padding:8px;border-radius:8px;background:#111;color:#eee}.ht-open-t{font:800 12px var(--font);letter-spacing:.15em;text-transform:uppercase;color:#bbb;margin-bottom:6px}.ht-row{display:flex;align-items:center;gap:8px;padding:6px 4px;border-top:1px solid #333}.ht-n{font-weight:700;color:#fff;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ht-by{color:#888;font-size:11px;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ht-a{display:inline-flex;align-items:center;gap:3px;font-weight:800;color:#fff}.ht-a img{width:9px;height:12px}.wb-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;padding:10px;display:flex;align-items:center;justify-content:center;background:#000000a6}.wb-card{width:min(380px,100%);max-height:100%;display:flex;flex-direction:column;border-radius:6px;background:#f2f2f2;color:#111;box-shadow:0 10px 30px #000000b3;font-family:var(--font);overflow:hidden;border:6px solid #111}.wb-head{display:flex;align-items:center;justify-content:space-between;background:#111;color:#fff;padding:6px 10px}.wb-wanted{font:900 30px Times New Roman,Georgia,serif;letter-spacing:.25em}.wb-x{border:1px solid #888;border-radius:6px;background:#333;color:#fff;padding:4px 9px;font:700 14px var(--font);cursor:pointer}.wb-sub{padding:6px 10px;font:italic 12px Georgia,serif;text-align:center;border-bottom:2px dashed #111}.wb-list{overflow-y:auto;padding:4px 10px 10px}.wb-empty{padding:24px 10px;text-align:center;font:italic 14px Georgia,serif}.wb-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #999}.wb-rank{width:26px;height:26px;border-radius:50%;background:#111;color:#fff;font:800 13px/26px var(--font);text-align:center;flex:none}.wb-who{flex:1;min-width:0}.wb-name{font:800 17px Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wb-by{font-size:11px;color:#555}.wb-amt{display:inline-flex;align-items:center;gap:4px;font:900 18px var(--font)}.wb-amt img{width:11px;height:15px}.shoot-box{position:absolute;z-index:30;left:50%;top:50%;transform:translate(-50%,-50%);width:min(300px,90%);padding:14px;border-radius:12px;background:linear-gradient(#262626,#0e0e0e);border:1px solid #888;color:#eee;box-shadow:0 10px 30px #000000bf;text-align:center;display:flex;flex-direction:column;gap:8px}.shoot-title{font:800 12px var(--font);letter-spacing:.2em;text-transform:uppercase;color:#bbb}.shoot-name{font:800 24px var(--font);color:#fff;word-break:break-word}.shoot-bounty{display:inline-flex;align-items:center;justify-content:center;gap:6px;font:800 18px var(--font);color:#ffe27a}.shoot-bounty img{width:11px;height:15px}.shoot-none{font-size:12.5px;color:#bbb}.shoot-note{font-size:11.5px;color:#888}.shoot-row{display:flex;gap:8px;margin-top:4px}.shoot-row button{flex:1;height:42px;border-radius:8px;border:1px solid #000;font:800 15px var(--font);cursor:pointer}.shoot-row .no{background:linear-gradient(#5a5a5a,#2c2c2c);color:#fff}.shoot-row .yes{background:linear-gradient(#e0584a,#8e2218);color:#fff}.hc-hint{padding:6px 4px;font-size:12px;color:#6d7685}.hc-person{display:flex;align-items:center;gap:8px;min-width:0}.hc-person .head{flex:none;width:34px;height:34px;border-radius:50%;overflow:hidden;background:#cfd6e2;display:flex;align-items:center;justify-content:center}.hc-person .head canvas,.hc-person .head .head-canvas{max-width:100%;max-height:100%;image-rendering:pixelated}.hc-person .hc-pname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc-member{padding:6px 0;border-top:1px solid rgba(0,0,0,.08)}.hc-perms{display:flex;flex-wrap:wrap;gap:6px;padding:6px 0 2px 42px}.hc-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:14px;border:1px solid #aeb7c6;background:#eef1f6;color:#3a4558;font:700 12px var(--font);cursor:pointer}.hc-chip.on{background:linear-gradient(#5aa0f2,#2a64c8);color:#fff;border-color:#1e4f9e}.hc-chip-dot{width:12px;font-size:11px}.hc-tag.off{opacity:.55}.ht-target .head{flex:none;width:40px;height:40px;border-radius:50%;overflow:hidden;background:#3b3b3b;display:flex;align-items:center;justify-content:center}.ht-target .head canvas{max-width:100%;max-height:100%;image-rendering:pixelated}.ht-tn{flex:1;min-width:0;display:flex;flex-direction:column}.ht-rv .head{flex:none;width:38px;height:38px;border-radius:50%;overflow:hidden;background:#3b3b3b;display:flex;align-items:center;justify-content:center}.ht-rv .head canvas{max-width:100%;max-height:100%;image-rendering:pixelated}.ht-who{flex:1;min-width:0;display:flex;flex-direction:column}.ht-rev{flex:none;height:36px;padding:0 14px;border-radius:8px;border:1px solid #5a0f0f;background:linear-gradient(#e0584a,#8e2218);color:#fff;font:800 13px var(--font);cursor:pointer;box-shadow:inset 0 1px #ffffff59}.ht-revenge{border:1px solid #8e2218}.ht-open .ht-n{color:#fff}.ht-form .hc-person .hc-pname{color:#14202e}.ht-form .hc-hint{color:#5b6472}.door-tabs{display:flex;gap:4px;padding:3px;border-radius:10px;background:#e3e6ec;border:1px solid #c7ccd6;margin-top:4px}.door-tab{flex:1;min-width:0;padding:7px 6px;border:0;border-radius:8px;background:transparent;color:#4a5568;font:700 13px var(--font);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.door-tab.on{background:linear-gradient(#fff,#e9edf3);color:#1d232b;box-shadow:0 1px 2px #00000040}.door-star{flex:none;padding:0 8px;font-size:16px;line-height:24px;color:#9aa3b2}.door-star.on{color:#e0a600}.hideout-door .door-row{flex-wrap:wrap}.hideout-door .door-row-main{flex:1 1 140px}.door-list{grid-template-columns:minmax(0,1fr)}.door-row{min-width:0}.door-row>.btn,.door-row>.door-actions,.door-row>.door-star{flex:none}@media (max-width: 520px){.door-popup{width:calc(100% - 8px)}.door-main{grid-template-columns:1fr 1fr;gap:6px}.door-big{min-height:36px;font-size:14px;padding:0 6px;white-space:nowrap}.door-row{gap:6px;padding:6px 8px}.door-row .head{width:30px;height:30px}.door-rank{display:none}.door-profile{padding-left:6px;padding-right:6px}.hc-card .hc-tab span:last-child{font-size:11px}}.tc-box{flex:none;padding:4px 8px 5px;background:#08111c;border-top:1px solid #26384f}.tc-log{display:none;flex-direction:column;justify-content:flex-end;max-height:62px;overflow:hidden;margin-bottom:4px;font:12px/1.3 var(--font);color:#fff;text-shadow:0 1px 2px #000;user-select:text;-webkit-user-select:text;pointer-events:none}.tc-box.talk .tc-log{display:flex}.tc-log .line{padding:0;word-break:break-word}.tc-log .line b.me{color:#ffe27a}.tc-log .line.sys{color:#9fd0ff}.tc-log .line.sys.warn{color:#ffb0a3}.tc-bar{display:flex;gap:6px;align-items:center}.tc-input{flex:1;min-width:0;height:34px;padding:0 12px;border-radius:17px;border:1px solid #55627c;background:#fff;color:#14202e;font:16px var(--font);user-select:text;-webkit-user-select:text}.tc-input:focus{outline:none;box-shadow:0 0 0 2px #ffffff59}.tc-send{flex:none;height:34px;padding:0 16px;font-size:14px;border-radius:17px}html.kb .pk-overlay{inset:auto;left:0;right:0;top:var(--vv-top, 0px);height:var(--vv-h, 100dvh);padding:0}html.kb .pk-window{height:100%;border-radius:0}html.kb .pk-actions{min-height:0;padding:4px 8px 6px}html.kb .tc-log{max-height:34px}.pk-btn,.shoot-row button,.pk-presets button,.pk-room{border-radius:8px;font-weight:700;letter-spacing:0;cursor:pointer;box-shadow:inset 0 1px #ffffff80,0 1px 1px #00000059;text-shadow:0 -1px 0 rgba(0,0,0,.4)}.pk-btn{color:#fff;border:1px solid #5d6470;background:linear-gradient(#b4bac4,#8a919d 49%,#6d7480 51%,#8c939f)}.pk-btn.fold,.shoot-row .yes{border-color:#8e1b1b;background:linear-gradient(#f59a9a,#e04545 49%,#c62020 51%,#e04a4a)}.pk-btn.check,.pk-btn.call{border-color:#1e6a34;background:linear-gradient(#8fe0a4,#3cb85e 49%,#1f9644 51%,#3fbd62)}.pk-btn.raise,.pk-btn.go{color:#fff;border-color:#1f3f94;text-shadow:0 -1px 0 rgba(0,0,0,.4);background:linear-gradient(#78a6f4,#3b78e6 49%,#1f5ad6 51%,#3f7ae6)}.shoot-row .no{color:#2a2f36;border:1px solid #8b9099;text-shadow:0 1px 0 rgba(255,255,255,.9);background:linear-gradient(#fdfdfd,#e3e5e8 49%,#cfd2d7 51%,#e0e2e6)}.shoot-row .yes{color:#fff}.pk-btn:active:not(:disabled),.shoot-row button:active{transform:none;filter:brightness(.82)}.pk-presets button,.pk-room{color:#fff;border:1px solid #5d6470;background:linear-gradient(#b4bac4,#8a919d 49%,#6d7480 51%,#8c939f)}.pk-presets button:active{filter:brightness(.82)}.bj-chipbtn{box-shadow:inset 0 1px #ffffff80,0 1px 1px #00000059}.pk-seat.me{top:auto!important;bottom:8px;transform:translate(-50%)}.pk-seat.me .pk-dealer{top:60px}.pk-hand-name{position:absolute;z-index:3;left:50%;bottom:calc(100% + 2px);transform:translate(-50%);white-space:nowrap;padding:2px 10px;border-radius:9px;font:800 11.5px var(--font);color:#0a1830;background:linear-gradient(#fff6d6,#ffd75a);border:1px solid rgba(0,0,0,.45);box-shadow:0 2px 4px #00000080;pointer-events:none}.fb-del{flex:none;margin-left:6px;padding:0 6px;height:20px;line-height:18px;border-radius:5px;border:1px solid #8e1b1b;color:#fff;font:700 11px var(--font);cursor:pointer;background:linear-gradient(#f59a9a,#e04545 49%,#c62020 51%,#e04a4a)}.ios-emoji{display:inline-block;width:1.18em;height:1.18em;vertical-align:-.22em;margin:0 .02em;object-fit:contain;image-rendering:auto;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;pointer-events:none}.trade-win .tc-box{position:sticky;bottom:-10px;margin:10px -12px -10px;border-radius:0 0 14px 14px;z-index:2}html.kb .trade-overlay{inset:auto;left:0;right:0;top:var(--vv-top, 0px);height:var(--vv-h, 100dvh);padding:0}html.kb .trade-win{max-height:100%;border-radius:0}.chat-log.scroll{pointer-events:auto;overflow-y:auto;max-height:62%;padding:6px 8px;border-radius:8px;background:#080c189e;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.45) transparent;justify-content:flex-start}.chat-log.scroll:not(.open) .line:not(:nth-last-child(-n+3)),.chat-log.scroll.open .line:not(:nth-last-child(-n+10)){display:block}.chat-log.scroll::-webkit-scrollbar{width:6px}.chat-log.scroll::-webkit-scrollbar-thumb{background:#ffffff73;border-radius:3px}.nb-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;padding:10px;display:flex;align-items:center;justify-content:center;background:#00081ea8}.nb-card{width:min(400px,100%);max-height:100%;display:flex;flex-direction:column;border-radius:10px;overflow:hidden;background:#eaf2ff;color:#10203a;box-shadow:0 10px 30px #000000b3;font-family:var(--font)}.nb-head{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:linear-gradient(#3d7de0,#1f55b3);color:#fff}.nb-title-big{font:800 18px var(--font)}.nb-x{border:1px solid #a9c4f0;border-radius:6px;background:#2b62c4;color:#fff;padding:4px 9px;font:700 14px var(--font);cursor:pointer}.nb-body{padding:12px;display:flex;flex-direction:column;gap:10px;overflow-y:auto}.nb-heading{font:800 20px var(--font);color:#153e86}.nb-msg{white-space:pre-wrap;word-break:break-word;font:15px/1.45 var(--font);user-select:text;-webkit-user-select:text}.nb-link{align-self:flex-start;border:1px solid #14388a;border-radius:9px;padding:10px 18px;font:800 15px var(--font);color:#fff;background:linear-gradient(#4a8cf0,#1f55b3);box-shadow:inset 0 1px #fff6;cursor:pointer}.nb-url{font:12px var(--font);color:#4a5a78;word-break:break-all;user-select:text;-webkit-user-select:text}.nb-empty{padding:20px 4px;text-align:center;color:#4a5a78;font-style:italic}.nb-label{display:flex;flex-direction:column;gap:4px;font:700 12px var(--font);color:#2a3d63}.nb-input{width:100%;box-sizing:border-box;padding:8px 10px;border-radius:8px;border:1px solid #a9bbdc;background:#fff;color:#10203a;font:15px var(--font)}.nb-text{resize:vertical;min-height:90px}.nb-row{display:flex;gap:8px;justify-content:flex-end}.fb-del.fb-shadow{margin-left:4px;border-color:#3b3b55;background:linear-gradient(#a9a9d6,#6a6aa8 49%,#55558f 51%,#6a6aa8)}.swatch-wheel{background:conic-gradient(#f33,#fc3,#6d3,#3cf,#63f,#f3c,#f33)}.swatch-wheel.open{outline:2px solid #2a64d6;outline-offset:1px}.wheel-host:empty{display:none}.wheel-panel{margin:0 0 10px;padding:8px;border:1px solid rgba(0,0,0,.25);border-radius:8px;background:#ffffff73;display:grid;justify-items:center;gap:8px}.cw{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center}.cw-wheel{position:relative;width:150px;height:150px;touch-action:none}.cw-disc{width:150px;height:150px;display:block;border-radius:50%;cursor:crosshair;box-shadow:0 1px 4px #00000059;touch-action:none}.cw-knob{position:absolute;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #000000b3;pointer-events:none}.cw-side{display:grid;gap:6px;min-width:120px}.cw-label{font-size:12px;color:var(--muted)}.cw-bright{width:100%}.cw-row{display:flex;gap:6px;align-items:center}.cw-chip{width:26px;height:26px;border-radius:5px;border:1px solid rgba(0,0,0,.55);flex:0 0 auto}.cw-hex{width:90px;font-family:monospace}.wb-row.wb-bag{background:#ff3c321a;box-shadow:inset 3px 0 #e8281e;padding-left:6px}.wb-where{font-size:11px;font-weight:700;color:#222}.hc-body.sound{padding:0;gap:0;overflow:hidden}.sc-host{display:flex;flex-direction:column;flex:1;min-height:0}.sc,.bs{font-family:var(--font);color:#3a3a3a}.sc{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;background:#f7f7f7}.sc-ico{display:inline-flex;width:18px;height:18px;vertical-align:middle}.sc-ico svg{width:100%;height:100%}.sc-nav{position:relative;z-index:2;flex:none;display:flex;align-items:center;gap:4px;height:44px;padding:0 8px;background:linear-gradient(#6b6e73,#56595e 49%,#3f4145 50%,#2d2e32);border-bottom:1px solid #0b0b0c;box-shadow:inset 0 1px #ffffff4d,0 1px 3px #00000073}.sc-nav-side{flex:0 0 76px;display:flex;align-items:center}.sc-nav-side.right{justify-content:flex-end}.sc-nav-title{flex:1;min-width:0;text-align:center;font:700 17px var(--font);color:#e6e6e6;text-shadow:0 -1px 0 rgba(0,0,0,.85);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-barbtn{position:relative;height:30px;padding:0 11px;border:1px solid #0e0e0f;border-radius:5px;font:700 12px var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.7);background:linear-gradient(#8a8d92,#666a6f 49%,#4f5156 50%,#3e4045);box-shadow:inset 0 1px #fff6,0 1px #ffffff1f;cursor:pointer}.sc-barbtn:active{background:linear-gradient(#55585d,#2b2c30);box-shadow:inset 0 1px 3px #000000b3}.sc-barbtn.back{margin-left:12px;padding-left:6px;border-left:0;border-radius:0 5px 5px 0}.sc-barbtn.back:before{content:"";position:absolute;left:-11px;top:-1px;width:12px;height:30px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='30' viewBox='0 0 12 30'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%238a8d92'/><stop offset='.49' stop-color='%23666a6f'/><stop offset='.5' stop-color='%234f5156'/><stop offset='1' stop-color='%233e4045'/></linearGradient></defs><path d='M12 .5L4.2 12.6Q.8 15 4.2 17.4L12 29.5Z' fill='url(%23g)'/><path d='M12 .5L4.2 12.6Q.8 15 4.2 17.4L12 29.5' fill='none' stroke='%230e0e0f'/><path d='M11.5 1.5L5 11.6' fill='none' stroke='white' stroke-opacity='.35'/></svg>") no-repeat;pointer-events:none}.sc-segbar{flex:none;padding:6px 8px;background:linear-gradient(#4b4d51,#36373b);border-bottom:1px solid #000;box-shadow:inset 0 1px #ffffff24}.sc-seg{display:flex;height:29px;border:1px solid #000;border-radius:5px;overflow:hidden;background:#141414;box-shadow:inset 0 1px 3px #000c,0 1px #ffffff2e}.sc-seg-btn{flex:1;min-width:0;padding:0 2px;border:0;border-left:1px solid #000;font:700 12px var(--font);white-space:nowrap;color:#bdbdbd;text-shadow:0 -1px 0 #000;background:linear-gradient(#5d5d5d,#484848 49%,#393939 50%,#303030);box-shadow:inset 0 1px #ffffff3d;cursor:pointer}.sc-seg-btn:first-child{border-left:0}.sc-seg-btn.on{color:#fff;background:linear-gradient(#0d0d0d,#262626);box-shadow:inset 0 2px 5px #000000e6}.sc-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#f7f7f7}.sc-scroll.stripes{background:repeating-linear-gradient(90deg,#dde3ef 0,#dde3ef 4px,#e4e9f3 4px,#e4e9f3 8px)}.sc-nav.blue{background:linear-gradient(#bccadf,#a0b3d0 49%,#8199bf 50%,#6f8bb3);border-bottom-color:#3b4f72;box-shadow:inset 0 1px #ffffff8c,0 1px 3px #00000059}.sc-nav.blue .sc-nav-title{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.5)}.sc-nav.blue .sc-barbtn{border-color:#2f4a78;background:linear-gradient(#8fb0de,#5a85c4 49%,#3f6db5 50%,#4a7bc2);box-shadow:inset 0 1px #ffffff80}.sc-nav.blue .sc-barbtn.back:before{background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='30' viewBox='0 0 12 30'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%238fb0de'/><stop offset='.49' stop-color='%235a85c4'/><stop offset='.5' stop-color='%233f6db5'/><stop offset='1' stop-color='%234a7bc2'/></linearGradient></defs><path d='M12 .5L4.2 12.6Q.8 15 4.2 17.4L12 29.5Z' fill='url(%23g)'/><path d='M12 .5L4.2 12.6Q.8 15 4.2 17.4L12 29.5' fill='none' stroke='%232f4a78'/><path d='M11.5 1.5L5 11.6' fill='none' stroke='white' stroke-opacity='.35'/></svg>") no-repeat}.sc-scroll.linen,.sc-linen{background-color:#c9d0da;background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.2) 0 1px,transparent 1px 3px),repeating-linear-gradient(0deg,rgba(0,0,0,.04) 0 1px,transparent 1px 3px)}.sc-body{display:flex;flex-direction:column;min-height:100%}.sc-section{flex:none;height:22px;line-height:21px;padding:0 10px;font:700 14px var(--font);color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.5);background:linear-gradient(#b6b8bb,#909296);border-top:1px solid #d3d4d6;border-bottom:1px solid #6b6d70;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sc-note{padding:6px 10px;font-size:11px;line-height:1.35;color:#7a7a7a;background:#f1f1f1;border-bottom:1px solid #d9d9d9}.sc-linen{padding:8px;display:flex;flex-direction:column;gap:8px;border-bottom:1px solid #98a0ad}.sc-linen>.sc-note{padding:0 4px;background:none;border:0;color:#4c566c;text-shadow:0 1px 0 rgba(255,255,255,.8)}.sc-hint{font-size:11px;color:#888;text-align:center}.sc-empty{text-align:center;color:#8a8a8a;font-size:13px;padding:18px 12px}.sc-empty.linen{color:#4c566c;text-shadow:0 1px 0 rgba(255,255,255,.8)}.sc-panel{display:flex;flex-direction:column;gap:6px;padding:8px;background:linear-gradient(#fafafa,#ececec);border-bottom:1px solid #cfcfcf}.sc-actions{display:flex;gap:8px}.sc-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:26px;padding:3px 10px;border:1px solid #8b8b8b;border-radius:4px;font:700 11px var(--font);text-transform:uppercase;color:#555;text-shadow:0 1px 0 rgba(255,255,255,.9);background:linear-gradient(#fdfdfd,#eaeaea 49%,#d9d9d9 50%,#cbcbcb);box-shadow:inset 0 1px #fff,0 1px #ffffffb3;cursor:pointer;white-space:nowrap}.sc-btn:active:not(:disabled){background:linear-gradient(#c5c5c5,#dcdcdc);box-shadow:inset 0 1px 3px #00000059}.sc-btn:disabled{opacity:.5;cursor:default}.sc-btn.wide{flex:1;min-height:32px;font-size:12px;border-radius:5px}.sc-btn.small{min-height:22px;padding:2px 8px;font-size:10.5px}.sc-btn .sc-ico{width:14px;height:14px}.sc-btn.blue,.sc-btn.green,.sc-btn.danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.5);box-shadow:inset 0 1px #ffffff73,0 1px #ffffff80}.sc-btn.blue{border-color:#1a4f9c;background:linear-gradient(#8ac0fa,#4a97ee 49%,#2a7ae0 50%,#1d66cb)}.sc-btn.green{border-color:#2b6d19;background:linear-gradient(#a8de80,#6cc24a 49%,#4fae2c 50%,#3b9a1f)}.sc-btn.danger{border-color:#6d1414;background:linear-gradient(#f2a0a0,#dd5e5e 49%,#c93a3a 50%,#b02828)}.sc-list{background:#f7f7f7}.sc-list>*{background:#f7f7f7;border-bottom:1px solid #d9d9d9}.sc-list>*:nth-child(2n){background:#ececec}.sc-row{position:relative;display:flex;align-items:center;gap:8px;min-height:58px;padding:6px 8px;box-sizing:border-box}.sc-list>.sc-row.playing,.sc-list>.sc-mine .sc-row.playing{background:linear-gradient(#e9f2fc,#d2e4f8)}.sc-rank{flex:none;align-self:stretch;width:26px;margin:-6px 0 -6px -8px;display:flex;align-items:center;justify-content:center;font:700 12px var(--font);color:#555;border-right:1px solid #d3d3d3;background:#ffffff73}.sc-art{position:relative;flex:none;width:44px;height:44px;padding:0;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #9a9a9a;border-radius:5px;background:linear-gradient(#f4f4f4,#cfcfcf);box-shadow:0 1px 2px #00000059,inset 0 1px #fffc}.sc-art.big{width:64px;height:64px;border-radius:9px}.sc-art:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(#ffffff61,#fff0 52%);pointer-events:none}.sc-art .head{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#cfd6e2}.sc-art .head canvas{max-width:100%;max-height:100%;image-rendering:pixelated}.sc-main{flex:1;min-width:0}.sc-title{display:flex;align-items:center;gap:5px;font:700 13px var(--font);color:#3d3d3d}.sc-title>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-list>.sc-row.playing .sc-title>span:last-child,.sc-row.playing .sc-title>span:last-child{color:#2c4f8f}.sc-line{display:flex;align-items:baseline;gap:6px;min-width:0}.sc-artist{display:block;max-width:100%;padding:0;border:0;background:none;font:600 11px var(--font);color:#4a6fa5;text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-meta{font-size:11px;color:#8a8a8a;white-space:nowrap}.sc-chev{flex:none;width:8px;height:8px;margin-right:4px;border-top:2px solid #a3a3a3;border-right:2px solid #a3a3a3;transform:rotate(45deg)}.sc-eq{display:inline-flex;align-items:flex-end;gap:1px;flex:none;width:12px;height:11px}.sc-eq i{display:block;width:3px;height:30%;border-radius:1px;background:#2b78d8}.sc-eq.on i{animation:sc-eq .9s ease-in-out infinite}.sc-eq.on i:nth-child(2){animation-delay:-.3s}.sc-eq.on i:nth-child(3){animation-delay:-.6s}@keyframes sc-eq{0%,to{height:25%}50%{height:100%}}.sc-play{flex:none;width:34px;height:34px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #7c7c7c;border-radius:50%;color:#555;background:linear-gradient(#fdfdfd,#e7e7e7 49%,#d3d3d3 50%,#c4c4c4);box-shadow:inset 0 1px #fff,0 1px 1px #00000040;cursor:pointer}.sc-play .sc-ico{width:15px;height:15px}.sc-play.on{color:#fff;border-color:#1a4f9c;background:linear-gradient(#8ac0fa,#4a97ee 49%,#2a7ae0 50%,#1d66cb)}.sc-votes{display:flex;align-items:center;gap:4px;margin-top:3px}.sc-vote-btn{width:26px;height:18px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #8b8b8b;border-radius:3px;background:linear-gradient(#fdfdfd,#eaeaea 49%,#d9d9d9 50%,#cbcbcb);box-shadow:inset 0 1px #fff;cursor:pointer}.sc-vote-btn:disabled{opacity:.4;cursor:default}.sc-tri{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent}.sc-vote-btn.up .sc-tri{border-bottom:7px solid #7d7d7d}.sc-vote-btn.down .sc-tri{border-top:7px solid #7d7d7d}.sc-vote-btn.up.on{border-color:#2b6d19;background:linear-gradient(#a8de80,#4fae2c)}.sc-vote-btn.up.on .sc-tri{border-bottom-color:#fff}.sc-vote-btn.down.on{border-color:#6d1414;background:linear-gradient(#f2a0a0,#c93a3a)}.sc-vote-btn.down.on .sc-tri{border-top-color:#fff}.sc-n{min-width:16px;font:700 11px var(--font)}.sc-n.up{color:#3f8a24}.sc-n.down{color:#b03030}.sc-mine{display:flex;flex-direction:column}.sc-mine .sc-row{background:transparent}.sc-mine>.sc-btn{align-self:flex-end;margin:0 8px 8px}.sc-profilehead{flex:none;display:flex;align-items:center;gap:10px;padding:10px;background:linear-gradient(#fcfcfc,#e3e3e3);border-bottom:1px solid #c3c3c3}.sc-ph-text{min-width:0}.sc-ph-name{font:700 17px var(--font);color:#333;text-shadow:0 1px 0 #fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ph-sub{margin-top:2px;font-size:12px;color:#888}.sc-who{flex:none;display:flex;align-items:center;gap:8px;padding:5px 10px;font:700 14px var(--font);color:#333;background:linear-gradient(#fcfcfc,#e6e6e6);border-bottom:1px solid #c3c3c3}.sc-group{overflow:hidden;border:1px solid #a2a9b5;border-radius:9px;background:#fff;box-shadow:0 1px #fffc}.sc-grow{display:flex;align-items:center;gap:8px;min-height:42px;padding:5px 10px;border-top:1px solid #d9d9d9;box-sizing:border-box}.sc-grow:first-child{border-top:0}.sc-grow.slider{min-height:36px}.sc-glabel{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 13px var(--font);color:#3b3b3b}.sc-gvalue{font:13px var(--font);color:#385487}.sc-field{flex:1;min-width:0;padding:0;border:0;outline:0;background:transparent;font:14px var(--font);color:#385487}.sc-field.num{flex:0 0 90px;text-align:right}.sc-file{display:none}.sc-range{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:8px;margin:8px 0;border:1px solid #6e7075;border-radius:4px;background:linear-gradient(#a9abb0,#d8d9dc);box-shadow:inset 0 1px 2px #0006}.sc-range::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border:1px solid #7a7a7a;border-radius:50%;background:radial-gradient(circle at 50% 28%,#fff,#cfcfcf);box-shadow:0 1px 2px #00000080}.sc-range::-moz-range-thumb{width:24px;height:24px;border:1px solid #7a7a7a;border-radius:50%;background:radial-gradient(circle at 50% 28%,#fff,#cfcfcf);box-shadow:0 1px 2px #00000080}.sc-prog{height:10px;overflow:hidden;border:1px solid #7a7d83;border-radius:5px;background:linear-gradient(#b8bbc0,#e2e3e5);box-shadow:inset 0 1px 2px #00000059}.sc-prog[hidden]{display:none}.sc-prog i{display:block;height:100%;background:repeating-linear-gradient(-45deg,rgba(255,255,255,.28) 0 6px,transparent 6px 12px),linear-gradient(#6bb2ff,#1f6fd6)}.sc-chips{display:flex;gap:6px;padding:6px 8px;overflow-x:auto;background:linear-gradient(#fafafa,#ececec);border-bottom:1px solid #cfcfcf}.sc-chip{flex:none;display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 10px;border:1px solid #8b8b8b;border-radius:12px;font:700 11px var(--font);color:#555;text-shadow:0 1px 0 rgba(255,255,255,.9);background:linear-gradient(#fdfdfd,#eaeaea 49%,#d9d9d9 50%,#cbcbcb);box-shadow:inset 0 1px #fff;cursor:pointer}.sc-chip.on{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.5);border-color:#1a4f9c;background:linear-gradient(#8ac0fa,#4a97ee 49%,#2a7ae0 50%,#1d66cb)}.sc-now{flex:none;padding:6px 8px 5px;color:#fff;background:linear-gradient(#4b4d51,#2f3033 49%,#232427 50%,#18191b);border-top:1px solid #000;box-shadow:inset 0 1px #fff3}.sc-now[hidden]{display:none}.sc-now-top{display:flex;align-items:center;gap:8px}.sc-donut{flex:none;width:36px;height:36px;padding:3px;border:0;border-radius:50%;cursor:pointer;background:conic-gradient(#1aa0ff var(--p, 0deg),#3a3b3e 0);box-shadow:0 0 0 1px #000,inset 0 0 0 1px #ffffff1a}.sc-donut-in{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;color:#e8e8e8;background:radial-gradient(circle at 50% 28%,#5a5c60,#1d1e20);box-shadow:inset 0 1px #ffffff4d}.sc-donut-in .sc-ico{width:14px;height:14px}.sc-now-text{min-width:0;flex:1;display:flex;flex-direction:column}.sc-now-text b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 13px var(--font);color:#fff}.sc-now-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#a9abaf}.sc-ctrl{display:flex;gap:4px;flex:none}.sc-cbtn{flex:none;width:27px;height:27px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #000;border-radius:4px;color:#dcdcdc;background:linear-gradient(#6c6e72,#4d4f53 49%,#3b3d41 50%,#2c2e31);box-shadow:inset 0 1px #ffffff52;cursor:pointer}.sc-cbtn:disabled{opacity:.5}.sc-cbtn .sc-ico{width:13px;height:13px}.sc-cbtn.on{color:#2aa8ff;background:linear-gradient(#1f2022,#38393c);box-shadow:inset 0 2px 4px #000c;filter:drop-shadow(0 0 3px rgba(38,162,255,.6))}.sc-cbtn.plus{width:30px;height:30px;border-radius:50%}.sc-seek{height:6px;margin-top:5px;overflow:hidden;border:1px solid #000;border-radius:3px;background:linear-gradient(#0e0e0f,#2a2b2d);cursor:pointer}.sc-seek i{display:block;height:100%;background:linear-gradient(#5db6ff,#1b82ec)}.sc-times{display:flex;justify-content:space-between;margin-top:1px;font-size:9px;color:#9a9ca0}.sc-speaker{flex:none;display:flex;flex-direction:column;gap:6px;padding:7px 8px;color:#fff;background:linear-gradient(#4b4d51,#2f3033 49%,#232427 50%,#18191b);border-bottom:1px solid #000;box-shadow:inset 0 1px #fff3}.sc-speaker-top{display:flex;align-items:center;gap:8px}.sc-speaker-ico{flex:none;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#2aa8ff;background:radial-gradient(circle at 50% 28%,#5a5c60,#1d1e20);box-shadow:0 0 0 1px #000,inset 0 1px #ffffff4d}.sc-speaker-ico .sc-ico{width:18px;height:18px;filter:drop-shadow(0 0 3px rgba(38,162,255,.8))}.sc-speaker .sc-ctrl{flex-wrap:wrap;align-items:center;justify-content:center}.sc-tabbar{flex:none;display:flex;background:linear-gradient(#4c4e52,#2f3033 49%,#222326 50%,#151618);border-top:1px solid #000;box-shadow:inset 0 1px #ffffff38}.sc-tab{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:1px;padding:4px 0 3px;border:0;border-left:1px solid rgba(0,0,0,.6);border-right:1px solid rgba(255,255,255,.06);background:none;font:700 10px var(--font);color:#a6a8ac;text-shadow:0 -1px 0 #000;cursor:pointer}.sc-tab:first-child{border-left:0}.sc-tab.on{color:#fff;background:linear-gradient(#5d5f64,#38393d);box-shadow:inset 0 1px #ffffff38}.sc-tab-ico{position:relative;width:28px;height:26px;display:flex;align-items:center;justify-content:center;color:#9b9da2}.sc-tab-ico .sc-ico{width:23px;height:23px}.sc-tab.on .sc-tab-ico{color:#26a2ff;filter:drop-shadow(0 0 4px rgba(38,162,255,.85))}.sc-badge{position:absolute;top:-3px;right:-10px;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border:2px solid #fff;border-radius:8px;background:linear-gradient(#ff6b6b,#d00000);color:#fff;font:800 10px/12px var(--font);text-align:center;box-shadow:0 1px 2px #0009}.bs{position:absolute;top:8px;right:8px;bottom:8px;left:8px;z-index:6;display:flex;flex-direction:column;overflow:hidden;border:1px solid #000;border-radius:10px;background:#f7f7f7;box-shadow:0 8px 24px #0009}.bs-footer{flex:none}.bs-act{flex:none;min-width:78px;display:flex;flex-direction:column;align-items:stretch;gap:4px}.bs-act .sc-btn{width:100%}.bs-price-tag{text-align:center}.bs-price{display:inline-flex;align-items:center;gap:2px;font-weight:800}.bs-owned{display:inline-flex;align-items:center;justify-content:center;gap:4px;font:700 11px var(--font);color:#4f8f2a}.bs-owned .sc-ico{width:12px;height:12px}.bs-dot{display:inline-block;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:8px;background:linear-gradient(#ff6b6b,#d00000);color:#fff;font:800 10px/16px var(--font);text-align:center;box-shadow:0 1px 1px #0006}.bs-beat .sc-art.beat{cursor:pointer}.bs-note{color:#8c8c8c;display:flex}.bs-note .sc-ico{width:24px;height:24px}.bs-tileplay{position:absolute;z-index:1;left:50%;top:50%;width:24px;height:24px;margin:-12px 0 0 -12px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.8);border-radius:50%;color:#fff;background:#1e1e22b8}.bs-tileplay .sc-ico{width:11px;height:11px}.sc-art.beat.on .bs-tileplay{background:#1a6ed6e6}.bs-thread{width:100%;padding-left:6px;text-align:left;font:inherit;color:inherit;border-width:0 0 1px;cursor:pointer}.bs-unread{flex:none;width:10px;height:10px;border-radius:50%}.bs-unread.on{background:radial-gradient(circle at 35% 30%,#7cc0ff,#1766d0);box-shadow:0 0 2px #003ca099}.bs-when{margin-left:auto;font:400 11px var(--font);color:#2a6cc0}.bs-last{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#777}.bs-chat{display:flex;flex-direction:column;gap:9px;padding:10px 10px 14px;flex:1}.bs-msg{display:flex;flex-direction:column;align-items:flex-start;align-self:flex-start;max-width:86%}.bs-msg.me{align-items:flex-end;align-self:flex-end}.bs-msg-who{margin:0 8px 2px;font-size:10px;font-weight:700;color:#5a647a;text-shadow:0 1px 0 rgba(255,255,255,.7)}.bs-msg-who span{font-weight:400}.bs-msg-text{overflow-wrap:anywhere}.bs-msg-audio{display:flex;align-items:center;gap:8px}.bs-msg-audio .sc-play{width:30px;height:30px}.bs-msg-len{font-size:12px}.bs-slot{display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 10px;text-align:center;border:2px dashed #6c7a96;border-radius:12px;background:#ffffff8c;color:#33405c;font:14px var(--font);cursor:pointer}.bs-slot small{font-size:12px;color:#55627f}.bs-slot .sc-ico{width:30px;height:30px;color:#4a77c2}.bs-rapchip{display:flex;align-items:center;gap:6px;padding:4px 10px;font-size:12px;color:#33405c;background:#e8ecf4;border-top:1px solid #a8aeb8}.bs-rapchip .sc-ico{width:14px;height:14px}.bs-x{margin-left:auto;padding:0 4px;border:0;background:none;font-size:20px;line-height:1;color:#777;cursor:pointer}.bs-sheet{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 40%,#00000059,#000000b8)}.bs-alert{position:relative;width:min(270px,88%);overflow:hidden;border:2px solid rgba(255,255,255,.92);border-radius:10px;color:#fff;text-align:center;background:linear-gradient(#5d7197,#3f5176,#2c3c61);box-shadow:0 6px 22px #000c,inset 0 0 0 1px #0006}.bs-alert:after{content:"";position:absolute;left:-30%;right:-30%;top:-62%;height:100%;border-radius:50%;background:#ffffff21;pointer-events:none}.bs-alert-body{position:relative;z-index:1;padding:16px 14px 12px}.bs-alert-title{font:700 17px var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.6)}.bs-alert-msg{margin-top:6px;font:13px/1.35 var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.5)}.bs-alert-msg.warn{color:#ffd0d0}.bs-alert-row{position:relative;z-index:1;display:flex;gap:8px;padding:0 12px 12px}.bs-alert-btn{flex:1;min-width:0;height:42px;display:flex;align-items:center;justify-content:center;gap:4px;border:1px solid #1a2238;border-radius:6px;font:700 14px var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.6);background:linear-gradient(#8794b2,#5d6d93 49%,#4b5b83 50%,#3b4b73);box-shadow:inset 0 1px #fff6;cursor:pointer}.bs-alert-btn.ok{border-color:#16346a;background:linear-gradient(#8cb8f4,#4a8be6 49%,#2f74dc 50%,#2262c8)}.bs-alert-btn:disabled{opacity:.5}.bs-alert-btn:active:not(:disabled){filter:brightness(.85)}.cdp{display:flex;flex-direction:column;gap:8px}.cdp-list{display:flex;flex-direction:column;max-height:220px;overflow-y:auto;border:1px solid #000;border-radius:6px;background:#f7f7f7;box-shadow:0 1px #ffffff40}.cdp-song{display:flex;align-items:center;gap:8px;padding:6px 8px;text-align:left;border:0;border-bottom:1px solid #d9d9d9;background:#f7f7f7;color:#3d3d3d;font:13px var(--font);cursor:pointer}.cdp-song:nth-child(2n){background:#ececec}.cdp-song.on{background:linear-gradient(#e9f2fc,#d2e4f8)}.cdp-song.on b{color:#2c4f8f}.cdp-rank{flex:none;width:20px;text-align:center;font-weight:700;color:#777}.cdp-main{flex:1;min-width:0;display:flex;flex-direction:column}.cdp-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cdp-main small{color:#8a8a8a;font-size:11px}.cdp-votes{font-size:11px;color:#8a8a8a}.cdp-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#b6c2e0}.cdp-cols{display:flex;flex-wrap:wrap;gap:6px}.cdp-col{width:46px;height:40px;padding:3px;border:1px solid #1d1e20;border-radius:6px;background:linear-gradient(#e9e9e9,#bdbdbd);box-shadow:inset 0 1px #fff;cursor:pointer}.cdp-col.on{border-color:#1a6fd0;background:linear-gradient(#fff,#d2e4f8);box-shadow:0 0 0 2px #2aa8ff,inset 0 1px #fff}.cdp-col img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.cdp-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.cdp-price{font-weight:800}.cdp-owner{display:flex;flex-direction:column;gap:6px;padding-top:8px;border-top:1px solid rgba(255,255,255,.2)}.cdp-row{display:flex;align-items:center;gap:6px}.cdp-num{min-width:60px;text-align:center;font-weight:800}.el{width:260px}.el-body{display:flex;flex-direction:column;gap:8px}.el-time{padding:6px 8px;border-radius:6px;background:#00000059;color:#ffb4a8;font-size:12px;font-weight:700}.el-time.open{color:#b8f5a0}.el-price{display:inline-flex;align-items:center;gap:2px;font-weight:800}.st-hud{position:absolute;left:8px;top:38px;z-index:4;display:flex;flex-direction:column;gap:4px;pointer-events:none;max-width:190px}.st-hud>*{pointer-events:auto}.st-hp{display:flex;align-items:center;gap:6px}.st-hp-bar{position:relative;width:120px;height:16px;overflow:hidden;border:1px solid #000;border-radius:8px;background:linear-gradient(#5a1010,#3a0808);box-shadow:inset 0 1px 2px #000000b3,0 1px #ffffff40}.st-hp-bar i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(#8de06a,#4fae2c,#3b9a1f);transition:width .25s}.st-hp-bar i.low{background:linear-gradient(#f2a0a0,#c93a3a)}.st-hp-text{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font:700 11px var(--font);color:#fff;text-shadow:0 1px 1px #000}.st-status{padding:2px 8px;border-radius:8px;background:#0000008c;color:#e8e8e8;font-size:11px;width:fit-content}.st-status:empty{display:none}.st-status.red{background:#961414cc}.st-band{align-self:flex-start;padding:3px 12px;border:1px solid #2b6d19;border-radius:5px;font:700 12px var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.5);background:linear-gradient(#a8de80,#6cc24a 49%,#4fae2c 50%,#3b9a1f);box-shadow:inset 0 1px #ffffff73;cursor:pointer}.st-dead{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:center;justify-content:center;background:#3c00009e;-webkit-backdrop-filter:grayscale(.8);backdrop-filter:grayscale(.8);pointer-events:auto}.st-dead-card{text-align:center;color:#fff;text-shadow:0 2px 4px #000}.st-dead-title{font:900 34px var(--font);letter-spacing:1px;color:#ff4a4a}.st-dead-sub{margin-top:8px;font:700 15px var(--font)}.st-dead-secs{font-size:20px}.st-order{width:250px;top:auto;bottom:70px;right:50%;transform:translate(50%)}.st-order-row{display:flex;align-items:center;gap:10px}.st-order-ico{width:36px;height:36px;image-rendering:pixelated}.st-order-want{font-weight:800;font-size:15px}.stage.horror.street{background:radial-gradient(ellipse 80% 70% at 50% 40%,#232d48,#101626 55%,#05070d)}.stage.horror.street:before{display:none}.as-board{display:grid;gap:1px;background:#000;width:max-content;max-width:100%;margin:8px 0;touch-action:none;-webkit-user-select:none;user-select:none}.as-cell{cursor:crosshair}.as-out{width:100%;font-family:monospace;font-size:11px;box-sizing:border-box}.as-num{width:64px!important}.stage.street:not(.horror){background:radial-gradient(ellipse 60% 40% at 78% 14%,#fff7d6,#fff7d600 60%),linear-gradient(#5aa9e6,#9ed0f2 45%,#dff0fb)}.wk-menu{max-width:calc(100% - 16px);box-sizing:border-box}.wk-menu .wk-body{display:flex;flex-direction:column;gap:6px}.wk-menu .wk-body .btn{white-space:normal;text-align:left;word-break:break-word}.wk-menu .cd-row{flex-wrap:wrap}.ipod-card{max-width:420px}.ipod-app{display:flex;align-items:center;gap:12px;width:100%;padding:12px;margin:6px 0;border-radius:14px;border:1px solid rgba(0,0,0,.35);background:linear-gradient(#5b6f93,#36486b);color:#fff;text-align:left;cursor:pointer;box-shadow:inset 0 1px #ffffff59,0 2px 4px #0000004d}.ipod-app-ico{width:44px;height:44px;border-radius:10px;background:linear-gradient(#8fb3e8,#3d6fc4);display:grid;place-items:center;flex:none}.ipod-app-ico svg{width:26px;height:26px}.ipod-app-text{display:flex;flex-direction:column;gap:2px;min-width:0}.ipod-app-text small{opacity:.8}.dw-card{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:10px;background:#1b1b1b;color:#eee;border:1px solid #333}.dw-card.done{opacity:.75}.dw-title{display:flex;align-items:center;justify-content:space-between;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.dw-badge{background:#2f8f3a;color:#fff;border-radius:99px;padding:1px 8px;font-size:11px;letter-spacing:0}.dw-line{display:flex;align-items:center;gap:10px}.dw-ico{width:32px;height:32px;image-rendering:pixelated;object-fit:contain;flex:none}.dw-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.dw-name{display:flex;justify-content:space-between;font-weight:700}.dw-count{font-weight:400;opacity:.85}.dw-bar{height:8px;border-radius:99px;background:#000;overflow:hidden;border:1px solid #333}.dw-fill{height:100%;background:linear-gradient(#e8484f,#a1141b)}.dw-tick{color:#5fd16a;font-weight:800;font-size:18px}.dw-card .hint{color:#9a9a9a}.dw-line .btn{flex:none;min-width:64px}.dw-name{gap:6px}.dw-reward{display:inline-flex;align-items:center;gap:4px;color:#ffd36a;letter-spacing:0}.dw-reward img{width:14px;height:14px}.dw-clock{text-align:center;padding:6px 8px;border-radius:8px;background:#2a1d1d;color:#ffb3b3;font-weight:700}.dw-clock.closed{background:#222;color:#aaa}.dw-share{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-radius:8px;background:#101010;border:1px solid #333}.stash-win{position:absolute;z-index:6;left:50%;top:50%;transform:translate(-50%,-50%);width:min(780px,calc(100% - 16px));height:min(580px,calc(100% - 16px));box-sizing:border-box;display:flex;flex-direction:column;gap:8px;padding:12px 14px;color:#fff;border-radius:12px;border:1px solid #c8d0e0;background:linear-gradient(#1a2b66,#0a1440);box-shadow:0 10px 34px #0009}.stash-head{display:flex;align-items:center;gap:10px;font-size:17px}.stash-head strong{flex:0 0 auto}.stash-count{flex:1;color:#b6c2e0;font-size:12px}.stash-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.stash-search{flex:1;min-width:120px;padding:6px 10px;border-radius:8px;border:1px solid #5a6aa0;background:#00000059;color:#fff;font:14px var(--font)}.stash-amounts{display:flex;gap:4px}.stash-chip{padding:5px 12px;border-radius:14px;border:1px solid #5a6aa0;background:#ffffff14;color:#dfe6ff;font:700 12px var(--font);cursor:pointer}.stash-chip.on{background:#ffe27a;color:#2a2200;border-color:#ffe27a}.stash-panes{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.stash-pane{min-height:0;display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:10px;background:#00000047;border:1px solid rgba(255,255,255,.12)}.stash-pane-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;color:#ffe27a}.stash-grid{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));grid-auto-rows:84px;gap:6px;align-content:start}.stash-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;padding:6px 2px 2px;border-radius:8px;border:1px solid rgba(255,255,255,.18);background:#ffffff12;color:#fff;cursor:pointer;font:11px var(--font)}.stash-tile:hover:not(:disabled){background:#ffe27a33;border-color:#ffe27a}.stash-tile:disabled{opacity:.6;cursor:default}.stash-ico{width:40px;height:40px;object-fit:contain;image-rendering:pixelated}.stash-qty{position:absolute;top:3px;right:4px;padding:0 5px;border-radius:8px;background:#000a;color:#ffe27a;font:800 11px var(--font)}.stash-name{width:100%;text-align:center;line-height:1.15;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.stash-empty{grid-column:1 / -1;color:#b6c2e0;font-size:12px;padding:12px 4px}.stash-foot{font-size:11px}@media (max-width: 560px){.stash-panes{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.stash-grid{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));grid-auto-rows:78px}}.confirm-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:center;justify-content:center;background:#00000a80}.cd-popup.confirm-pop{position:static;width:290px;max-width:calc(100% - 24px);gap:8px;box-shadow:0 10px 34px #000000a6}.confirm-title{color:#ff5a4a;font-size:18px;letter-spacing:.5px;text-shadow:0 1px 0 #000}.confirm-line{font-size:13px;line-height:1.35;color:#dfe6ff}.confirm-ask{font-weight:800;text-align:center;margin-top:2px}.confirm-buttons{display:flex;gap:10px;justify-content:center;margin-top:4px}.confirm-buttons .btn{min-width:96px}.jb-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:8px;background:#00000a80}.jb-win{position:relative;width:min(380px,100%);max-height:min(560px,100%);display:flex;flex-direction:column;overflow:hidden;border-radius:12px;border:1px solid #1d2a44;box-shadow:0 12px 38px #000000b3;background:repeating-linear-gradient(90deg,#e4e6ea 0,#e4e6ea 2px,#dcdfe4 2px,#dcdfe4 4px);color:#2b2f36;font-family:var(--font)}.jb-bar{flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;padding:7px 8px;background:linear-gradient(#bccadf,#a3b5d2 49%,#8aa2c6 51%,#6f8bb3);border-bottom:1px solid #3b4f72;box-shadow:inset 0 1px #ffffff73}.jb-title{font:700 18px/1 var(--font);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.5);text-align:center}.jb-barbtn{justify-self:start;height:30px;padding:0 12px;border:1px solid #3c5578;border-radius:5px;cursor:pointer;background:linear-gradient(#a9bbd5,#86a0c6 49%,#7792ba 51%,#8aa3c8);color:#fff;font:700 13px/28px var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.45);box-shadow:inset 0 1px #ffffff73}.jb-barbtn:active{background:linear-gradient(#4b6a9e,#355487 50%,#2b4a7f 51%,#3a5a8d)}.jb-blood{justify-self:end;padding:3px 10px;border-radius:12px;border:1px solid #2b3f63;background:linear-gradient(#3a5280,#1f3157);color:#fff;font:700 12px var(--font);text-shadow:0 -1px 0 #000;box-shadow:inset 0 1px 3px #0009}.jb-now{flex:none;display:flex;align-items:center;gap:8px;padding:8px 12px;background:linear-gradient(#f4f5f7,#d9dce1);border-bottom:1px solid #a9adb5;font-size:13px;color:#5b616c}.jb-now.on{color:#1b4b8f;font-weight:700}.jb-note{font-size:18px;color:#c47a14}.jb-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px 12px 14px}.jb-head{margin:0 6px 6px;font:700 15px var(--font);color:#4c566a;text-shadow:0 1px 0 #fff}.jb-list{border-radius:10px;border:1px solid #a8abb3;background:#fff;overflow:hidden;box-shadow:0 1px #ffffffe6}.jb-row{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border:0;border-top:1px solid #d3d5da;background:linear-gradient(#fff,#f3f4f6);color:#1c1f25;text-align:left;font:inherit;cursor:pointer}.jb-row:first-child{border-top:0}.jb-row:active:not(:disabled){background:linear-gradient(#5b9ae8,#2f6fd0);color:#fff}.jb-row:disabled{opacity:.55;cursor:default}.jb-ico{width:36px;height:36px;flex:none;object-fit:contain;image-rendering:pixelated;display:grid;place-items:center;font-size:26px}.jb-row-main{flex:1;min-width:0;display:flex;flex-direction:column}.jb-row-name{font:700 15px var(--font);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jb-row-sub{font-size:12px;color:#7a808c}.jb-row:active:not(:disabled) .jb-row-sub{color:#dbe8ff}.jb-chev{flex:none;font-size:24px;color:#b0b4bc}.jb-empty{padding:18px 14px;text-align:center;color:#7a808c;font-size:14px}.jb-foot{margin:10px 8px 0;font-size:12px;line-height:1.35;color:#6b7280;text-align:center;text-shadow:0 1px 0 #fff}.jb-alert-wrap{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;padding:16px;background:#0006}.jb-alert{width:min(270px,100%);overflow:hidden;border-radius:10px;border:1px solid rgba(255,255,255,.55);background:linear-gradient(#5e7396,#34476b 49%,#25375a 51%,#2d4066);box-shadow:0 8px 28px #000c,inset 0 1px #ffffff73;color:#fff;text-align:center}.jb-alert-title{padding:16px 14px 4px;font:700 17px/1.2 var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.6)}.jb-alert-text{padding:2px 14px 14px;font-size:13px;line-height:1.35;text-shadow:0 -1px 0 rgba(0,0,0,.5)}.jb-alert-btns{display:flex;gap:8px;padding:0 12px 14px}.jb-alert-btn{flex:1;height:38px;border-radius:6px;border:1px solid #1a2845;cursor:pointer;background:linear-gradient(#a9b4c8,#7e8aa3 49%,#6b7892 51%,#7d8ba6);color:#fff;font:700 14px var(--font);text-shadow:0 -1px 0 rgba(0,0,0,.55);box-shadow:inset 0 1px #ffffff80}.jb-alert-btn.primary{background:linear-gradient(#6aa5f0,#2e7be0 49%,#1b63c8 51%,#2c78dc);border-color:#123a7a}.jb-alert-btn:disabled{opacity:.5}.jb-alert-btn:active:not(:disabled){filter:brightness(.85)}.jb-vol{flex:none;display:flex;align-items:center;gap:10px;padding:7px 12px;background:linear-gradient(#e9ebef,#d3d6dc);border-bottom:1px solid #a9adb5}.jb-vol-label{font:700 12px var(--font);color:#4c566a;text-shadow:0 1px 0 #fff}.jb-slider{flex:1;min-width:0;height:22px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer}.jb-slider::-webkit-slider-runnable-track{height:8px;border-radius:4px;border:1px solid #7d828c;background:linear-gradient(#9aa0ab,#c9ced6);box-shadow:inset 0 1px 2px #00000059}.jb-slider::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;margin-top:-9px;border-radius:50%;border:1px solid #5d6470;background:linear-gradient(#fafafa,#bfc4cc 55%,#d9dce1);box-shadow:0 1px 3px #00000080,inset 0 1px #fff}.jb-slider::-moz-range-track{height:8px;border-radius:4px;border:1px solid #7d828c;background:linear-gradient(#9aa0ab,#c9ced6)}.jb-slider::-moz-range-thumb{width:22px;height:22px;border-radius:50%;border:1px solid #5d6470;background:linear-gradient(#fafafa,#bfc4cc)}.jb-mute{flex:none;width:34px;height:28px;border-radius:5px;border:1px solid #3c5578;cursor:pointer;background:linear-gradient(#a9bbd5,#86a0c6 49%,#7792ba 51%,#8aa3c8);box-shadow:inset 0 1px #ffffff73;font-size:15px}.stash-wear{display:flex;gap:8px;flex-wrap:wrap}.stash-wear.hidden{display:none}.decorate-btn.orders-btn{right:280px}.tshirt-shop .tshirt-field{display:grid;gap:2px}.tshirt-shop .tshirt-input{width:100%;box-sizing:border-box;padding:6px 8px;border-radius:6px;border:1px solid #c8d0e0;font:14px var(--font)}.tshirt-shop .tshirt-row{display:grid;grid-template-columns:90px 1fr;gap:6px}.tshirt-shop .tshirt-sizes{display:flex;flex-wrap:wrap;gap:4px}.tshirt-shop .tshirt-go{margin-top:4px}.cd-popup.tshirt-shop{width:min(760px,calc(100% - 20px));max-height:calc(100% - 60px);z-index:8}.tshirt-shop .tshirt-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tshirt-shop .tshirt-card{display:grid;gap:4px;align-content:start;padding:6px;border-radius:8px;border:2px solid rgba(255,255,255,.15);background:#00000040;cursor:pointer}.tshirt-shop .tshirt-card.on{border-color:#ffe27a;background:#ffe27a1f}.tshirt-shop .tshirt-pic{width:100%;aspect-ratio:1;object-fit:contain;border-radius:6px;background:var(--cold);image-rendering:pixelated;display:block}.tshirt-shop .tshirt-pic.loading{display:grid;place-items:center;color:#b6c2e0}.tshirt-shop .tshirt-admin{display:flex;flex-wrap:wrap;gap:4px}.tshirt-shop .tshirt-form{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;align-items:start}.tshirt-shop .tshirt-form>.hint,.tshirt-shop .tshirt-form>.tshirt-sizes{grid-column:1 / -1}@media (max-width: 560px){.tshirt-shop .tshirt-cards{gap:4px}.tshirt-shop .tshirt-form{grid-template-columns:1fr}}.stage.has-lights>.room-canvas{position:relative;z-index:1}.stage.has-lights>.event-lights{z-index:0}.stage.has-lights>.room-canvas{z-index:2}.event-lights{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;overflow:hidden;opacity:0;transition:opacity 1.2s;background:radial-gradient(ellipse 80% 70% at 50% 40%,#2a1650,#120a26 60%,#07040f)}.stage.lights-on>.event-lights{opacity:1}.event-lights i{position:absolute;top:-30%;width:38%;height:160%;transform-origin:50% 0;filter:blur(14px);mix-blend-mode:screen;opacity:.75}.event-lights .b1{left:8%;background:linear-gradient(180deg,#ff2878e6,#ff287800 70%);animation:ev-sweep1 5.5s ease-in-out infinite alternate}.event-lights .b2{left:32%;background:linear-gradient(180deg,#3c8cffe6,#3c8cff00 70%);animation:ev-sweep2 7s ease-in-out infinite alternate}.event-lights .b3{left:55%;background:linear-gradient(180deg,#78ff78cc,#78ff7800 70%);animation:ev-sweep1 6.3s ease-in-out infinite alternate-reverse}.event-lights .b4{left:76%;background:linear-gradient(180deg,#ffc83cd9,#ffc83c00 70%);animation:ev-sweep2 5s ease-in-out infinite alternate-reverse}@keyframes ev-sweep1{0%{transform:rotate(-28deg)}to{transform:rotate(28deg)}}@keyframes ev-sweep2{0%{transform:rotate(24deg)}to{transform:rotate(-30deg)}}@media (prefers-reduced-motion: reduce){.event-lights i{animation:none}}.lights-btn{position:absolute;left:10px;bottom:12px;z-index:6}.ev-black{position:absolute;top:0;right:0;bottom:0;left:0;z-index:60;background:#000;opacity:0;pointer-events:none}.ev-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:58;overflow-y:auto;background:#08080c}.ev-grave{position:absolute;top:0;right:0;bottom:0;left:0;z-index:55;display:grid;place-items:center;background:#0d0d10 center / cover}.ev-grave:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at center,#0000 30%,#000000d9)}.ev-grave-box{position:relative;z-index:1;display:grid;justify-items:center;gap:10px;max-height:100%;padding:12px}.ev-grave-art{image-rendering:pixelated;max-width:70vw;max-height:52vh;width:auto;height:auto;filter:drop-shadow(0 12px 18px rgba(0,0,0,.8))}.ev-grave-name{font:700 22px Verdana,sans-serif;color:#eee;text-shadow:0 2px 4px #000;letter-spacing:.5px}.ev-grave-text{font:400 30px Verdana,sans-serif;color:#c8c8d0;text-shadow:0 2px 6px #000}.event-panel{width:340px;max-height:calc(100% - 60px);overflow-y:auto}.event-panel .ev-status{display:grid;gap:2px;font-size:12px;color:#dfe6f8;padding:6px 8px;border-radius:6px;background:#0000004d}.event-panel .ev-h{margin-top:8px;font-weight:700;color:#ffe27a}.event-panel .ev-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.event-panel .ev-danger{background:#8e1818;color:#fff;border-color:#ff6b6b}.finale-host{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:#0b0b0d}.finale-host .sb-status{background:#000}.fin{flex:1;min-height:0;display:flex;flex-direction:column;font-family:var(--font);color:#ece6e6;background:repeating-linear-gradient(90deg,#0d0d0f 0,#0d0d0f 5px,#141417 5px,#141417 10px)}.ev-overlay .fin{min-height:100%}.fin .navbar{background:linear-gradient(#c24a4a,#8f1f1f 49%,#6e1010 51%,#4a0a0a);border-bottom:1px solid #000;box-shadow:inset 0 1px #ffbebe73,0 2px 4px #000000b3}.fin .navbar .btn{background:linear-gradient(#5a1a1a,#2c0a0a 50%,#200606 51%,#3a0e0e);color:#fff;border-color:#000;text-shadow:0 -1px 0 rgba(0,0,0,.7);box-shadow:inset 0 1px #ff96964d}.fin-navbar{flex:none;position:relative;z-index:2}.fin-navbar .nav-logo{justify-content:center;text-shadow:0 -1px 0 rgba(0,0,0,.75)}.fin-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.fin-inner{max-width:640px;margin:0 auto;padding:14px 12px 40px}.fin-text{margin-bottom:4px}.fin-text p{margin:0 0 8px;text-align:center;font:700 16px/1.4 var(--font);color:#e8dede;text-shadow:0 1px 0 #000}.fin .group-title{margin:14px 8px 6px;color:#d84a4a;text-shadow:0 1px 0 #000}.fin-board,.fin-player{background:#17171b;border:1px solid #000;border-radius:10px;overflow:hidden;box-shadow:0 1px #ff5a5a40,inset 0 1px #ffffff0f}.fin-row{display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;min-height:44px;padding:6px 12px;border-top:1px solid #2a2a30;font-size:16px}.fin-row:first-child{border-top:0}.fin-rank{color:#8a6b6b;font-weight:700}.fin-name{font-weight:700;color:#f2eaea;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fin-blood{display:inline-flex;align-items:center;gap:4px;color:#ff5a5a;font-weight:700}.fin-blood img{width:12px;height:18px;image-rendering:pixelated}.fin-bar{display:flex;align-items:center;gap:6px;padding:8px 10px;background:linear-gradient(#2a2a30,#151518);border-bottom:1px solid #000}.fin-now{flex:1;min-width:0;font:700 13px var(--font);color:#ff7a7a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fin-seek{display:block;width:calc(100% - 20px);margin:8px 10px;accent-color:#d02a2a}.fin-songs{display:grid;max-height:56vh;overflow-y:auto}.fin-song{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;min-height:48px;padding:4px 10px;border-top:1px solid #2a2a30;background:#17171b}.fin-song:first-child{border-top:0}.fin-song.on{background:linear-gradient(#d24444,#8a1414)}.fin-song.on b,.fin-song.on small{color:#fff}.fin-song.hidden-song{opacity:.4}.fin-song-main{min-width:0;display:grid}.fin-song-main b{font:700 15px var(--font);color:#f2eaea;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fin-song-main small{color:#9a8080;font-size:12px}.fin-play{width:30px;height:30px;border-radius:50%;border:1px solid #000;background:linear-gradient(#e25a5a,#b02222 49%,#8a1010 51%,#b82a2a);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.5);box-shadow:inset 0 1px #ffc8c880;cursor:pointer;font-size:12px}.fin-play:disabled{opacity:.4}.fin .btn{background:linear-gradient(#3a3a40,#1c1c20 50%,#121215 51%,#26262b);color:#f2eaea;border-color:#000;text-shadow:0 -1px 0 rgba(0,0,0,.7);box-shadow:inset 0 1px #ffffff26}.fin .btn.primary{background:linear-gradient(#e25a5a,#b02222 49%,#8a1010 51%,#b82a2a);border-color:#3a0606;box-shadow:inset 0 1px #ffc8c880}.fin-editor{margin:14px 0;padding:10px;border-radius:10px;border:1px solid #000;background:#17171b;box-shadow:0 1px #ff5a5a40;display:grid;gap:8px;color:#cdbcbc}.fin-area{width:100%;padding:8px;border-radius:6px;border:1px solid #000;background:#0b0b0d;color:#f2eaea;font:16px var(--font);box-shadow:inset 0 1px 4px #000c}.fin-erow{display:flex;flex-wrap:wrap;gap:6px}.fin-cols{display:grid;gap:4px}.event-panel .ev-sure{margin-bottom:8px;padding:8px;border-radius:8px;border:2px solid #ff6b6b;background:#780a0a73;display:grid;gap:6px;font-weight:700}.event-panel .ev-word{width:100%;padding:6px 8px;border-radius:6px;border:1px solid #c8d0e0;font:14px var(--font)}.stage>.ev-black{z-index:60!important}.stage>.ev-overlay{z-index:58!important}.stage>.ev-grave{z-index:55!important}.fin-row.empty{opacity:.35}



/* =========================================================
   MEDLEM - COMPREHENSIVE iOS 7 THEME & DARK MODE
   ========================================================= */

:root {
  --ios-blue: #007aff;
  --ios-green: #34c759;
  --ios-red: #ff3b30;
  --ios-orange: #ff9500;
  --ios-purple: #5856d6;
  --ios-bg: #f2f2f7;
  --ios-bar-bg: rgba(248, 248, 248, 0.88);
  --ios-card-bg: rgba(255, 255, 255, 0.94);
  --ios-border: rgba(0, 0, 0, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

body, html, #app {
  font-family: var(--font) !important;
  background: var(--ios-bg) !important;
  color: #000000 !important;
  -webkit-font-smoothing: antialiased;
}

/* 1. iOS 7 Status Bar */
.sb-status {
  background: var(--ios-bar-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #000000 !important;
  text-shadow: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
/* removed old dot style */
.sb-status svg path, .sb-status svg rect {
  fill: #000000 !important;
}

/* 2. iOS 7 Top Navigation Bar & Logo (Image 1) */
.navbar {
  background: var(--ios-bar-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--ios-border) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
.nav-logo {
  color: #000000 !important;
  text-shadow: none !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  letter-spacing: -0.4px !important;
}
.nav-blood,
.navbar .nav-blood {
  justify-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 60px !important;
  width: auto !important;
  max-width: fit-content !important;
  height: 28px !important;
  line-height: 28px !important;
  padding: 0 12px !important;
  margin: 0 auto !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0.5px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  color: #ffffff !important;
  text-shadow: none !important;
  cursor: default !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease !important;
}

@media (max-width: 640px) {
  .nav-blood,
  .navbar .nav-blood {
    grid-area: tabs !important;
    width: auto !important;
    max-width: fit-content !important;
    margin: 0 auto !important;
    height: 28px !important;
    line-height: 28px !important;
    border-radius: 9999px !important;
  }
}

.nav-blood .coins {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  color: inherit !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  font-feature-settings: "tnum" 1 !important;
  text-shadow: none !important;
}

.nav-blood .coins-num {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  font-feature-settings: "tnum" 1 !important;
  line-height: 1 !important;
  color: inherit !important;
}

.ios-blood-svg-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.ios-blood-svg-wrap svg {
  display: block !important;
  filter: drop-shadow(0 1px 2px rgba(255, 69, 58, 0.4)) !important;
}

.nav-blood .blood-ico {
  width: 14px !important;
  height: 14px !important;
  vertical-align: -2px !important;
  margin-right: 4px !important;
  image-rendering: pixelated !important;
  image-rendering: -moz-crisp-edges !important;
  image-rendering: crisp-edges !important;
  filter: none !important;
  display: inline-block !important;
}
.barbtn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #007aff !important;
  font-size: 18px !important;
  border-radius: 8px !important;
  transition: opacity 0.15s !important;
}
.barbtn:active {
  opacity: 0.5 !important;
}

/* 3. Top-right Tabs (Inventory, Wardrobe, Room) as iOS 7 Segmented Control */
.nav-tabs, .tab-bar, .subbar-tabs {
  display: inline-flex !important;
  background: rgba(0, 122, 255, 0.08) !important;
  border: 1px solid rgba(0, 122, 255, 0.2) !important;
  border-radius: 9px !important;
  padding: 2px !important;
  gap: 2px !important;
  box-shadow: none !important;
}
.nav-tab, .tab-bar .tab, .subbar-tab {
  background: transparent !important;
  border: none !important;
  border-radius: 7px !important;
  color: #007aff !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all 0.18s ease !important;
}
.nav-tab.on, .tab-bar .tab.on, .subbar-tab.on {
  background: #ffffff !important;
  color: #007aff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
  font-weight: 600 !important;
}

/* 4. Fix Messenger & Send Button Collision (Image 2) */
.messenger {
  position: fixed !important;
  right: 12px !important;
  bottom: 58px !important; /* Floats cleanly above the chat-bar */
  z-index: 30 !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 8px !important;
  pointer-events: none !important;
}
.messenger > * {
  pointer-events: auto !important;
}
.friends-toggle {
  background: var(--ios-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 20px !important;
  color: #007aff !important;
  font-weight: 600 !important;
  padding: 7px 14px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}
.friends-toggle:active {
  opacity: 0.7 !important;
}
.friends-panel {
  background: var(--ios-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15) !important;
  overflow: hidden !important;
}

/* 5. Context / Action Sheet Menus (Images 3 & 7) */
.ctx-menu {
  position: fixed !important;
  z-index: 9999 !important;
  min-width: 200px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
  overflow: hidden !important;
  color: #000000 !important;
}
.ctx-head {
  padding: 10px 14px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-align: center !important;
  color: #8e8e93 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.ctx-opt {
  padding: 13px 16px !important;
  cursor: pointer !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  color: #007aff !important;
  text-align: center !important;
  background: transparent !important;
  transition: background 0.15s ease !important;
}
.ctx-opt:hover, .ctx-opt:active {
  background: rgba(0, 0, 0, 0.05) !important;
}
.ctx-target {
  font-weight: 600 !important;
  color: #1c1c1e !important;
}
.ctx-danger {
  color: #ff3b30 !important;
  font-weight: 600 !important;
}

/* 6. Wardrobe & Shop Tabs (Image 4) */
.shop-tabs, .tabs {
  display: inline-flex !important;
  border: 1px solid #007aff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: transparent !important;
  margin-bottom: 12px !important;
  box-shadow: none !important;
}
.tab, .tab.big, .osrs-tab {
  background: transparent !important;
  color: #007aff !important;
  border: none !important;
  border-right: 1px solid #007aff !important;
  margin: 0 !important;
  padding: 7px 18px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: all 0.15s ease !important;
}
.tab:last-child, .tab.big:last-child, .osrs-tab:last-child {
  border-right: none !important;
}
.tab.on, .tab.big.on, .osrs-tab.on {
  background: #007aff !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

/* 7. Wardrobe Layout & Overlap Fix (Images 5 & 6) */
.editor {
  padding-bottom: 30px !important;
}
.editor-footer.sticky {
  position: static !important;
  background: transparent !important;
  padding: 14px 0 6px !important;
  margin-top: 14px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  justify-content: flex-end !important;
  box-shadow: none !important;
}
.admin-names {
  grid-column: 1 / -1 !important;
  margin-top: 12px !important;
  padding: 10px 0 !important;
  border-top: 1px dashed rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

/* 8. Lottery Modal (Image 8) */
.raffle-shop, .cd-popup, .sixty-shop {
  background: var(--ios-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18) !important;
  color: #000000 !important;
}
.cd-head {
  background: transparent !important;
  color: #000000 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-weight: 600 !important;
  font-size: 17px !important;
}
.raffle-pname {
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}
.raffle-admin {
  background: rgba(0, 122, 255, 0.05) !important;
  border: 1px solid rgba(0, 122, 255, 0.18) !important;
  border-radius: 10px !important;
  color: #000000 !important;
  padding: 8px 10px !important;
}
.raffle-admin-t {
  color: #007aff !important;
  font-weight: 700 !important;
}
.raffle-buy {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 10px 0 !important;
}

/* 9. Door Navigation Modal ("Hvorhen?" - Image 9) */
.door-popup {
  background: var(--ios-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18) !important;
  color: #000000 !important;
}
.door-head {
  background: transparent !important;
  color: #000000 !important;
  text-shadow: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-weight: 600 !important;
  font-size: 17px !important;
}
.door-section {
  background: transparent !important;
  color: #8e8e93 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  text-shadow: none !important;
  padding: 8px 12px 4px !important;
}

/* 10. Emotes Palette (Image 10) */
.emote-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  padding: 6px !important;
}
.emote-cell {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  color: #000000 !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  padding: 8px 4px !important;
  transition: all 0.15s ease !important;
}
.emote-cell:hover, .emote-cell:active {
  background: rgba(0, 122, 255, 0.1) !important;
  border-color: #007aff !important;
  transform: scale(1.02) !important;
}

/* 11. Room Editor Banner & High Contrast Item Text (Image 11) */
.fz-head {
  display: grid !important;
  gap: 6px !important;
  margin: 8px !important;
}
.fz-top, .fz-bar {
  background: var(--ios-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  color: #000000 !important;
  padding: 6px 14px !important;
}
.fz-tray {
  background: var(--ios-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 12px !important;
  color: #000000 !important;
}
.fz-title {
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}
.fz-sel b {
  color: #000000 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
/* Ensure the plant / item description text is 100% visible and crisp */
.fz-sel .hint, .fz-head .hint {
  color: #3c3c43 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  opacity: 0.9 !important;
}

/* 12. iOS 7 Buttons & Controls */
.btn {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  color: #007aff !important;
  font-weight: 500 !important;
  font-family: var(--font) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.15s ease !important;
}
.btn:hover {
  background: #ffffff !important;
  border-color: #007aff !important;
}
.btn:active {
  opacity: 0.6 !important;
}
.btn.primary {
  background: #007aff !important;
  border-color: #007aff !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}
.btn.primary:hover {
  background: #0066d6 !important;
}
.btn.small {
  padding: 4px 10px !important;
  font-size: 13px !important;
}

/* Settings Menu Popup */
.nav-pop {
  background: var(--ios-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  overflow: hidden !important;
}
.nav-pop-item {
  background: transparent !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: #000000 !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  padding: 12px 16px !important;
  transition: background 0.15s !important;
}
.nav-pop-item:active {
  background: rgba(0, 122, 255, 0.1) !important;
}

/* Chat Input Bar */
.chat-bar {
  background: var(--ios-bar-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 1px solid var(--ios-border) !important;
}
.chat-inp, .chat-bar input {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 18px !important;
  color: #000000 !important;
  padding: 6px 14px !important;
}

/* =========================================================
   13. DARK THEME OVERRIDE (.dark-theme)
   ========================================================= */

body.dark-theme, .dark-theme #app {
  background: #000000 !important;
  color: #ffffff !important;
}

/* Dark Status Bar */
.dark-theme .sb-status {
  background: rgba(28, 28, 30, 0.92) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.dark-theme .sb-bars i {
  background: #ffffff !important;
}
.dark-theme .sb-status svg path, .dark-theme .sb-status svg rect {
  fill: #ffffff !important;
}

/* Dark Top Navigation Bar */
.dark-theme .navbar {
  background: rgba(28, 28, 30, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.dark-theme .nav-logo {
  color: #ffffff !important;
}
.dark-theme .nav-blood,
.dark-theme .navbar .nav-blood,
html.dark-theme .navbar .nav-blood {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}
.dark-theme .nav-blood .coins,
.dark-theme .nav-blood .coins-num,
html.dark-theme .navbar .nav-blood .coins,
html.dark-theme .navbar .nav-blood .coins-num {
  color: #ffffff !important;
}
.dark-theme .barbtn {
  color: #0a84ff !important;
}

/* Dark Segmented Control */
.dark-theme .nav-tabs, .dark-theme .tab-bar, .dark-theme .subbar-tabs {
  background: rgba(10, 132, 255, 0.15) !important;
  border-color: rgba(10, 132, 255, 0.3) !important;
}
.dark-theme .nav-tab, .dark-theme .tab-bar .tab, .dark-theme .subbar-tab {
  color: #0a84ff !important;
}
.dark-theme .nav-tab.on, .dark-theme .tab-bar .tab.on, .dark-theme .subbar-tab.on {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* Dark Context / Action Sheet Menus */
.dark-theme .ctx-menu {
  background: rgba(30, 30, 30, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
}
.dark-theme .ctx-head {
  color: #8e8e93 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.dark-theme .ctx-opt {
  color: #0a84ff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.dark-theme .ctx-opt:hover, .dark-theme .ctx-opt:active {
  background: rgba(255, 255, 255, 0.08) !important;
}
.dark-theme .ctx-target {
  color: #ffffff !important;
}
.dark-theme .ctx-danger {
  color: #ff453a !important;
}

/* Dark Wardrobe / Shop Tabs */
.dark-theme .shop-tabs, .dark-theme .tabs {
  border-color: #0a84ff !important;
}
.dark-theme .tab, .dark-theme .tab.big, .dark-theme .osrs-tab {
  color: #0a84ff !important;
  border-right-color: #0a84ff !important;
}
.dark-theme .tab.on, .dark-theme .tab.big.on, .dark-theme .osrs-tab.on {
  background: #0a84ff !important;
  color: #ffffff !important;
}

/* Dark Lottery & Dialogs */
.dark-theme .raffle-shop, .dark-theme .cd-popup, .dark-theme .sixty-shop, .dark-theme .door-popup {
  background: rgba(28, 28, 30, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
}
.dark-theme .cd-head, .dark-theme .door-head {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.dark-theme .raffle-pname {
  color: #ffffff !important;
}
.dark-theme .raffle-admin {
  background: rgba(10, 132, 255, 0.08) !important;
  border-color: rgba(10, 132, 255, 0.25) !important;
  color: #ffffff !important;
}
.dark-theme .raffle-admin-t {
  color: #0a84ff !important;
}
.dark-theme .door-section {
  color: #8e8e93 !important;
}

/* Dark Emotes */
.dark-theme .emote-cell {
  background: rgba(44, 44, 46, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}
.dark-theme .emote-cell:hover, .dark-theme .emote-cell:active {
  background: rgba(10, 132, 255, 0.2) !important;
  border-color: #0a84ff !important;
}

/* Dark Room Editor & Plant Item Text */
.dark-theme .fz-top, .dark-theme .fz-bar, .dark-theme .fz-tray {
  background: rgba(28, 28, 30, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
.dark-theme .fz-title {
  color: #ffffff !important;
}
.dark-theme .fz-sel b {
  color: #ffffff !important;
}
.dark-theme .fz-sel .hint, .dark-theme .fz-head .hint {
  color: #ebebf5 !important;
}

/* Dark Buttons */
.dark-theme .btn {
  background: rgba(44, 44, 46, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #0a84ff !important;
}
.dark-theme .btn:hover {
  background: rgba(58, 58, 60, 0.9) !important;
}
.dark-theme .btn.primary {
  background: #0a84ff !important;
  border-color: #0a84ff !important;
  color: #ffffff !important;
}

/* Dark Settings & Messenger */
.dark-theme .nav-pop {
  background: rgba(30, 30, 30, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}
.dark-theme .nav-pop-item {
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.dark-theme .nav-pop-item:active {
  background: rgba(10, 132, 255, 0.2) !important;
}
.dark-theme .friends-toggle {
  background: rgba(28, 28, 30, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #0a84ff !important;
}
.dark-theme .friends-panel {
  background: rgba(28, 28, 30, 0.94) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
.dark-theme .chat-bar {
  background: rgba(28, 28, 30, 0.92) !important;
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}
.dark-theme .chat-inp, .dark-theme .chat-bar input {
  background: rgba(44, 44, 46, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}


/* =========================================================
   MEDLEM - iOS 7 REFINEMENTS & COMPREHENSIVE DARK MODE
   (Fixing right panel, striped backgrounds, door & friends)
   ========================================================= */

/* --- Right Panel (Inventory / Emotes) iOS 7 Segmented Tabs (Image 3) --- */
.osrs-panel {
  background: var(--ios-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
}

.osrs-tabs {
  background: rgba(0, 122, 255, 0.08) !important;
  border: 1px solid rgba(0, 122, 255, 0.18) !important;
  border-radius: 10px !important;
  padding: 3px !important;
  display: flex !important;
  gap: 3px !important;
  margin: 8px !important;
  box-shadow: none !important;
}

.osrs-tab {
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.osrs-tab.on {
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.osrs-body {
  padding: 8px 10px 12px !important;
  background: transparent !important;
}

.osrs-title {
  text-align: center !important;
  font-family: var(--font) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #000000 !important;
  text-shadow: none !important;
  margin-bottom: 8px !important;
}

/* Inventory Grid & Slots (iOS 7 Clean Glass Look) */
.inv-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  padding: 6px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.inv-slot {
  aspect-ratio: 1 !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.15s ease !important;
}

.inv-slot:hover {
  border-color: #007aff !important;
}

.inv-slot.selected {
  border: 2px solid #007aff !important;
  background: rgba(0, 122, 255, 0.08) !important;
}

.inv-slot.filled {
  background: rgba(255, 255, 255, 0.95) !important;
}

/* Drop button in inventory */
.inv-foot .btn {
  background: rgba(0, 122, 255, 0.08) !important;
  border: 1px solid rgba(0, 122, 255, 0.25) !important;
  border-radius: 10px !important;
  color: #007aff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 8px 12px !important;
  width: 100% !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
}

.inv-foot .btn:active {
  background: rgba(0, 122, 255, 0.18) !important;
}

/* --- Door Popup: "BESØK EN SPILLERS ROM" iOS 7 Style (Image 5) --- */
.fp-label {
  color: #8e8e93 !important;
  font-family: var(--font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.1px !important;
  text-shadow: none !important;
  margin: 12px 14px 6px !important;
}

.door-search {
  padding: 0 12px 8px !important;
}

.door-search .mini-input, .door-search input {
  background: rgba(142, 142, 147, 0.12) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  font-size: 15px !important;
  color: #000000 !important;
  box-shadow: none !important;
  font-family: var(--font) !important;
}

.door-search .mini-input:focus, .door-search input:focus {
  outline: none !important;
  background: rgba(142, 142, 147, 0.18) !important;
}

.door-main .btn.door-big {
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  margin: 4px 12px !important;
  width: calc(100% - 24px) !important;
  padding: 10px 14px !important;
}

/* --- Friends ("Venner") Popup Dialog iOS 7 Style (Image 6) --- */
.friends-panel {
  width: 300px !important;
  background: var(--ios-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
}

.fp-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0 14px !important;
  height: 44px !important;
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  text-shadow: none !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.fp-head strong {
  font-weight: 600 !important;
  font-size: 17px !important;
  color: #000000 !important;
}

.fp-head .btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #007aff !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 4px 8px !important;
  border-radius: 8px !important;
}

.fp-head .btn:active {
  opacity: 0.6 !important;
}

.fp-add {
  display: flex !important;
  padding: 8px 12px !important;
  gap: 8px !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.fp-add input {
  flex: 1 !important;
  background: rgba(142, 142, 147, 0.12) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 7px 12px !important;
  font-size: 14px !important;
  color: #000000 !important;
  font-family: var(--font) !important;
  box-shadow: none !important;
}

.fp-add input:focus {
  outline: none !important;
  background: rgba(142, 142, 147, 0.18) !important;
}

.fp-add .btn {
  background: #007aff !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

.fp-dyn {
  background: transparent !important;
}

.fp-dyn .hint {
  color: #8e8e93 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  padding: 16px 14px !important;
  text-align: center !important;
  text-shadow: none !important;
}

.frow {
  display: flex !important;
  align-items: center !important;
  padding: 8px 14px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.fname {
  font-weight: 500 !important;
  font-size: 14px !important;
  color: #000000 !important;
}

/* --- Floating "Venner (0/0)" Button iOS 7 Style (Image 4 & 6) --- */
.friends-toggle {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 20px !important;
  color: #007aff !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 7px 16px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.15s ease !important;
}

.friends-toggle:active {
  opacity: 0.7 !important;
}


/* =========================================================
   COMPREHENSIVE DARK MODE: Striped Backgrounds & Right Panel
   (Fixing Image 1: White stripes and white inventory in Dark Theme)
   ========================================================= */

.dark-theme {
  --stripe-a: #121215 !important;
  --stripe-b: #18181c !important;
  --cold: radial-gradient(ellipse 80% 75% at 50% 42%, #ffffff 0%, #f1f6fb 38%, #dce7f1 72%, #c3d2e1 100%) !important;
  --ink: #ffffff !important;
  --muted: #8e8e93 !important;
  --ios-bg: #000000 !important;
  --ios-bar-bg: rgba(28, 28, 30, 0.92) !important;
  --ios-card-bg: rgba(28, 28, 30, 0.94) !important;
  --ios-border: rgba(255, 255, 255, 0.14) !important;
}

body.dark-theme,
.dark-theme #app,
.dark-theme .shell {
  background: #000000 !important;
  color: #ffffff !important;
}

/* Dark Pinstriped Background (Image 1 Fix) */
.dark-theme .room-host,
.dark-theme .page,
.dark-theme .cw-log,
.dark-theme .bs-chatbg,
.dark-theme .sc-scroll.stripes {
  background: repeating-linear-gradient(90deg, #121215 0 5px, #18181c 5px 10px) !important;
  color: #ffffff !important;
}

/* Dark Right Panel (Inventory & Emotes) */
.dark-theme .osrs-panel {
  background: rgba(28, 28, 30, 0.94) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.dark-theme .osrs-tabs {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.dark-theme .osrs-tab {
  background: transparent !important;
}

.dark-theme .osrs-tab.on {
  background: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.dark-theme .osrs-title {
  color: #ffffff !important;
  text-shadow: none !important;
}

.dark-theme .inv-grid {
  background: rgba(44, 44, 46, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-theme .inv-slot {
  background: rgba(58, 58, 60, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.dark-theme .inv-slot:hover {
  border-color: #0a84ff !important;
}

.dark-theme .inv-slot.selected {
  border: 2px solid #0a84ff !important;
  background: rgba(10, 132, 255, 0.15) !important;
}

.dark-theme .inv-slot.filled {
  background: rgba(68, 68, 72, 0.9) !important;
}

.dark-theme .inv-foot {
  color: #ffffff !important;
}

.dark-theme .inv-foot .btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #0a84ff !important;
}

.dark-theme .inv-foot .btn:active {
  background: rgba(255, 255, 255, 0.2) !important;
}

/* Dark Door Modal & Labels */
.dark-theme .fp-label {
  color: #8e8e93 !important;
  text-shadow: none !important;
}

.dark-theme .door-search .mini-input,
.dark-theme .door-search input {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.dark-theme .door-search .mini-input:focus,
.dark-theme .door-search input:focus {
  background: rgba(255, 255, 255, 0.18) !important;
}

.dark-theme .door-main .btn.door-big {
  background: #0a84ff !important;
  color: #ffffff !important;
}

/* Dark Friends Popup */
.dark-theme .friends-panel {
  background: rgba(28, 28, 30, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.dark-theme .fp-head {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dark-theme .fp-head strong {
  color: #ffffff !important;
}

.dark-theme .fp-head .btn {
  color: #0a84ff !important;
}

.dark-theme .fp-add {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dark-theme .fp-add input {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.dark-theme .fp-add input:focus {
  background: rgba(255, 255, 255, 0.18) !important;
}

.dark-theme .fp-add .btn {
  background: #0a84ff !important;
  color: #ffffff !important;
}

.dark-theme .fp-dyn .hint {
  color: #8e8e93 !important;
}

.dark-theme .frow {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .fname {
  color: #ffffff !important;
}

.dark-theme .friends-toggle {
  background: rgba(30, 30, 30, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #0a84ff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}


/* =========================================================
   LOGIN SCREEN (iOS 7 WALLPAPER & VISIBLE LABELS)
   & ROOM BACKGROUND INTEGRITY (Images 1, 2, 3, 4, 5)
   ========================================================= */

/* A. Login Lockscreen Background (Image 3) */
.lock {
  background: #1c325c url(./ios7-wallpaper.jpg) center center / cover no-repeat !important;
  color: #ffffff !important;
}

.onb-host {
  background: #1c325c url(./ios7-wallpaper.jpg) center center / cover no-repeat !important;
}

.lock-clock {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35) !important;
}

.lock-clock .t {
  color: #ffffff !important;
  font-size: 78px !important;
  font-weight: 200 !important;
  letter-spacing: -2px !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

.lock-clock .d {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3) !important;
}

.auth .logo {
  color: #ffffff !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
  letter-spacing: -0.5px !important;
}

.auth .tagline {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35) !important;
  font-weight: 400 !important;
}

.auth .link {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
  font-weight: 500 !important;
}

/* B. Login Input Labels & Fields Visibility (Images 1 & 2) */
.group, .auth-box {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18) !important;
  overflow: hidden !important;
}

.cellrow {
  display: flex !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 8px 14px !important;
}

/* FIX: "Brukernavn" & "Passord" text must be 100% visible and black, never white-on-white */
.cellrow .lbl,
.group .cellrow .lbl,
.auth-box .cellrow .lbl {
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-shadow: none !important;
  min-width: 95px !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.cellrow input,
.group .cellrow input,
.auth-box .cellrow input {
  color: #000000 !important;
  font-size: 16px !important;
  font-family: var(--font) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
}

.cellrow input::placeholder,
.group .cellrow input::placeholder,
.auth-box .cellrow input::placeholder {
  color: #8e8e93 !important;
  font-weight: 400 !important;
}

.group > .cellrow,
.auth-box > .cellrow {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.group > .cellrow:first-child,
.auth-box > .cellrow:first-child {
  border-top: none !important;
}

/* C. Room Background Integrity (Images 4 & 5) */
/* The background behind the rooms in both light and dark mode must ALWAYS remain pure solid black (#000000) */
/* Original room stage background & pinstriped host */
.stage,
.dark-theme .stage {
  background: radial-gradient(ellipse 80% 75% at 50% 42%, #ffffff 0%, #f1f6fb 38%, #dce7f1 72%, #c3d2e1 100%) !important;
  border: 1px solid #9fb0c2 !important;
  border-radius: 10px !important;
  box-shadow: inset 0 2px 10px rgba(60, 90, 120, 0.25) !important;
}

.stage.horror,
.dark-theme .stage.horror {
  background: radial-gradient(ellipse 70% 62% at 50% 46%, #3b4244, #1d2224 52%, #0b0d0e) !important;
  border-color: #11181a !important;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8) !important;
}

.room-canvas,
.dark-theme .room-canvas {
  background: transparent !important;
}

.room, .room-main,
.dark-theme .room, .dark-theme .room-main {
  background: transparent !important;
}

.room-host {
  background: repeating-linear-gradient(90deg, var(--stripe-a) 0 5px, var(--stripe-b) 5px 10px) !important;
}

.dark-theme .room-host {
  background: repeating-linear-gradient(90deg, #121215 0 5px, #18181c 5px 10px) !important;
}


/* =========================================================
   COMPLETELY ELIMINATE DOUBLE TEXT & SKEUOMORPHIC SHADOWS
   (Images 1, 2, 3)
   ========================================================= */

/* 1. Global anti-aliasing & crisp typography */
body, #app, button, input, select, textarea, div, span, p, h1, h2, h3, h4, strong {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* 2. Remove all skeuomorphic text shadows from all buttons */
.btn,
.btn *,
.btn:hover,
.btn:active,
.btn:focus,
.btn:disabled,
.btn.small,
.btn.primary,
.btn.danger,
.btn.on,
.btn.drop-btn,
.drop-btn,
.friends-toggle,
.friends-toggle *,
.dark-theme .friends-toggle,
.dark-theme .friends-toggle *,
.barbtn,
.navbtn,
.tab,
.tabs .tab,
.osrs-tab,
.sc-btn,
.sc-chip,
.pk-btn,
.pill,
.door-big,
.door-profile,
.chat-bar .btn {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  filter: none !important;
}

/* 3. Eliminate double text in Door Popup & "BESØK EN SPILLERS ROM" (Image 2) */
.fp-label,
.fp-label *,
.door-popup .fp-label,
.friends-panel .fp-label,
.dark-theme .fp-label {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  color: #8e8e93 !important;
  font-weight: 600 !important;
}

.door-popup,
.door-popup *,
.door-head,
.door-head *,
.door-head strong,
.door-head .btn,
.door-main,
.door-main *,
.door-main .btn,
.door-actions,
.door-actions *,
.door-actions .btn,
.door-search input,
.door-search .mini-input,
.door-status,
.door-row,
.door-row * {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

/* 4. Eliminate double text in Friends ("Venner") popup & Meg / Luk / Tilføj (Image 3) */
.fp-head,
.fp-head *,
.fp-head strong,
.fp-head .btn,
.friends-panel,
.friends-panel *,
.friends-panel .btn,
.friends-panel strong,
.friends-panel span,
.fp-add,
.fp-add *,
.fp-add .btn,
.fp-add input {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

/* 5. Inventory drop button and chat input (Image 1) */
.inv-actions .btn,
.inv-actions .drop-btn,
.drop-btn,
.chat-bar,
.chat-bar *,
.chat-inp {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

/* 6. Clean and flat titles across dialogs */
.group-title,
.cellrow .lbl,
.form-error,
.hint,
.cw-title,
.cw-send,
.cw-x,
.cw-stamp,
.cw-empty {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}


/* === User Fixes: iOS 7 Roulette & Contrast Enhancements === */

/* iOS 7 Roulette Styling */
.rt-win {
  width: min(340px, 92%) !important;
  background: rgba(248, 248, 250, 0.94) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 18px !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45) !important;
  padding: 16px 18px !important;
  color: #000000 !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.rt-win .drop-title {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #000000 !important;
  text-align: center !important;
  margin-bottom: 2px !important;
}

.rt-win .rt-ask {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #3c3c43 !important;
  text-align: center !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
}

.rt-stake {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin: 8px 0 !important;
}

.rt-stake .btn.small {
  width: 38px !important;
  height: 34px !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  border: 1.5px solid #007aff !important;
  background: transparent !important;
  color: #007aff !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
}

.rt-stake .btn.small:active:not(:disabled) {
  background: rgba(0, 122, 255, 0.15) !important;
  transform: scale(0.96) !important;
}

.rt-stake .btn.small:disabled {
  opacity: 0.3 !important;
  border-color: #8e8e93 !important;
  color: #8e8e93 !important;
  cursor: default !important;
}

.rt-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 90px !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  color: #c62828 !important;
}

.rt-drop {
  width: 22px !important;
  height: 22px !important;
  vertical-align: -4px !important;
  image-rendering: pixelated !important;
}

.rt-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: center !important;
  margin: 12px 0 8px !important;
}

.rt-chip {
  min-width: 52px !important;
  height: 32px !important;
  padding: 0 12px !important;
  border: 1px solid #007aff !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #007aff !important;
  font: 500 14px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  transition: all .15s ease !important;
}

.rt-chip.on {
  background: #007aff !important;
  color: #ffffff !important;
  border-color: #007aff !important;
  font-weight: 600 !important;
}

.rt-win .hint {
  font-size: 12px !important;
  color: #8e8e93 !important;
  text-align: center !important;
  margin: 6px 0 !important;
}

.rt-win .drop-buttons {
  display: flex !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.rt-win .drop-buttons .btn {
  flex: 1 !important;
  height: 42px !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
}

.rt-win .drop-buttons .drop-no {
  background: rgba(142, 142, 147, 0.16) !important;
  color: #007aff !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

.rt-win .drop-buttons .drop-no:active {
  background: rgba(142, 142, 147, 0.28) !important;
  transform: scale(0.98) !important;
}

.rt-win .drop-buttons .drop-yes {
  background: #007aff !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.rt-win .drop-buttons .drop-yes:active {
  background: #0066d6 !important;
  transform: scale(0.98) !important;
}

/* Better contrast for disabled buttons in dark mode */
.dark-theme .btn:disabled,
.btn:disabled {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

/* Landlord rows contrast */
.dark-theme .ll-row .btn.small:disabled,
.ll-row .btn.small:disabled {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
}

.dark-theme .ll-label,
.ll-label {
  color: #ffd54a !important;
  font-weight: 700 !important;
}

.dark-theme .ll-part,
.ll-part {
  color: #e2e8f5 !important;
  font-weight: 600 !important;
}

.dark-theme .ll-name,
.ll-name {
  color: #ffffff !important;
}

.dark-theme .hint,
.dark-theme .muted {
  color: #a2a8b5 !important;
}


/* =========================================================
   iOS 7 Onboarding / Avatar Selection (Dual Theme)
   ========================================================= */
.onb {
  width: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 20px 10px !important;
  box-sizing: border-box !important;
}

.onb-card {
  width: min(400px, 100%) !important;
  display: grid !important;
  gap: 14px !important;
  padding: 22px 20px !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.onb-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.onb-head h1 {
  margin: 0 !important;
  font: 700 21px -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif !important;
  text-shadow: none !important;
  letter-spacing: -0.4px !important;
}

.onb-sub {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.onb-gender {
  display: flex !important;
  border-radius: 9px !important;
  padding: 2px !important;
  gap: 2px !important;
}

.onb-gender .tab {
  flex: 1 1 50% !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 7px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: center !important;
}

.onb-stage {
  display: grid !important;
  place-items: center !important;
  padding: 16px 0 !important;
  border-radius: 16px !important;
  transition: background 0.25s ease, border-color 0.25s ease !important;
}

.onb-avatar {
  width: 192px !important;
  height: 330px !important;
  image-rendering: pixelated !important;
}

.onb-tools {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
}

.onb-tools .btn {
  border-radius: 10px !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.onb-dice {
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 8px 22px !important;
}

.onb-next {
  width: 100% !important;
  min-height: 48px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  margin-top: 4px !important;
}

.onb-next:hover {
  background: #0071eb !important;
  filter: none !important;
}

.onb-next:active {
  transform: scale(0.98) !important;
  background: #0062cc !important;
  filter: none !important;
}

.onb-next[disabled] {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.onb-steps span {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
}

/* --- LIGHT THEME (iOS 7 Light Frosted Glass) --- */
body:not(.dark-theme) .onb-card,
.onb-card {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  color: #000000 !important;
}

body:not(.dark-theme) .onb-head h1,
.onb-head h1 {
  color: #000000 !important;
}

body:not(.dark-theme) .onb-sub,
.onb-sub {
  color: rgba(60, 60, 67, 0.75) !important;
}

body:not(.dark-theme) .onb-gender,
.onb-gender {
  background: rgba(118, 118, 128, 0.12) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body:not(.dark-theme) .onb-gender .tab,
.onb-gender .tab {
  color: #007aff !important;
}

body:not(.dark-theme) .onb-gender .tab.on,
.onb-gender .tab.on {
  background: #007aff !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

body:not(.dark-theme) .onb-stage,
.onb-stage {
  background: radial-gradient(circle at 50% 55%, #ffffff 0%, #f0f3f6 70%, #e2e7ec 100%), #f4f6f8 !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.06) !important;
}

body:not(.dark-theme) .onb-tools .btn,
.onb-tools .btn {
  background: rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #007aff !important;
}

body:not(.dark-theme) .onb-tools .btn:hover,
.onb-tools .btn:hover {
  background: rgba(0, 0, 0, 0.1) !important;
}

body:not(.dark-theme) .onb-tools .btn:active,
.onb-tools .btn:active {
  background: rgba(0, 0, 0, 0.16) !important;
  transform: scale(0.96) !important;
}

body:not(.dark-theme) .onb-next,
.onb-next {
  background: #007aff !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body:not(.dark-theme) .onb-steps span,
.onb-steps span {
  background: rgba(0, 0, 0, 0.18) !important;
  border: none !important;
}

body:not(.dark-theme) .onb-steps span.on,
.onb-steps span.on {
  background: #007aff !important;
  box-shadow: none !important;
}

/* --- DARK THEME (iOS 7 Dark Frosted Glass) --- */
body.dark-theme .onb-card,
.dark-theme .onb-card {
  background: rgba(28, 28, 30, 0.94) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

body.dark-theme .onb-head h1,
.dark-theme .onb-head h1 {
  color: #ffffff !important;
}

body.dark-theme .onb-sub,
.dark-theme .onb-sub {
  color: rgba(235, 235, 245, 0.65) !important;
}

body.dark-theme .onb-gender,
.dark-theme .onb-gender {
  background: rgba(120, 120, 128, 0.24) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .onb-gender .tab,
.dark-theme .onb-gender .tab {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.dark-theme .onb-gender .tab.on,
.dark-theme .onb-gender .tab.on {
  background: #007aff !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

body.dark-theme .onb-stage,
.dark-theme .onb-stage {
  background: radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.08) 0%, rgba(18, 18, 22, 0.85) 65%, rgba(10, 10, 12, 0.95) 100%), #141416 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.6) !important;
}

body.dark-theme .onb-tools .btn,
.dark-theme .onb-tools .btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

body.dark-theme .onb-tools .btn:hover,
.dark-theme .onb-tools .btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

body.dark-theme .onb-tools .btn:active,
.dark-theme .onb-tools .btn:active {
  transform: scale(0.96) !important;
  background: rgba(255, 255, 255, 0.25) !important;
}

body.dark-theme .onb-next,
.dark-theme .onb-next {
  background: #007aff !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.dark-theme .onb-steps span,
.dark-theme .onb-steps span {
  background: rgba(255, 255, 255, 0.25) !important;
  border: none !important;
}

body.dark-theme .onb-steps span.on,
.dark-theme .onb-steps span.on {
  background: #007aff !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .onb-card {
    padding: 16px 14px !important;
    gap: 10px !important;
  }
  .onb-avatar {
    width: 160px !important;
    height: 275px !important;
  }
}

.nav-logo-icon {
  width: 18px !important;
  height: 18px !important;
  border-radius: 4px !important;
  margin-right: 5px !important;
  vertical-align: middle !important;
  display: inline-block !important;
  object-fit: cover !important;
}


/* Status Bar Exact Match for iOS Status Bar (media_1794464427130_6fd70b27.png) */
.sb-status {
  position: relative !important;
  z-index: 10 !important;
  flex: none !important;
  height: calc(20px + env(safe-area-inset-top)) !important;
  padding: env(safe-area-inset-top) 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: -0.1px !important;
  box-sizing: border-box !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

body:not(.dark-theme) .sb-status,
.sb-status {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #000000 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.dark-theme .sb-status,
.dark-theme .sb-status {
  background: rgba(28, 28, 30, 0.94) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.sb-status .sb-left,
.sb-status .sb-right {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.sb-status .sb-time {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: 0 !important;
}

.sb-bars {
  display: flex !important;
  align-items: flex-end !important;
  gap: 1.5px !important;
  height: 10px !important;
  margin-right: 2px !important;
}

.sb-bars i {
  width: 2.5px !important;
  border-radius: 0.5px !important;
  background: currentColor !important;
  display: inline-block !important;
  box-shadow: none !important;
}

.sb-carrier {
  font-weight: 600 !important;
  font-size: 12px !important;
  margin-right: 2px !important;
}

.sb-status svg {
  display: inline-block !important;
  vertical-align: middle !important;
  fill: currentColor !important;
  filter: none !important;
}

.sb-spinner {
  animation: sb-spin 1s steps(8, end) infinite !important;
  display: inline-block !important;
  margin-left: 2px !important;
}

@keyframes sb-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sb-alarm {
  margin-right: 2px !important;
}

.sb-pct {
  font-weight: 600 !important;
  font-size: 12px !important;
  font-variant-numeric: tabular-nums !important;
}

.sb-battery {
  margin-left: 2px !important;
}


/* Status Bar Exact Match (media_1794464923738_a5ad7de5.png) */
.sb-status {
  position: relative !important;
  z-index: 10 !important;
  flex: none !important;
  height: calc(20px + env(safe-area-inset-top)) !important;
  padding: env(safe-area-inset-top) 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: -0.1px !important;
  box-sizing: border-box !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

body:not(.dark-theme) .sb-status,
.sb-status {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #000000 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.dark-theme .sb-status,
.dark-theme .sb-status {
  background: rgba(20, 20, 22, 0.94) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.sb-status .sb-left,
.sb-status .sb-right {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.sb-status .sb-time {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: -0.1px !important;
}

.sb-bars {
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: 1.5px !important;
  height: 11px !important;
  margin-right: 4px !important;
}

.sb-bars i {
  width: 2.8px !important;
  border-radius: 0.6px !important;
  background: currentColor !important;
  display: inline-block !important;
  box-shadow: none !important;
}

.sb-carrier {
  font-weight: 600 !important;
  font-size: 12px !important;
  margin-right: 5px !important;
  letter-spacing: -0.2px !important;
}

.sb-wifi {
  width: 14px !important;
  height: 11px !important;
  vertical-align: middle !important;
  display: inline-block !important;
  fill: currentColor !important;
}

.sb-pct {
  font-weight: 600 !important;
  font-size: 12px !important;
  font-variant-numeric: tabular-nums !important;
  margin-right: 3px !important;
}

.sb-battery {
  width: 22px !important;
  height: 10px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  fill: currentColor !important;
}


/* Upward Stair-Step Signal Bars */
.sb-bars {
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: 1.5px !important;
  height: 12px !important;
  margin-right: 4px !important;
}

.sb-bars i {
  width: 3px !important;
  border-radius: 0.8px !important;
  background: currentColor !important;
  display: inline-block !important;
  box-shadow: none !important;
}

.sb-bars i.bar-1, .sb-bars i:nth-child(1) { height: 3px !important; }
.sb-bars i.bar-2, .sb-bars i:nth-child(2) { height: 5.5px !important; }
.sb-bars i.bar-3, .sb-bars i:nth-child(3) { height: 8px !important; }
.sb-bars i.bar-4, .sb-bars i:nth-child(4) { height: 11px !important; }


/* =========================================================
   SINGLE TEXT - NO DOUBLE / EMBOSSED TEXT SHADOWS
   (media_1794465477852_ae4bad16.jpg)
   ========================================================= */
.loading,
.loading *,
.center-screen,
.center-screen *,
.lock,
.lock *,
.auth,
.auth *,
.panel,
.panel *,
.onb,
.onb *,
.onb-head,
.onb-head *,
.onb-sub,
.onb-card,
.onb-card *,
.notice,
.notice *,
.toast,
.toast *,
.cellrow,
.cellrow *,
.group-title,
.hint,
.muted,
h1, h2, h3, h4, h5, h6,
p, label, span, b, strong,
.btn, .btn *,
.tab, .tab *,
.barbtn, .barbtn * {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  filter: none !important;
}

body:not(.dark-theme) .loading {
  color: #1c1c1e !important;
  text-shadow: none !important;
}

body.dark-theme .loading {
  color: #ffffff !important;
  text-shadow: none !important;
}


/* =========================================================
   HEADERS MATCH ACTIVE THEME COLOR (LIGHT & DARK)
   (media_1794468882559_eca05878.jpg)
   ========================================================= */

/* --- LOCK SCREEN ONLY (Transparent Status Bar over blue wallpaper) --- */
.lock-shell,
.shell:has(.lock),
body:has(.lock) .shell {
  background: #1c325c url(./ios7-wallpaper.jpg) center center / cover no-repeat !important;
}

.lock-shell .lock,
.shell:has(.lock) .lock,
body:has(.lock) .lock {
  background: transparent !important;
  background-color: transparent !important;
}

.lock-shell .sb-status,
.shell:has(.lock) .sb-status,
body:has(.lock) .sb-status {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.lock-shell .sb-status,
.lock-shell .sb-status *,
.shell:has(.lock) .sb-status,
.shell:has(.lock) .sb-status *,
body:has(.lock) .sb-status,
body:has(.lock) .sb-status * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  text-shadow: none !important;
}

.lock-shell .sb-bars i,
.shell:has(.lock) .sb-bars i,
body:has(.lock) .sb-bars i {
  background: #ffffff !important;
}

.lock-shell .sb-battery rect,
.shell:has(.lock) .sb-battery rect,
body:has(.lock) .sb-battery rect {
  stroke: #ffffff !important;
  fill: #ffffff !important;
}

.lock-shell .sb-battery rect[fill="none"],
.shell:has(.lock) .sb-battery rect[fill="none"],
body:has(.lock) .sb-battery rect[fill="none"] {
  fill: none !important;
  stroke: #ffffff !important;
}


/* --- 1. LIGHT THEME HEADERS (Matching Light Theme) --- */
body:not(.dark-theme) .sb-status,
:not(.dark-theme) > .sb-status,
:root:not(.dark-theme) .sb-status,
html:not(.dark-theme) .sb-status {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
  color: #000000 !important;
}

body:not(.dark-theme) .sb-status *,
:not(.dark-theme) > .sb-status *,
:root:not(.dark-theme) .sb-status *,
html:not(.dark-theme) .sb-status * {
  color: #000000 !important;
  fill: #000000 !important;
  stroke: #000000 !important;
  text-shadow: none !important;
}

body:not(.dark-theme) .sb-bars i,
html:not(.dark-theme) .sb-bars i {
  background: #000000 !important;
}

body:not(.dark-theme) .sb-battery rect,
html:not(.dark-theme) .sb-battery rect {
  stroke: #000000 !important;
  fill: #000000 !important;
}

body:not(.dark-theme) .sb-battery rect[fill="none"],
html:not(.dark-theme) .sb-battery rect[fill="none"] {
  fill: none !important;
  stroke: #000000 !important;
}

/* Light Theme Navigation Bar */
body:not(.dark-theme) .navbar,
:not(.dark-theme) > .navbar,
:root:not(.dark-theme) .navbar,
html:not(.dark-theme) .navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

body:not(.dark-theme) .navbar .nav-logo,
html:not(.dark-theme) .navbar .nav-logo {
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 17px !important;
}

body:not(.dark-theme) .navbar .barbtn,
html:not(.dark-theme) .navbar .barbtn {
  color: #007aff !important;
}

body:not(.dark-theme) .navbar .nav-blood,
html:not(.dark-theme) .navbar .nav-blood {
  background: rgba(0, 0, 0, 0.05) !important;
  border: 0.5px solid rgba(0, 0, 0, 0.12) !important;
  color: #000000 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
body:not(.dark-theme) .navbar .nav-blood .coins,
body:not(.dark-theme) .navbar .nav-blood .coins-num,
html:not(.dark-theme) .navbar .nav-blood .coins,
html:not(.dark-theme) .navbar .nav-blood .coins-num {
  color: #000000 !important;
}


/* --- 2. DARK THEME HEADERS (Matching Dark Theme) --- */
body.dark-theme .sb-status,
.dark-theme .sb-status,
html.dark-theme .sb-status {
  background: rgba(28, 28, 30, 0.94) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

body.dark-theme .sb-status *,
.dark-theme .sb-status *,
html.dark-theme .sb-status * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  text-shadow: none !important;
}

body.dark-theme .sb-bars i,
.dark-theme .sb-bars i,
html.dark-theme .sb-bars i {
  background: #ffffff !important;
}

body.dark-theme .sb-battery rect,
.dark-theme .sb-battery rect,
html.dark-theme .sb-battery rect {
  stroke: #ffffff !important;
  fill: #ffffff !important;
}

body.dark-theme .sb-battery rect[fill="none"],
.dark-theme .sb-battery rect[fill="none"],
html.dark-theme .sb-battery rect[fill="none"] {
  fill: none !important;
  stroke: #ffffff !important;
}

/* Dark Theme Navigation Bar */
body.dark-theme .navbar,
.dark-theme .navbar,
html.dark-theme .navbar {
  background: rgba(28, 28, 30, 0.94) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

body.dark-theme .navbar .nav-logo,
.dark-theme .navbar .nav-logo,
html.dark-theme .navbar .nav-logo {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 17px !important;
}

body.dark-theme .navbar .barbtn,
.dark-theme .navbar .barbtn,
html.dark-theme .navbar .barbtn {
  color: #0a84ff !important;
}

body.dark-theme .navbar .nav-blood,
.dark-theme .navbar .nav-blood,
html.dark-theme .navbar .nav-blood {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}
body.dark-theme .navbar .nav-blood .coins,
body.dark-theme .navbar .nav-blood .coins-num,
.dark-theme .navbar .nav-blood .coins,
.dark-theme .navbar .nav-blood .coins-num,
html.dark-theme .navbar .nav-blood .coins,
html.dark-theme .navbar .nav-blood .coins-num {
  color: #ffffff !important;
}


/* --- STATUS BAR COMMON LAYOUT --- */
.sb-status .sb-left {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.sb-carrier {
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  margin-right: 4px !important;
  letter-spacing: -0.2px !important;
  display: inline-block !important;
}

/* Signal bars same height as capital M (~8.8px) */
.sb-bars {
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: 1.5px !important;
  height: 9px !important;
  margin-right: 3px !important;
  vertical-align: middle !important;
}

.sb-bars i {
  width: 2.5px !important;
  border-radius: 0.5px !important;
  display: inline-block !important;
  box-shadow: none !important;
}

.sb-bars i.bar-1, .sb-bars i:nth-child(1) { height: 2.2px !important; }
.sb-bars i.bar-2, .sb-bars i:nth-child(2) { height: 4.4px !important; }
.sb-bars i.bar-3, .sb-bars i:nth-child(3) { height: 6.6px !important; }
.sb-bars i.bar-4, .sb-bars i:nth-child(4) { height: 8.8px !important; }

/* Wifi icon aligned with M */
.sb-wifi {
  width: 12px !important;
  height: 9px !important;
  vertical-align: middle !important;
  display: inline-block !important;
}

/* Battery icon fill */
.sb-battery {
  width: 22px !important;
  height: 10px !important;
  vertical-align: middle !important;
  display: inline-block !important;
}

.sb-battery .sb-batt-fill {
  transition: width 0.3s ease !important;
}


/* =========================================================
   NO GLOWY BUTTONS - NORMAL FLAT CLEAN COLORS
   (media_1794469598219_a0a54c25.jpg)
   ========================================================= */
.onb-next,
.onb-next:hover,
.onb-next:active,
.onb-gender .tab,
.onb-gender .tab.on,
.onb-gender .tab.on:hover,
.onb-gender .tab.on:active,
.onb-tools .btn,
.onb-tools .btn:hover,
.onb-tools .btn:active,
.btn,
.btn:hover,
.btn:active,
.btn.primary,
.btn.primary:hover,
.btn.primary:active,
.btn.danger,
.btn.danger:hover,
.btn.danger:active,
.drop-yes,
.drop-no,
button,
button:hover,
button:active {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

.onb-gender .tab.on,
body:not(.dark-theme) .onb-gender .tab.on,
body.dark-theme .onb-gender .tab.on {
  background: #007aff !important;
  color: #ffffff !important;
  box-shadow: none !important;
  filter: none !important;
}

.onb-next,
body:not(.dark-theme) .onb-next,
body.dark-theme .onb-next {
  background: #007aff !important;
  color: #ffffff !important;
  box-shadow: none !important;
  filter: none !important;
}

.onb-next:hover,
.onb-gender .tab.on:hover {
  background: #0071eb !important;
  filter: none !important;
}

.onb-next:active,
.onb-gender .tab.on:active {
  background: #0062cc !important;
  filter: none !important;
}

/* =========================================================
   iOS 7 Styling for Janikalami Room Shop (.cd-popup.landlord)
   ========================================================= */
.cd-popup.landlord {
  width: 320px !important;
  max-width: 92vw !important;
  max-height: calc(100% - 40px) !important;
  background: rgba(248, 248, 250, 0.88) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22) !important;
  border-radius: 14px !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: #000000 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.dark-theme .cd-popup.landlord {
  background: rgba(28, 28, 30, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
}

/* Modal Header */
.cd-popup.landlord .cd-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 16px !important;
  background: rgba(255, 255, 255, 0.65) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.dark-theme .cd-popup.landlord .cd-head {
  background: rgba(44, 44, 46, 0.65) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.cd-popup.landlord .cd-head strong {
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: -0.4px !important;
  color: #000000 !important;
  text-shadow: none !important;
}

.dark-theme .cd-popup.landlord .cd-head strong {
  color: #ffffff !important;
}

.cd-popup.landlord .cd-head .btn.small {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(142, 142, 147, 0.16) !important;
  color: #8e8e93 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background 0.15s, color 0.15s !important;
}

.cd-popup.landlord .cd-head .btn.small:hover {
  background: rgba(142, 142, 147, 0.3) !important;
  color: #000000 !important;
}

.dark-theme .cd-popup.landlord .cd-head .btn.small:hover {
  color: #ffffff !important;
}

/* Modal Body */
.cd-popup.landlord .landlord-body {
  padding: 14px 16px !important;
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* iOS 7 Segmented Control for Tabs (Rom / Seng & garderobe) */
.cd-popup.landlord .rp-chips:first-of-type {
  display: flex !important;
  width: 100% !important;
  border: 1px solid #007aff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: transparent !important;
  margin-bottom: 8px !important;
}

.cd-popup.landlord .rp-chips:first-of-type .chip {
  flex: 1 !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #007aff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: center !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border-right: 1px solid #007aff !important;
  transition: background 0.15s, color 0.15s !important;
}

.cd-popup.landlord .rp-chips:first-of-type .chip:last-child {
  border-right: none !important;
}

.cd-popup.landlord .rp-chips:first-of-type .chip.on {
  background: #007aff !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Section Labels (Romoppgraderinger, Farger, etc.) */
.cd-popup.landlord .ll-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #8e8e93 !important;
  margin-top: 8px !important;
  margin-bottom: 2px !important;
  text-shadow: none !important;
}

.dark-theme .cd-popup.landlord .ll-label {
  color: #98989d !important;
}

/* Sub-part headers (Gulv, Vegger, Teppe, Seng, Klespose) */
.cd-popup.landlord .ll-part {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #000000 !important;
  margin-top: 6px !important;
  margin-bottom: 4px !important;
  text-shadow: none !important;
}

.dark-theme .cd-popup.landlord .ll-part {
  color: #ffffff !important;
}

/* Hint text */
.cd-popup.landlord .hint {
  font-size: 13px !important;
  color: #636366 !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
  margin: 2px 0 !important;
}

.dark-theme .cd-popup.landlord .hint {
  color: #aeaeb2 !important;
}

/* List rows for room upgrades */
.cd-popup.landlord .ll-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  margin-bottom: 4px !important;
}

.dark-theme .cd-popup.landlord .ll-row {
  background: rgba(44, 44, 46, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.cd-popup.landlord .ll-name {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #000000 !important;
  text-shadow: none !important;
}

.dark-theme .cd-popup.landlord .ll-name {
  color: #ffffff !important;
}

.cd-popup.landlord .ll-done {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #34c759 !important;
  text-shadow: none !important;
}

/* Room preview canvas */
.cd-popup.landlord .ll-preview {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.6), rgba(215, 225, 235, 0.4)) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  margin: 6px 0 !important;
}

.dark-theme .cd-popup.landlord .ll-preview {
  background: radial-gradient(ellipse at 50% 50%, rgba(58, 58, 60, 0.6), rgba(28, 28, 30, 0.8)) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.cd-popup.landlord .ll-preview canvas {
  border-radius: 8px !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Color chip swatches */
.cd-popup.landlord .rp-chips:not(:first-of-type) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
}

.cd-popup.landlord .chip.swatch2 {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22) !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
}

.cd-popup.landlord .chip.swatch2:hover {
  transform: scale(1.1) !important;
}

.cd-popup.landlord .chip.swatch2.on {
  box-shadow: 0 0 0 2px #007aff, 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  transform: scale(1.15) !important;
}

/* Tint / Color picker input */
.cd-popup.landlord .tint-picker {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22) !important;
  cursor: pointer !important;
}

/* Skin chips for Bed & Bag */
.cd-popup.landlord .chip.ll-skin {
  border-radius: 14px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  background: rgba(0, 122, 255, 0.08) !important;
  border: 1px solid rgba(0, 122, 255, 0.3) !important;
  color: #007aff !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background 0.15s, color 0.15s !important;
}

.cd-popup.landlord .chip.ll-skin.on {
  background: #007aff !important;
  color: #ffffff !important;
  border-color: #007aff !important;
  font-weight: 600 !important;
}

/* Action button (Bruk / Apply) */
.cd-popup.landlord .btn.primary {
  background: #007aff !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  box-shadow: 0 3px 10px rgba(0, 122, 255, 0.35) !important;
  cursor: pointer !important;
  text-shadow: none !important;
  transition: opacity 0.15s, transform 0.1s !important;
}

.cd-popup.landlord .btn.primary:disabled {
  background: rgba(142, 142, 147, 0.24) !important;
  color: #8e8e93 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

.cd-popup.landlord .btn.small {
  background: rgba(142, 142, 147, 0.16) !important;
  color: #007aff !important;
  border: none !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
}

.cd-popup.landlord .ll-row .btn.small {
  background: #007aff !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(0, 122, 255, 0.3) !important;
}

.cd-popup.landlord .ll-row .btn.small:disabled {
  background: rgba(142, 142, 147, 0.2) !important;
  color: #8e8e93 !important;
  box-shadow: none !important;
}


/* ==========================================================================
   MOBILE LOCK SCREEN FIX: FULL VIEWPORT COVERAGE WITHOUT VOID/BLACK GAPS
   ========================================================================== */
html.lock-screen-active,
body.lock-screen-active,
html:has(.lock-shell),
body:has(.lock-shell),
html:has(.lock),
body:has(.lock) {
  background: #1c325c url(./ios7-wallpaper.jpg) center center / cover no-repeat fixed !important;
  min-height: 100% !important;
  height: 100% !important;
}

html.lock-screen-active #app,
body.lock-screen-active #app,
html:has(.lock-shell) #app,
body:has(.lock-shell) #app,
html.kb.lock-screen-active #app,
html.kb:has(.lock-shell) #app,
html.kb:has(.lock) #app {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  min-height: 100dvh !important;
  height: auto !important;
  background: transparent !important;
}

.lock-shell,
.shell:has(.lock),
body:has(.lock) .shell,
body.lock-screen-active .shell {
  min-height: 100dvh !important;
  height: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
}

.lock {
  flex: 1 0 auto !important;
  min-height: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Nav SVG icons for clean vector display in header */
.nav-svg-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  color: inherit !important;
  vertical-align: middle !important;
}
.nav-svg-icon svg {
  display: block !important;
  fill: currentColor !important;
}


/* Janikalami Shop Fixes: High-contrast label and clean preview margins */
.cd-popup.landlord .ll-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #ffd54a !important;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
  position: relative !important;
  z-index: 10 !important;
  display: block !important;
  clear: both !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.dark-theme .cd-popup.landlord .ll-label {
  color: #ffd54a !important;
}

.cd-popup.landlord .ll-preview {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: radial-gradient(ellipse at 50% 50%, rgba(58, 58, 60, 0.6), rgba(28, 28, 30, 0.8)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 16px 8px 12px !important;
  margin: 8px 0 14px 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

.cd-popup.landlord .ll-preview canvas {
  display: block !important;
  border-radius: 8px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}


/* Custom vector indicators in navbar for both mobile and desktop (no emojis) */
.navbar .barbtn.nav-friends,
.navbar .barbtn.nav-menu,
.navbar .barbtn.nav-mod {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

@media (max-width: 640px) {
  .navbar .barbtn.nav-friends {
    display: inline-flex !important;
  }
}

.dark-theme .navbar .barbtn.nav-friends,
.dark-theme .navbar .barbtn.nav-menu,
.dark-theme .navbar .barbtn.nav-mod,
html.dark-theme .navbar .barbtn.nav-friends,
html.dark-theme .navbar .barbtn.nav-menu,
html.dark-theme .navbar .barbtn.nav-mod,
body.dark-theme .navbar .barbtn.nav-friends,
body.dark-theme .navbar .barbtn.nav-menu,
body.dark-theme .navbar .barbtn.nav-mod {
  color: #0a84ff !important;
}

body:not(.dark-theme) .navbar .barbtn.nav-friends,
body:not(.dark-theme) .navbar .barbtn.nav-menu,
body:not(.dark-theme) .navbar .barbtn.nav-mod {
  color: #007aff !important;
}

.nav-svg-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  color: inherit !important;
  vertical-align: middle !important;
  pointer-events: none !important;
}

.nav-svg-icon svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
}


/* =========================================================
   iOS 7 Styling for Room Settings Panel (.roompanel)
   ========================================================= */

.roompanel {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 4px 2px 18px 2px !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif !important;
  box-sizing: border-box !important;
}

.roompanel .osrs-title {
  display: block !important;
  text-align: center !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: -0.4px !important;
  color: #000000 !important;
  margin: 2px 0 10px 0 !important;
  text-shadow: none !important;
}

.dark-theme .roompanel .osrs-title,
html.dark-theme .roompanel .osrs-title,
body.dark-theme .roompanel .osrs-title {
  color: #ffffff !important;
  text-shadow: none !important;
}

/* iOS 7 Grouped Card for each section */
.roompanel .rp-sec {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 0.5px solid rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: background 0.2s, border-color 0.2s !important;
}

.dark-theme .roompanel .rp-sec,
html.dark-theme .roompanel .rp-sec,
body.dark-theme .roompanel .rp-sec {
  background: rgba(36, 36, 38, 0.78) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25) !important;
}

/* Uppercase iOS 7 Subheading */
.roompanel .rp-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #007aff !important;
  margin: 0 0 2px 0 !important;
  text-shadow: none !important;
}

.dark-theme .roompanel .rp-label,
html.dark-theme .roompanel .rp-label,
body.dark-theme .roompanel .rp-label {
  color: #0a84ff !important;
}

/* Name row: Input field & Lagre button */
.roompanel .rp-sec .row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.roompanel input.mini-input {
  flex: 1 !important;
  height: 38px !important;
  padding: 0 12px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s, background 0.15s !important;
}

.roompanel input.mini-input:focus {
  background: #ffffff !important;
  border-color: #007aff !important;
  box-shadow: 0 0 0 1px rgba(0, 122, 255, 0.25) !important;
}

.dark-theme .roompanel input.mini-input,
html.dark-theme .roompanel input.mini-input,
body.dark-theme .roompanel input.mini-input {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.dark-theme .roompanel input.mini-input:focus,
html.dark-theme .roompanel input.mini-input:focus,
body.dark-theme .roompanel input.mini-input:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #0a84ff !important;
  box-shadow: 0 0 0 1px rgba(10, 132, 255, 0.3) !important;
}

.roompanel .rp-sec .row .btn {
  height: 38px !important;
  padding: 0 16px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  background: #007aff !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.15s, transform 0.1s !important;
  white-space: nowrap !important;
}

.roompanel .rp-sec .row .btn:active {
  opacity: 0.8 !important;
  transform: scale(0.98) !important;
}

.dark-theme .roompanel .rp-sec .row .btn,
html.dark-theme .roompanel .rp-sec .row .btn,
body.dark-theme .roompanel .rp-sec .row .btn {
  background: #0a84ff !important;
}

/* iOS 7 Segmented Control for Access ("Hvem kan komme inn") */
.roompanel .rp-chips {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 2px 0 4px 0 !important;
}

.roompanel .rp-chips .chip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 6px 10px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: center !important;
  border: 1px solid #007aff !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #007aff !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-shadow: none !important;
  box-sizing: border-box !important;
  transition: background 0.15s, color 0.15s, transform 0.1s !important;
  line-height: 1.25 !important;
}

.roompanel .rp-chips .chip:active {
  transform: scale(0.98) !important;
}

.roompanel .rp-chips .chip.on {
  background: #007aff !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.dark-theme .roompanel .rp-chips .chip,
html.dark-theme .roompanel .rp-chips .chip,
body.dark-theme .roompanel .rp-chips .chip {
  border-color: #0a84ff !important;
  color: #0a84ff !important;
}

.dark-theme .roompanel .rp-chips .chip.on,
html.dark-theme .roompanel .rp-chips .chip.on,
body.dark-theme .roompanel .rp-chips .chip.on {
  background: #0a84ff !important;
  color: #ffffff !important;
}

/* iOS 7 Description / Hint typography */
.roompanel .hint {
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #3c3c43 !important;
  opacity: 0.85 !important;
  margin: 0 !important;
  text-shadow: none !important;
}

.dark-theme .roompanel .hint,
html.dark-theme .roompanel .hint,
body.dark-theme .roompanel .hint {
  color: #ebebf5 !important;
  opacity: 0.8 !important;
  text-shadow: none !important;
}

/* Invite List styling */
.roompanel .invite-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  margin-top: 4px !important;
}

.roompanel .invite-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  background: rgba(0, 0, 0, 0.03) !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
}

.dark-theme .roompanel .invite-row,
html.dark-theme .roompanel .invite-row,
body.dark-theme .roompanel .invite-row {
  background: rgba(255, 255, 255, 0.06) !important;
}

.roompanel .invite-name {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: inherit !important;
}

.roompanel .invite-row .btn {
  height: 30px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  border: none !important;
  background: #007aff !important;
  color: #ffffff !important;
  cursor: pointer !important;
}

.dark-theme .roompanel .invite-row .btn,
html.dark-theme .roompanel .invite-row .btn,
body.dark-theme .roompanel .invite-row .btn {
  background: #0a84ff !important;
}


/* =========================================================
   iOS 7 Styling for Chat Window / Private Messages (Image 1)
   ========================================================= */

.chat-windows {
  display: flex !important;
  align-items: flex-end !important;
  gap: 10px !important;
  z-index: 9999 !important;
}

.chat-window {
  width: 300px !important;
  height: 380px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  border-bottom: none !important;
  border-radius: 14px 14px 0 0 !important;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif !important;
  transition: height 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s !important;
}

.dark-theme .chat-window,
html.dark-theme .chat-window,
body.dark-theme .chat-window {
  background: #1c1c1e !important;
  border: 0.5px solid rgba(255, 255, 255, 0.15) !important;
  border-bottom: none !important;
  box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.45) !important;
}

.chat-window.min {
  height: 44px !important;
}

/* iOS 7 Translucent Frosted Header */
.cw-head {
  flex: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 44px !important;
  padding: 0 12px !important;
  cursor: pointer !important;
  background: rgba(248, 248, 248, 0.92) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  box-shadow: none !important;
}

.dark-theme .cw-head,
html.dark-theme .cw-head,
body.dark-theme .cw-head {
  background: rgba(28, 28, 30, 0.92) !important;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15) !important;
}

.cw-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  color: #000000 !important;
  text-shadow: none !important;
}

.dark-theme .cw-title,
html.dark-theme .cw-title,
body.dark-theme .cw-title {
  color: #ffffff !important;
}

.cw-title .dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #8e8e93 !important;
  box-shadow: none !important;
}

.cw-title .dot.on {
  background: #34c759 !important;
  box-shadow: 0 0 6px rgba(52, 199, 89, 0.8) !important;
}

/* Close button */
.cw-x {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.06) !important;
  color: #8e8e93 !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.15s, color 0.15s !important;
  text-shadow: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.cw-x:hover {
  background: rgba(0, 0, 0, 0.12) !important;
  color: #000000 !important;
}

.dark-theme .cw-x,
html.dark-theme .cw-x,
body.dark-theme .cw-x {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ebebf5 !important;
}

.dark-theme .cw-x:hover,
html.dark-theme .cw-x:hover,
body.dark-theme .cw-x:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* iOS 7 Chat Log (Clean Solid Background, NO STRIPES) */
.cw-log {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 12px 14px 10px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  background: #ffffff !important;
}

.dark-theme .cw-log,
html.dark-theme .cw-log,
body.dark-theme .cw-log {
  background: #1c1c1e !important;
}

.cw-empty {
  margin: auto !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #8e8e93 !important;
  text-shadow: none !important;
}

.dark-theme .cw-empty,
html.dark-theme .cw-empty,
body.dark-theme .cw-empty {
  color: #8e8e93 !important;
}

/* iOS 7 Date/Time Stamp */
.cw-stamp {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #8e8e93 !important;
  text-align: center !important;
  margin: 10px 0 4px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  text-shadow: none !important;
}

/* iOS 7 Delivered indicator */
.cw-delivered {
  font-size: 11px !important;
  color: #8e8e93 !important;
  text-align: right !important;
  margin-top: 2px !important;
  padding-right: 4px !important;
  text-shadow: none !important;
}

/* iOS 7 Message Bubbles (iMessage) */
.cw-msg {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.cw-msg.mine {
  align-items: flex-end !important;
}

.cw-bubble {
  max-width: 80% !important;
  position: relative !important;
  padding: 8px 14px 9px 14px !important;
  box-sizing: border-box !important;
  border: none !important;
  border-radius: 18px !important;
  word-break: break-word !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Incoming bubble (Light Grey) */
.cw-msg:not(.mine) .cw-bubble {
  background: #e9e9eb !important;
  color: #000000 !important;
  border-bottom-left-radius: 5px !important;
}

.dark-theme .cw-msg:not(.mine) .cw-bubble,
html.dark-theme .cw-msg:not(.mine) .cw-bubble,
body.dark-theme .cw-msg:not(.mine) .cw-bubble {
  background: #2c2c2e !important;
  color: #ffffff !important;
}

/* Outgoing bubble (iMessage iOS Blue) */
.cw-msg.mine .cw-bubble {
  background: #007aff !important;
  color: #ffffff !important;
  border-bottom-right-radius: 5px !important;
}

.dark-theme .cw-msg.mine .cw-bubble,
html.dark-theme .cw-msg.mine .cw-bubble,
body.dark-theme .cw-msg.mine .cw-bubble {
  background: #0a84ff !important;
  color: #ffffff !important;
}

/* Remove old skeuomorphic gradient tails */
.cw-bubble:after,
.cw-msg.tail .cw-bubble:after,
.cw-msg.mine.tail .cw-bubble:after {
  display: none !important;
}

/* iOS 7 Translucent Frosted Input Bar */
.cw-form {
  flex: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 10px !important;
  background: rgba(248, 248, 248, 0.94) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  box-shadow: none !important;
}

.dark-theme .cw-form,
html.dark-theme .cw-form,
body.dark-theme .cw-form {
  background: rgba(28, 28, 30, 0.94) !important;
  border-top: 0.5px solid rgba(255, 255, 255, 0.15) !important;
}

.cw-input {
  flex: 1 !important;
  min-width: 0 !important;
  height: 34px !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 17px !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-size: 14px !important;
  font-family: inherit !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.15s !important;
}

.cw-input:focus {
  border-color: #007aff !important;
}

.dark-theme .cw-input,
html.dark-theme .cw-input,
body.dark-theme .cw-input {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.dark-theme .cw-input:focus,
html.dark-theme .cw-input:focus,
body.dark-theme .cw-input:focus {
  border-color: #0a84ff !important;
}

/* iOS 7 Send button */
.cw-send {
  flex: none !important;
  height: 34px !important;
  padding: 0 6px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #007aff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: opacity 0.15s, color 0.15s !important;
}

.cw-send:disabled {
  color: rgba(0, 122, 255, 0.35) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: default !important;
}

.dark-theme .cw-send,
html.dark-theme .cw-send,
body.dark-theme .cw-send {
  color: #0a84ff !important;
}

.dark-theme .cw-send:disabled,
html.dark-theme .cw-send:disabled,
body.dark-theme .cw-send:disabled {
  color: rgba(10, 132, 255, 0.35) !important;
  background: transparent !important;
}

/* Landlord Room Upgrades active pill */
.cd-popup.landlord .ll-done.on {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 10px !important;
  border-radius: 12px !important;
  background: rgba(52, 199, 89, 0.15) !important;
  color: #34c759 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* === iOS 7 Dark Glassmorphic Garderobe Modal === */
.wd-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 95 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)) !important;
  box-sizing: border-box !important;
}
.wd-modal {
  width: min(440px, 100%) !important;
  height: min(820px, calc(100dvh - 16px)) !important;
  max-height: calc(100dvh - 16px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background: rgba(28, 28, 30, 0.96) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75) !important;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.wd-header {
  flex: none !important;
  height: 48px !important;
  padding: 0 16px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  background: rgba(24, 24, 26, 0.98) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.wd-bsd {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #ff453a !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.2px !important;
}
.wd-title {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-align: center !important;
  letter-spacing: -0.3px !important;
}
.wd-close {
  justify-self: end !important;
  background: transparent !important;
  border: none !important;
  color: #0a84ff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 4px 0 !important;
  cursor: pointer !important;
  font-family: inherit !important;
}
.wd-close:active {
  opacity: 0.65 !important;
}
.wd-body {
  flex: 1 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 14px 14px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
}
.wd-preview-box {
  flex: none !important;
  background: #141416 !important;
  border-radius: 14px !important;
  padding: 14px 12px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: none !important;
}
.wd-canvas {
  width: 176px !important;
  height: 302px !important;
  image-rendering: pixelated !important;
}
.wd-preview-name {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  margin-top: 2px !important;
  letter-spacing: -0.2px !important;
}
.wd-rotate-row {
  flex: none !important;
  display: flex !important;
  justify-content: center !important;
  gap: 14px !important;
  margin: 2px 0 !important;
}
.wd-rot-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 1.5px solid #0a84ff !important;
  background: rgba(10, 132, 255, 0.06) !important;
  color: #0a84ff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: transform 0.12s ease, background 0.12s ease !important;
}
.wd-rot-btn:active {
  background: rgba(10, 132, 255, 0.22) !important;
  transform: scale(0.94) !important;
}
.wd-sub {
  flex: none !important;
  color: #8e8e93 !important;
  font-size: 13.5px !important;
  line-height: 1.38 !important;
  text-align: center !important;
  margin: 0 auto !important;
  max-width: 360px !important;
}
.wd-gender {
  flex: none !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  width: 260px !important;
  max-width: 100% !important;
  height: 34px !important;
  margin: 0 auto !important;
  border: 1px solid #0a84ff !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  background: rgba(0, 0, 0, 0.25) !important;
}
.wd-gender-btn {
  background: transparent !important;
  border: none !important;
  color: #0a84ff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.wd-gender-btn.on {
  background: #0a84ff !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}
.wd-tabs {
  flex: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 7px !important;
}
.wd-tab {
  border-radius: 999px !important;
  border: 1px solid #0a84ff !important;
  background: rgba(10, 132, 255, 0.08) !important;
  color: #0a84ff !important;
  padding: 5px 13px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  transition: all 0.12s ease !important;
}
.wd-tab.on {
  background: #0a84ff !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}
.wd-colors {
  flex: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.wd-swatch-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
}
.wd-swatch-label {
  width: 100% !important;
  text-align: center !important;
  font-size: 12px !important;
  color: #8e8e93 !important;
}
.wd-swatch {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  padding: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: transform 0.1s ease !important;
}
.wd-swatch.on {
  border: 2px solid #1c1c1e !important;
  box-shadow: 0 0 0 2px #0a84ff !important;
}
.wd-swatch-wheel {
  background: conic-gradient(from 0deg, #ff3b30, #ff9500, #ffcc00, #34c759, #5ac8fa, #007aff, #af52de, #ff2d55, #ff3b30) !important;
}
.wd-grid {
  flex: none !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding-top: 2px !important;
}
.wd-cell {
  position: relative !important;
  height: 94px !important;
  background: #262629 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  cursor: pointer !important;
  padding: 0 !important;
  color: #8e8e93 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: inherit !important;
}
.wd-cell.on {
  border: 2px solid #0a84ff !important;
  background: #2c2c30 !important;
  color: #ffffff !important;
}
.wd-thumb {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}
.wd-thumb .thumb-canvas {
  image-rendering: pixelated !important;
}
.wd-badge {
  position: absolute !important;
  left: 5px !important;
  bottom: 5px !important;
  padding: 1.5px 6px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  background: rgba(16, 16, 18, 0.78) !important;
  letter-spacing: -0.1px !important;
}
.wd-badge.har {
  color: #30d158 !important;
}
.wd-badge.gratis {
  color: #0a84ff !important;
}
.wd-badge.price {
  color: #ff453a !important;
}
.wd-footer {
  flex: none !important;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom)) !important;
  background: rgba(24, 24, 26, 0.98) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.wd-buy-btn {
  width: 100% !important;
  height: 46px !important;
  border-radius: 12px !important;
  border: none !important;
  background: #1a3a63 !important;
  color: #7cb0eb !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.wd-buy-btn.active {
  background: #0a84ff !important;
  color: #ffffff !important;
}
.wd-buy-btn:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}

/* macOS Two-Row Header (#macTop + #macBar) */
.shell:not(.lock-shell) > .sb-status {
  display: none !important;
}
.mac-header-wrap {
  flex: 0 0 auto;
  width: 100%;
  position: relative;
  z-index: 250;
  font-family: "Lucida Grande", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
#macTop {
  height: 22px;
  background: linear-gradient(180deg, #323234 0%, #252527 100%);
  border-bottom: 1px solid #141416;
  display: flex;
  align-items: center;
  padding: 0 12px 0 10px;
  font-size: 13.5px;
  color: #ffffff;
  user-select: none;
}
#macTop b.mac-app-name {
  font-weight: 700;
  padding: 0 9px 0 4px;
  letter-spacing: -0.1px;
}
#macTop .mi {
  padding: 0 9px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  cursor: default;
  color: #ffffff;
}
#macTop .mi:hover,
#macTop .mi.on {
  background: linear-gradient(#4b91f7, #1d62d1);
  color: #ffffff;
}
#macTop .mr {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13.5px;
  align-self: stretch;
}
#macTop .mr .mi {
  padding: 0 4px;
  position: relative;
}
#macTop .mr svg {
  width: 16px;
  height: 16px;
  display: block;
}
#macTop .mac-clock {
  white-space: nowrap;
  color: #ffffff;
  font-size: 13.5px;
}
#macTop .mac-srch-btn .badge {
  position: absolute;
  top: 1px;
  right: -3px;
  min-width: 13px;
  height: 13px;
  padding: 0 3px;
  font-size: 9px;
  line-height: 13px;
  border-radius: 7px;
  background: #ff3b30;
  color: #fff;
  font-weight: 700;
  text-align: center;
}
#macBar {
  height: 22px;
  background: linear-gradient(180deg, #323234 0%, #252527 100%) !important;
  border-bottom: 1px solid #141416;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #c7c7cc;
  position: relative;
  user-select: none;
}
#macBar .mac-bar-title {
  cursor: default;
}
#macBar .tl {
  position: absolute;
  left: 8px;
  top: 5px;
  display: flex;
  gap: 8px;
}
#macBar .tl i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}
#macBar .tl:hover i {
  color: rgba(0, 0, 0, 0.55);
}
#macBar .tl .r {
  background: #fc605c;
}
#macBar .tl .y {
  background: #fdbc40;
}
#macBar .tl .g {
  background: #34c84a;
}
.mmenu {
  position: absolute;
  top: 22px;
  min-width: 185px;
  background: rgba(40, 40, 42, 0.96);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.48);
  padding: 4px 0;
  font-size: 13px;
  color: #ffffff;
  z-index: 300;
  user-select: none;
}
.mmenu .mi2 {
  padding: 4px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  cursor: default;
  white-space: nowrap;
}
.mmenu .mi2:hover {
  background: linear-gradient(#4b91f7, #1d62d1);
  color: #ffffff;
}
.mmenu hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 4px 0;
}
.mac-list-pop {
  position: absolute !important;
  top: 24px !important;
  right: 8px !important;
  z-index: 300 !important;
}
.mac-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
  font-size: 12.5px;
  font-weight: 700;
}
.mac-pop-bsd {
  color: #ff453a;
  font-weight: 700;
}
@media (max-width: 480px) {
  #macTop {
    font-size: 12px;
    padding: 0 8px 0 6px;
  }
  #macTop .mi {
    padding: 0 5px;
  }
  #macTop .mr {
    gap: 9px;
    font-size: 12px;
  }
  #macTop .mac-clock {
    font-size: 12px;
  }
}

/* iOS 7 Starry Lock Screen Login Layout */
.lock-shell > .sb-status {
  display: none !important;
}
.lock {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px 16px !important;
  background: #0d0c14 url(/assets/stjerner.jpg) center center / cover no-repeat !important;
  overflow-y: auto !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.lock-clock {
  margin: 0 0 26px !important;
  text-align: center !important;
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35) !important;
}
.lock-clock .t {
  font-size: 92px !important;
  font-weight: 100 !important;
  line-height: 1 !important;
  letter-spacing: -1px !important;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.lock-clock .d {
  font-size: 19px !important;
  font-weight: 400 !important;
  margin-top: 8px !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
}
.lock .auth {
  width: min(360px, 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
.lock .logo {
  font-size: 32px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  text-align: center !important;
  margin: 0 0 6px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
}
.lock .auth .tagline {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  text-align: center !important;
  margin: 0 0 22px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
}
.lock .group {
  background: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin: 0 0 12px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
.lock .group > .cellrow {
  display: flex !important;
  align-items: center !important;
  min-height: 46px !important;
  padding: 8px 14px !important;
  border-top: 1px solid #e5e5ea !important;
  background: #ffffff !important;
  gap: 8px !important;
}
.lock .group > .cellrow:first-child {
  border-top: none !important;
}
.lock .cellrow .lbl {
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #000000 !important;
  min-width: 112px !important;
  flex: none !important;
}
.lock .cellrow input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  font-size: 16px !important;
  color: #000000 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 2px 0 !important;
}
.lock .cellrow input::placeholder {
  color: #c7c7cc !important;
  font-weight: 400 !important;
}
.lock .auth-form .btn.primary {
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 10px !important;
  border: none !important;
  background: #007aff !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  margin-top: 2px !important;
}
.lock .auth-form .btn.primary:active {
  background: #0062cc !important;
}
.lock .auth-form .link {
  color: #4da3ff !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  text-align: center !important;
  margin-top: 12px !important;
  text-shadow: none !important;
}
html.lock-screen-active,
body.lock-screen-active,
html:has(.lock-shell),
body:has(.lock-shell),
html:has(.lock),
body:has(.lock),
.lock {
  background: #0d0c14 var(--macbg, url(/assets/stjerner.jpg)) center center / cover no-repeat !important;
}

/* =========================================================
   OS X Dark Popup Windows (Image 1 & Image 8 Style)
   ========================================================= */
.macfw,
.cd-popup,
.sixty-shop,
.cd-popup.landlord,
.dark-theme .cd-popup,
.dark-theme .sixty-shop,
.dark-theme .cd-popup.landlord,
.drop-win,
.rt-win,
.door-popup,
.dark-theme .door-popup,
.stash-win,
.jb-win,
.wb-card,
.nb-card,
.trade-win,
.case-card,
.friends-panel,
.dark-theme .friends-panel,
.chat-window {
  background: #000000 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  border: none !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 18px 50px rgba(0, 0, 0, 0.72) !important;
  padding: 0 !important;
  overflow: hidden !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.cd-popup.sixty-shop {
  width: min(360px, calc(100vw - 16px)) !important;
  max-height: calc(100dvh - 64px) !important;
  display: flex !important;
  flex-direction: column !important;
}

.cd-popup.landlord {
  width: min(350px, calc(100vw - 16px)) !important;
  max-height: calc(100dvh - 64px) !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Unified macOS Title Bar (.mwBar / .mac-win-bar) */
.mwBar,
.mac-win-bar,
.cd-head,
.cd-popup.landlord .cd-head,
.dark-theme .cd-head,
.dark-theme .cd-popup.landlord .cd-head,
.drop-win .drop-title,
.rt-win .drop-title,
.door-head,
.dark-theme .door-head,
.stash-head,
.jb-bar,
.wb-head,
.nb-head,
.trade-head,
.case-nav,
.fp-head,
.cw-head,
.pw-head-bar {
  flex: none !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  background: linear-gradient(180deg, #3a3a3c 0%, #2c2c2e 100%) !important;
  border-bottom: 1px solid #141416 !important;
  border-radius: 5px 5px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  font-family: "Lucida Grande", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #c7c7cc !important;
  text-align: center !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  cursor: default !important;
  touch-action: none !important;
}

/* Title text inside macOS Title Bar */
.mwBar strong,
.mac-win-bar strong,
.cd-head strong,
.cd-popup.landlord .cd-head strong,
.dark-theme .cd-head strong,
.dark-theme .cd-popup.landlord .cd-head strong,
.door-head strong,
.stash-head strong,
.jb-bar .jb-title,
.wb-head .wb-wanted,
.nb-head .nb-title-big,
.trade-head strong,
.case-nav .case-title,
.fp-head strong,
.cw-head .cw-title,
.cw-head .cw-title strong,
.pw-head-bar strong {
  font-family: "Lucida Grande", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #c7c7cc !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Traffic light dots (.tl) on the left of Title Bar */
.mwBar .tl,
.mac-win-bar .tl {
  position: absolute !important;
  left: 8px !important;
  top: 5px !important;
  display: flex !important;
  gap: 8px !important;
  z-index: 3 !important;
}
.mwBar .tl i,
.mac-win-bar .tl i {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font: bold 9px/1 Arial, sans-serif !important;
  font-style: normal !important;
  color: transparent !important;
}
.mwBar .tl:hover i,
.mac-win-bar .tl:hover i {
  color: rgba(0, 0, 0, 0.55) !important;
}
.mwBar .tl .r,
.mac-win-bar .tl .r {
  background: #fc605c !important;
}
.mwBar .tl .y,
.mac-win-bar .tl .y {
  background: #fdbc40 !important;
}
.mwBar .tl .off,
.mac-win-bar .tl .off {
  background: #d0d0d0 !important;
  cursor: default !important;
  color: transparent !important;
}

/* Hide legacy right-side X close buttons in Title Bar */
.cd-head > button,
.cd-popup.landlord .cd-head .btn.small,
.door-head > button,
.stash-head > button,
.jb-bar > .jb-barbtn,
.wb-head > .wb-x,
.nb-head > .nb-x,
.trade-head > button,
.case-nav > button,
.fp-head > button:last-of-type,
.cw-head .cw-x,
.cw-head .cwh-side,
.pw-head-bar > button:last-of-type,
.pw-head-bar > .pw-spacer {
  display: none !important;
}

/* Keep "Meg" button in Friends header compact and vertically centered on the right */
.fp-head > button:first-of-type {
  position: absolute !important;
  right: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  line-height: 18px !important;
  padding: 0 4px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: none !important;
  color: #0a84ff !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

/* Popup Body Styling */
.sixty-body,
.cd-popup.landlord .landlord-body,
.door-body,
.mixer-body,
.wk-body,
.pet-body,
.furni-buy-body,
.jb-body,
.nb-body,
.wb-list {
  background: #000000 !important;
  color: #ffffff !important;
  padding: 12px 14px 14px !important;
  overflow-y: auto !important;
  flex: 1 1 auto !important;
}

/* Item Rows inside Popups (Snøfreser, bayne, Vending machine, Platespiller, Janikalami) */
.sixty-row,
.cd-popup.landlord .ll-row,
.dark-theme .cd-popup.landlord .ll-row,
.door-row {
  background: #1c1c1e !important;
  border: none !important;
  border-radius: 9px !important;
  padding: 10px 12px !important;
  margin-bottom: 6px !important;
  box-shadow: none !important;
}

/* Item Titles: Clean white system font instead of yellow pixel font */
.sixty-name,
.cd-popup.landlord .ll-name,
.dark-theme .cd-popup.landlord .ll-name,
.raffle-pname,
.dark-theme .raffle-pname,
.door-row strong {
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  letter-spacing: -0.1px !important;
}

/* Section Labels: Uppercase grey like Image 1 & Image 8 */
.sixty-body > .hint.pad,
.cd-popup.landlord .ll-label,
.dark-theme .cd-popup.landlord .ll-label,
.door-section,
.dark-theme .door-section,
.fp-label,
.dark-theme .fp-label,
.cdp-label,
.jb-head,
.trade-label {
  color: #8e8e93 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2px !important;
  padding: 2px 2px 4px !important;
  margin: 8px 0 4px !important;
  text-shadow: none !important;
  background: transparent !important;
}

.cd-popup.landlord .ll-part,
.dark-theme .cd-popup.landlord .ll-part {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

/* Subtitles / Hints inside Popups */
.sixty-row .hint,
.cd-popup .hint,
.cd-popup.landlord .hint,
.dark-theme .cd-popup.landlord .hint {
  color: #8e8e93 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  text-shadow: none !important;
}

/* Buttons inside Popups */
.sixty-row .btn.primary,
.cd-popup .btn.primary,
.cd-popup.landlord .btn.primary {
  background: #007aff !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.sixty-row .btn.danger,
.cd-popup .btn.small:not(.primary) {
  background: #1c1c1e !important;
  border: 1px solid #3a3a3c !important;
  color: #0a84ff !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Russisk roulette & Drop ting (.drop-win / .rt-win) */
.drop-win,
.rt-win {
  width: min(340px, 92vw) !important;
  background: #000000 !important;
  color: #ffffff !important;
  padding: 0 0 16px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.drop-win .drop-title,
.rt-win .drop-title {
  margin-bottom: 8px !important;
}
.rt-win .rt-ask,
.drop-win .drop-item,
.rt-win .hint,
.drop-win .hint {
  color: #ffffff !important;
  padding: 0 16px !important;
}
.rt-win .hint,
.drop-win .hint {
  color: #8e8e93 !important;
}
.rt-stake,
.rt-chips,
.rt-win .drop-buttons,
.drop-win .drop-buttons {
  padding: 0 16px !important;
}
.rt-stake .btn.small {
  background: #1c1c1e !important;
  border: 1px solid #0a84ff !important;
  color: #0a84ff !important;
}
.rt-num {
  color: #ff453a !important;
}
.rt-chip {
  background: #1c1c1e !important;
  border: 1px solid #0a84ff !important;
  color: #0a84ff !important;
}
.rt-chip.on {
  background: #007aff !important;
  border-color: #007aff !important;
  color: #ffffff !important;
}
.rt-win .drop-buttons .drop-no,
.drop-win .drop-buttons .drop-no {
  background: #1c1c1e !important;
  color: #0a84ff !important;
  border: 1px solid #2c2c2e !important;
}
.rt-win .drop-buttons .drop-yes,
.drop-win .drop-buttons .drop-yes {
  background: #007aff !important;
  color: #ffffff !important;
}

/* Floating macOS Windows: Bakgrunn (Image 1), Innstillinger & Medlem-hjelp (Image 8) */
.macfw {
  position: fixed !important;
  z-index: 320;
  display: flex !important;
  flex-direction: column !important;
  max-width: calc(100vw - 16px) !important;
  max-height: calc(100dvh - 48px) !important;
}
.macfw.hidden {
  display: none !important;
}
.macfw .mwBody {
  overflow-y: auto !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  background: #000000 !important;
}
.fwPad {
  padding: 14px 14px 16px !important;
  background: #000000 !important;
  color: #ffffff !important;
}
.fwPad .msSec {
  margin: 16px 4px 6px !important;
  font-size: 13px !important;
  color: #8e8e93 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2px !important;
}
.fwPad .msSec:first-child {
  margin-top: 2px !important;
}
.fwPad .msGrp {
  border-radius: 10px !important;
  background: #1c1c1e !important;
  overflow: hidden !important;
}
.fwPad .msCell {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
  padding: 0 14px !important;
  border: 0 !important;
  background: none !important;
  color: #ffffff !important;
  font: inherit !important;
  font-size: 16px !important;
  text-align: left !important;
  cursor: pointer !important;
}
.fwPad .msCell + .msCell {
  box-shadow: inset 0 0.5px 0 #3a3a3c !important;
}
.fwPad .msCell .chev {
  margin-left: auto !important;
  color: #8e8e93 !important;
  font-size: 20px !important;
}
.fwPad .msCell .tag {
  margin-left: auto !important;
  font-size: 14px !important;
  color: #8e8e93 !important;
}
.fwPad .msCell.msRed {
  color: #ff453a !important;
  justify-content: center !important;
}
.msSw {
  position: relative !important;
  margin-left: auto !important;
  width: 51px !important;
  height: 31px !important;
  flex: none !important;
}
.msSw input {
  position: absolute !important;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  cursor: pointer !important;
  z-index: 1 !important;
}
.msSw i {
  position: absolute !important;
  inset: 0 !important;
  border-radius: 16px !important;
  background: #39393d !important;
  transition: background 0.2s !important;
}
.msSw i::after {
  content: "" !important;
  position: absolute !important;
  left: 2px !important;
  top: 2px !important;
  width: 27px !important;
  height: 27px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.2s !important;
}
.msSw input:checked + i {
  background: #4cd964 !important;
}
.msSw input:checked + i::after {
  transform: translateX(20px) !important;
}
.bgGrid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
}
.bgGrid button {
  aspect-ratio: 16 / 10 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background-size: cover !important;
  background-position: center !important;
  cursor: pointer !important;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.18) !important;
  position: relative !important;
  padding: 0 0 5px 0 !important;
  color: #ffffff !important;
  font: inherit !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85) !important;
}
.bgGrid button.on {
  box-shadow: 0 0 0 3px #007aff !important;
}
.bgGrid button.up {
  background: #e5e5ea !important;
  color: #007aff !important;
  text-shadow: none !important;
  align-items: center !important;
  padding-bottom: 0 !important;
  font-size: 14px !important;
}
.bgFoot {
  font-size: 12px !important;
  color: #8e8e93 !important;
  margin: 10px 2px 0 !important;
  line-height: 1.4 !important;
}
.fwPad.help p {
  margin: 0 0 10px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #ffffff !important;
}
.fwPad.help p:last-child {
  margin-bottom: 0 !important;
}
.fwPad.help b {
  font-weight: 700 !important;
  color: #ffffff !important;
}




/* Mobile #macTop: show Innstillinger instead of Rediger, Vindu, Hjelp, and Lyd icon */
#macTop .mac-mob-settings {
  display: none;
}
@media (max-width: 768px) {
  #macTop .mac-desk-only,
  #macTop #macVolI {
    display: none !important;
  }
  #macTop .mac-mob-settings {
    display: inline-flex !important;
  }
}


/* Constrain all popups strictly within the game frame (.stage) and fix stash-head / cd-popup layout */
.stash-win {
  width: min(660px, calc(100% - 16px)) !important;
  height: min(460px, calc(100% - 16px)) !important;
  max-width: calc(100% - 16px) !important;
  max-height: calc(100% - 16px) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.stash-head .stash-count {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  flex: none !important;
  font-size: 11px !important;
  color: #8e8e93 !important;
  pointer-events: none !important;
}
.stash-win > .stash-bar {
  padding: 6px 12px 0 !important;
}
.stash-win > .stash-wear {
  padding: 0 12px !important;
}
.stash-win > .stash-panes {
  padding: 0 12px !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
.stash-win > .stash-foot {
  padding: 2px 12px 10px !important;
  margin: 0 !important;
}

/* Direct children inside .cd-popup (such as CD spiller, confirm-pop, poster-editor, st-order) */
.cd-popup > :not(.cd-head):not(.sixty-body):not(.landlord-body):not(.mixer-body):not(.wk-body):not(.pet-body):not(.furni-buy-body) {
  margin-left: 12px !important;
  margin-right: 12px !important;
}
.cd-popup > .cd-bar {
  width: calc(100% - 24px) !important;
}
.cd-popup > :last-child:not(.cd-head):not(.sixty-body):not(.landlord-body):not(.mixer-body):not(.wk-body):not(.pet-body):not(.furni-buy-body) {
  margin-bottom: 12px !important;
}

/* Keep stage-hosted popups within .stage height */
.stage > .cd-popup,
.stage > .cd-popup.sixty-shop,
.stage > .cd-popup.landlord {
  max-width: calc(100% - 12px) !important;
  max-height: calc(100% - 46px) !important;
}
.stage > .door-popup {
  max-width: calc(100% - 12px) !important;
  max-height: calc(100% - 16px) !important;
}


/* Image 2 Furnish Bar (.fz-tray) & Image 3 Garderobe Game Frame Bounds */
.fz-tray,
.dark-theme .fz-tray {
  margin: 8px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: rgba(28, 28, 30, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5) !important;
  color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* Segmented control bar (Dine ting | Lomme | Kasse) matching Image 2 */
.fz-tray .fz-tabs {
  display: flex !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #007aff !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: rgba(0, 0, 0, 0.25) !important;
  box-sizing: border-box !important;
}

.fz-tray .fz-tabs .tab {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  height: 28px !important;
  padding: 0 8px !important;
  margin: 0 !important;
  border: none !important;
  border-right: 1px solid rgba(0, 122, 255, 0.55) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0a84ff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
}

.fz-tray .fz-tabs .tab:last-child {
  border-right: none !important;
}

.fz-tray .fz-tabs .tab.on {
  background: #007aff !important;
  color: #ffffff !important;
  font-weight: 500 !important;
}

.fz-tray .fz-search-row {
  display: flex !important;
  align-items: center !important;
}

.fz-tray .fz-list {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  padding: 2px 0 !important;
}

/* Clean square icon tiles matching Image 2 */
.fz-tray .fz-cell {
  flex: 0 0 auto !important;
  min-width: 54px !important;
  min-height: 54px !important;
  padding: 4px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  box-sizing: border-box !important;
}

.fz-tray .fz-cell.on {
  outline: none !important;
  border-color: #0a84ff !important;
  box-shadow: 0 0 0 1.5px #0a84ff !important;
  background: rgba(10, 132, 255, 0.14) !important;
}

.fz-tray .fz-pick {
  width: 44px !important;
  height: 44px !important;
  padding: 2px !important;
  border: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.fz-tray .fz-help {
  color: #8e8e93 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 0 2px !important;
  text-shadow: none !important;
}

/* Constrain Garderobe (.wd-overlay / .wd-modal) strictly inside the game frame (Image 3) */
.wd-overlay {
  top: 44px !important;
  height: calc(100dvh - 44px) !important;
  padding: 8px !important;
}
.wd-modal {
  height: min(760px, calc(100% - 16px)) !important;
  max-height: calc(100% - 16px) !important;
}


/* Light & Dark Theme Support for Both Headers (#macTop & #macBar) and Menus (.mmenu) */
/* Light Theme (when .dark-theme is NOT active) */
html:not(.dark-theme) #macTop,
body:not(.dark-theme) #macTop,
html:not(.dark-theme) #macBar,
body:not(.dark-theme) #macBar {
  background: linear-gradient(180deg, #f2f2f6 0%, #dcdce2 100%) !important;
  border-bottom: 1px solid #b5b5bd !important;
  color: #1c1c1e !important;
}

html:not(.dark-theme) #macTop .mi,
body:not(.dark-theme) #macTop .mi,
html:not(.dark-theme) #macTop .mac-clock,
body:not(.dark-theme) #macTop .mac-clock {
  color: #1c1c1e !important;
}

html:not(.dark-theme) #macTop .mi:hover,
body:not(.dark-theme) #macTop .mi:hover,
html:not(.dark-theme) #macTop .mi.on,
body:not(.dark-theme) #macTop .mi.on {
  background: linear-gradient(#4b91f7, #1d62d1) !important;
  color: #ffffff !important;
}

html:not(.dark-theme) #macBar .mac-bar-title,
body:not(.dark-theme) #macBar .mac-bar-title {
  color: #3a3a3c !important;
}

html:not(.dark-theme) .mmenu,
body:not(.dark-theme) .mmenu {
  background: rgba(245, 245, 247, 0.96) !important;
  border: 1px solid rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2) !important;
  color: #1c1c1e !important;
}

html:not(.dark-theme) .mmenu .mi2,
body:not(.dark-theme) .mmenu .mi2 {
  color: #1c1c1e !important;
}

html:not(.dark-theme) .mmenu .mi2:hover,
body:not(.dark-theme) .mmenu .mi2:hover {
  background: linear-gradient(#4b91f7, #1d62d1) !important;
  color: #ffffff !important;
}

html:not(.dark-theme) .mmenu hr,
body:not(.dark-theme) .mmenu hr {
  border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
}

/* Dark Theme (when .dark-theme IS active) */
html.dark-theme #macTop,
body.dark-theme #macTop,
html.dark-theme #macBar,
body.dark-theme #macBar {
  background: linear-gradient(180deg, #323234 0%, #252527 100%) !important;
  border-bottom: 1px solid #141416 !important;
  color: #ffffff !important;
}

html.dark-theme #macTop .mi,
body.dark-theme #macTop .mi,
html.dark-theme #macTop .mac-clock,
body.dark-theme #macTop .mac-clock {
  color: #ffffff !important;
}

html.dark-theme #macTop .mi:hover,
body.dark-theme #macTop .mi:hover,
html.dark-theme #macTop .mi.on,
body.dark-theme #macTop .mi.on {
  background: linear-gradient(#4b91f7, #1d62d1) !important;
  color: #ffffff !important;
}

html.dark-theme #macBar .mac-bar-title,
body.dark-theme #macBar .mac-bar-title {
  color: #c7c7cc !important;
}


/* Polished Drop ting (.drop-win) & OS X Popup Window Format for Garderobe (.wd-modal) */
/* --- Image 1: Drop ting (.drop-win) --- */
.drop-win {
  width: min(320px, calc(100% - 20px)) !important;
  background: #000000 !important;
  color: #ffffff !important;
  padding: 0 0 14px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  box-sizing: border-box !important;
}

.drop-win .drop-title {
  margin-bottom: 2px !important;
}

.drop-win .drop-item {
  margin: 2px 14px 0 !important;
  padding: 10px 12px !important;
  background: #1c1c1e !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.drop-win .drop-item img {
  width: 44px !important;
  height: 44px !important;
  padding: 4px !important;
  border-radius: 9px !important;
  background: #2c2c2e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  object-fit: contain !important;
  image-rendering: pixelated !important;
  flex: none !important;
}

.drop-win .drop-item > div {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

.drop-win .drop-item strong {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  letter-spacing: -0.1px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.drop-win .drop-item .hint {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
  color: #8e8e93 !important;
}

.drop-win .drop-how {
  margin: 0 14px !important;
  padding: 8px 12px !important;
  background: #1c1c1e !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.drop-win .drop-how label {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.drop-win .drop-qty {
  width: 82px !important;
  height: 32px !important;
  padding: 0 8px !important;
  border-radius: 7px !important;
  border: 1px solid #3a3a3c !important;
  background: #2c2c2e !important;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: center !important;
  outline: none !important;
  box-shadow: none !important;
}

.drop-win .drop-qty:focus {
  border-color: #0a84ff !important;
  box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.25) !important;
}

.drop-win > .hint:empty {
  display: none !important;
}

.drop-win > .hint:not(:empty) {
  padding: 0 16px !important;
  font-size: 12.5px !important;
  color: #ff453a !important;
}

.drop-win .drop-buttons {
  padding: 2px 14px 0 !important;
  display: flex !important;
  gap: 8px !important;
  justify-content: stretch !important;
}

.drop-win .drop-buttons .btn {
  flex: 1 1 0 !important;
  height: 38px !important;
  border-radius: 9px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* --- Image 2: Garderobe (.wd-modal) in OS X Dark Popup Bar Format --- */
.wd-overlay {
  background: rgba(0, 0, 0, 0.25) !important;
}

.wd-modal {
  width: min(380px, calc(100% - 16px)) !important;
  height: min(520px, calc(100% - 20px)) !important;
  max-height: calc(100% - 20px) !important;
  background: #000000 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  border: none !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 18px 50px rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden !important;
}

.wd-header,
.wd-header.mac-win-bar {
  flex: none !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  background: linear-gradient(180deg, #3a3a3c 0%, #2c2c2e 100%) !important;
  border-bottom: 1px solid #141416 !important;
  border-radius: 5px 5px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  user-select: none !important;
}

.wd-header .wd-title {
  font-family: "Lucida Grande", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #c7c7cc !important;
  letter-spacing: 0 !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.wd-header .wd-bsd {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #ff453a !important;
  gap: 4px !important;
}

.wd-header .wd-bsd svg {
  width: 9px !important;
  height: 11px !important;
}

.wd-header .wd-close {
  display: none !important;
}

.wd-body {
  background: #000000 !important;
  padding: 10px 12px 12px !important;
  gap: 8px !important;
}

.wd-preview-box {
  background: #1c1c1e !important;
  border-radius: 10px !important;
  padding: 8px 10px 8px !important;
}

.wd-canvas {
  width: 96px !important;
  height: 165px !important;
}

.wd-preview-name {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}

.wd-rotate-row {
  gap: 10px !important;
  margin: 0 !important;
}

.wd-rot-btn {
  width: 30px !important;
  height: 30px !important;
}

.wd-rot-btn svg {
  width: 15px !important;
  height: 15px !important;
}

.wd-sub {
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.wd-gender {
  width: 220px !important;
  height: 28px !important;
  border-radius: 6px !important;
}

.wd-gender-btn {
  font-size: 13px !important;
}

.wd-tabs {
  gap: 5px !important;
}

.wd-tab {
  padding: 4px 10px !important;
  font-size: 12px !important;
}

.wd-swatch {
  width: 26px !important;
  height: 26px !important;
}

.wd-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

.wd-cell {
  height: 74px !important;
  background: #1c1c1e !important;
  border-radius: 9px !important;
  font-size: 12.5px !important;
}

.wd-footer {
  background: #000000 !important;
  border-top: 1px solid #1c1c1e !important;
  padding: 8px 12px 10px !important;
}

.wd-buy-btn {
  height: 38px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
}

/* =========================================================
   Trade window (Bytt med …) – dark OS X layout
   ========================================================= */
.trade-win {
  width: min(100%, 468px) !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}
.trade-body {
  gap: 10px !important;
  padding: 0 0 12px !important;
}
.trade-body > .trade-head { margin-bottom: 2px !important; }
.trade-sec {
  margin: 0 12px !important;
  padding: 10px 12px 12px !important;
  gap: 8px !important;
  background: #1c1c1e !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
}
.trade-win .trade-label {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 22px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  flex-wrap: nowrap !important;
}
.trade-label .ok:empty { display: none !important; }
.trade-label .ok {
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: rgba(48, 209, 88, 0.16) !important;
  color: #30d158 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
/* x1 / x5 / x25 / Alle: one segmented control */
.trade-step {
  gap: 0 !important;
  padding: 2px !important;
  border-radius: 7px !important;
  background: #2c2c2e !important;
}
.trade-step .chip {
  min-width: 38px !important;
  padding: 3px 9px !important;
  border: none !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: #c7c7cc !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
.trade-step .chip.on {
  background: #0a84ff !important;
  color: #ffffff !important;
}
.trade-grid {
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)) !important;
  gap: 6px !important;
}
.trade-grid.small { min-height: 48px !important; }
/* the empty-offer text gets the whole row instead of one narrow cell */
.trade-grid > .hint {
  grid-column: 1 / -1 !important;
  align-self: center !important;
  color: #8e8e93 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}
.trade-grid > .trade-cell + .hint { grid-column: 2 / -1 !important; padding-left: 4px !important; }
.trade-cell {
  padding: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 9px !important;
  background: #2c2c2e !important;
  box-shadow: none !important;
  transition: background 0.12s, border-color 0.12s, transform 0.08s !important;
}
.trade-cell:not(:disabled):not(.empty):hover {
  background: #3a3a3c !important;
  border-color: rgba(10, 132, 255, 0.7) !important;
}
.trade-cell:not(:disabled):not(.empty):active { transform: scale(0.94) !important; }
.trade-cell.empty {
  background: transparent !important;
  border: 1px dashed rgba(255, 255, 255, 0.16) !important;
}
.trade-cell.dim { opacity: 0.35 !important; }
.trade-cell.blood {
  background: rgba(255, 69, 58, 0.16) !important;
  border-color: rgba(255, 69, 58, 0.38) !important;
}
.trade-cell .qty {
  right: 4px !important;
  bottom: 2px !important;
  font-size: 11px !important;
  color: #ffd60a !important;
}
.trade-body > .hint {
  margin: 0 14px !important;
  color: #8e8e93 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
.trade-body > .hint.warn { color: #ff9f0a !important; }
.trade-actions {
  margin: 2px 12px 0 !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}
.trade-actions .btn {
  flex: 1 1 0 !important;
  height: 36px !important;
  padding: 0 12px !important;
  border: none !important;
  border-radius: 8px !important;
  background: #2c2c2e !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
.trade-actions .btn.primary { background: #0a84ff !important; }
.trade-actions .btn.danger { background: rgba(255, 69, 58, 0.16) !important; color: #ff453a !important; }
.trade-actions .btn:disabled { opacity: 0.45 !important; }
.trade-actions .btn:not(:disabled):active { filter: brightness(0.85) !important; }
.trade-actions .hint { flex: 1 1 0 !important; text-align: center !important; color: #8e8e93 !important; font-size: 13px !important; }
/* chat row at the bottom */
.trade-win .tc-box {
  position: sticky !important;
  bottom: 0 !important;
  margin: 0 !important;
  padding: 8px 12px 10px !important;
  background: #000000 !important;
  border-top: 1px solid #1c1c1e !important;
  border-radius: 0 0 6px 6px !important;
}
.trade-win .tc-bar { gap: 8px !important; }
.trade-win .tc-input {
  height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  background: #1c1c1e !important;
  color: #ffffff !important;
  font-size: 14px !important;
}
.trade-win .tc-input::placeholder { color: #8e8e93 !important; }
.trade-win .tc-input:focus { border-color: #0a84ff !important; box-shadow: none !important; }
.trade-win .tc-send {
  height: 34px !important;
  padding: 0 16px !important;
  border: none !important;
  border-radius: 8px !important;
  background: #2c2c2e !important;
  color: #0a84ff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* BSD balance in the window title bar (right side) */
#macBar .mac-bar-bsd {
  position: absolute;
  right: 10px;
  top: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  cursor: default;
}
#macBar .mac-bar-bsd img {
  width: 12px;
  height: 12px;
  flex: none;
  object-fit: contain;
  image-rendering: pixelated;
}
#macBar .mac-bar-bsd .mac-bar-bsd-unit {
  color: #8e8e93;
  font-weight: 500;
}

/* iOS Safari: let taps/long-press on the game reach the game (stab, walk)
   instead of triggering text selection, the magnifier or page panning. */
.room-canvas, .stage {
  touch-action: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Seamless boot: character loader matches the HTML boot splash (no blue flash on refresh) */
.center-screen.loading-boot{background:#000 !important;place-items:center !important}
.center-screen.loading-boot .boot-stack{display:flex;flex-direction:column;align-items:center;gap:24px}
.center-screen.loading-boot .boot-logo{display:flex;flex-direction:column;align-items:center;gap:12px}
.center-screen.loading-boot .boot-logo svg{image-rendering:pixelated}
.center-screen.loading-boot .boot-word{font-weight:700;font-size:20px;letter-spacing:.01em;color:#fff}
.center-screen.loading-boot .boot-spin{width:34px;height:34px;position:relative}
.center-screen.loading-boot .boot-spin i{position:absolute;left:15px;top:0;width:4px;height:10px;border-radius:2px;background:#fff;transform-origin:2px 17px;opacity:.15;animation:boot-sp 1s linear infinite}
.center-screen.loading-boot .loading{color:#fff !important;opacity:.65;font-size:13px;font-weight:600}
@keyframes boot-sp{0%{opacity:1}100%{opacity:.15}}


/* QA Bug & Performance Polish: Scrollbars, Profile Dark Mode, Compact Settings, No Pill Overlap */
/* 1. Hide redundant floating Venner button that overlapped Send / Rom dock / Lagre / Avatar screen */
.friends-toggle {
  display: none !important;
}

/* 2. Sleek macOS-style thin dark scrollbars across all windows, drawers, and panels */
html.dark-theme,
body.dark-theme,
.macfw,
.wd-modal,
.cd-popup,
.stash-win,
.door-popup,
.pw-card,
.sixty-card,
.landlord-card,
.drop-win,
.jb-card,
.wb-card,
.nb-card {
  color-scheme: dark !important;
}

.wd-body::-webkit-scrollbar,
.macfw .mwBody::-webkit-scrollbar,
.sixty-body::-webkit-scrollbar,
.landlord-body::-webkit-scrollbar,
.door-body::-webkit-scrollbar,
.stash-grid::-webkit-scrollbar,
.pw-card::-webkit-scrollbar,
.osrs-body::-webkit-scrollbar,
.chat-log::-webkit-scrollbar,
.cw-log::-webkit-scrollbar,
.fp-list::-webkit-scrollbar,
.wb-list::-webkit-scrollbar,
.nb-body::-webkit-scrollbar,
.jb-body::-webkit-scrollbar,
.fz-list::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}

.wd-body::-webkit-scrollbar-track,
.macfw .mwBody::-webkit-scrollbar-track,
.sixty-body::-webkit-scrollbar-track,
.landlord-body::-webkit-scrollbar-track,
.door-body::-webkit-scrollbar-track,
.stash-grid::-webkit-scrollbar-track,
.pw-card::-webkit-scrollbar-track,
.osrs-body::-webkit-scrollbar-track,
.chat-log::-webkit-scrollbar-track,
.cw-log::-webkit-scrollbar-track,
.fp-list::-webkit-scrollbar-track,
.wb-list::-webkit-scrollbar-track,
.nb-body::-webkit-scrollbar-track,
.jb-body::-webkit-scrollbar-track,
.fz-list::-webkit-scrollbar-track {
  background: transparent !important;
}

.wd-body::-webkit-scrollbar-thumb,
.macfw .mwBody::-webkit-scrollbar-thumb,
.sixty-body::-webkit-scrollbar-thumb,
.landlord-body::-webkit-scrollbar-thumb,
.door-body::-webkit-scrollbar-thumb,
.stash-grid::-webkit-scrollbar-thumb,
.pw-card::-webkit-scrollbar-thumb,
.osrs-body::-webkit-scrollbar-thumb,
.chat-log::-webkit-scrollbar-thumb,
.cw-log::-webkit-scrollbar-thumb,
.fp-list::-webkit-scrollbar-thumb,
.wb-list::-webkit-scrollbar-thumb,
.nb-body::-webkit-scrollbar-thumb,
.jb-body::-webkit-scrollbar-thumb,
.fz-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28) !important;
  border-radius: 3px !important;
}

/* 3. Compact Innstillinger (.macfw) cells so everything fits without overflow and drags vertically */
#mw_set {
  max-height: min(460px, calc(100dvh - 64px)) !important;
}
.fwPad {
  padding: 10px 12px 12px !important;
}
.fwPad .msSec {
  margin: 10px 4px 4px !important;
  font-size: 11.5px !important;
}
.fwPad .msCell {
  min-height: 36px !important;
  font-size: 14px !important;
  padding: 0 12px !important;
}
.msSw {
  transform: scale(0.84) !important;
  transform-origin: right center !important;
}

/* 4. Readable label on light wallpaper tiles (Rosa) in Bakgrunn */
.bgGrid button span,
.bgGrid button {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.75) !important;
  font-weight: 600 !important;
}

/* 5. Profile Modal (.pw-card) in OS X Dark Popup Window Format */
.pw-card {
  width: min(560px, calc(100% - 16px)) !important;
  max-height: min(500px, calc(100dvh - 64px)) !important;
  background: #000000 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  border: none !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 18px 50px rgba(0, 0, 0, 0.72) !important;
  padding: 0 !important;
}
.pw-body {
  background: #000000 !important;
  color: #ffffff !important;
  min-height: 220px !important;
}
.pw-mid {
  min-height: 200px !important;
  margin: 10px 4px !important;
}
.pw-group,
.pw-grow {
  background: #1c1c1e !important;
  border: 1px solid #2c2c2e !important;
  color: #ffffff !important;
}
.pw-btn {
  background: #1c1c1e !important;
  color: #ffffff !important;
  border-top: 0.5px solid #2c2c2e !important;
  min-height: 38px !important;
  font-size: 14.5px !important;
}
.pw-btn:active:not(:disabled) {
  background: #2c2c2e !important;
  color: #ffffff !important;
}
.pw-btn:disabled {
  color: #636366 !important;
}
.pw-btn.primary {
  color: #0a84ff !important;
}
.pw-sec {
  color: #8e8e93 !important;
}
.pw-status-in {
  background: #1c1c1e !important;
  color: #ffffff !important;
  border: 1px solid #3a3a3c !important;
}
.pw-tile {
  background: #1c1c1e !important;
  border: 1px solid #2c2c2e !important;
}
.pw-tile.empty {
  background: rgba(28, 28, 30, 0.6) !important;
  border: 1px dashed #48484a !important;
  color: #636366 !important;
}
.pw-x {
  display: none !important;
}

/* 6. Hide room title & online pills when Innredning (.furnish-ui) is active so they don't peek behind */
.stage:has(.furnish-ui) > .room-title,
.stage:has(.furnish-ui) > .online {
  display: none !important;
}

/* 7. No black boxes on chat log lines */
.chat-log .line {
  background: transparent !important;
  padding: 1px 0 !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 8. Prevent vertical page scrollbar on avatar onboarding (.onb) */
.page:has(.onb) {
  overflow-y: auto !important;
  max-height: calc(100dvh - 44px) !important;
}
.onb {
  min-height: 0 !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}


/* =========================================================
   MOBILE (iOS & ANDROID) QA & UX POLISH
   ========================================================= */

/* 1. Prevent page-level overflow on mobile & desktop */
html, body, #app, .shell {
  max-height: 100dvh !important;
  overflow: hidden !important;
}

/* 2. Expanded touch targets on traffic-light close/minimize buttons (.tl i) */
.tl i {
  position: relative !important;
}
.tl i::before {
  content: "" !important;
  position: absolute !important;
  inset: -8px !important;
}
@media (pointer: coarse), (max-width: 768px) {
  .tl {
    gap: 9px !important;
  }
  .tl i {
    width: 13px !important;
    height: 13px !important;
    font-size: 10px !important;
  }
}

/* 3. Prevent iOS Safari auto-zoom on input focus (font-size >= 16px) */
@media (max-width: 768px), (pointer: coarse) {
  input,
  select,
  textarea,
  .chat-input,
  .cw-input,
  .bs-input,
  .mini-input,
  .stash-search,
  .tshirt-input,
  .pw-status-in,
  .door-search input,
  .fp-add input {
    font-size: 16px !important;
  }
}

/* 4. Restore compact 7-column Inventar, 4-column Emotes, and compact Rom panel on mobile */
@media (max-width: 900px) {
  .room-main {
    display: contents !important;
  }
  .stage {
    order: 1 !important;
    min-height: 190px !important;
  }
  .chat-bar {
    order: 2 !important;
    padding-right: 0 !important;
  }
  .side-host {
    order: 3 !important;
    width: 100% !important;
    max-height: 36vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  .osrs-panel.collapsed .osrs-body {
    display: none !important;
  }
  .osrs-tabs {
    padding: 3px 4px !important;
  }
  .osrs-tab {
    padding: 3px 0 !important;
    height: 28px !important;
  }
  .tab-ico {
    height: 20px !important;
  }
  .osrs-title {
    display: none !important;
  }
  .osrs-body {
    padding: 5px 6px 6px !important;
  }
  .inv-grid {
    grid-template-columns: repeat(7, minmax(0, 38px)) !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 4px !important;
  }
  .inv-foot,
  .drop-foot {
    margin-top: 4px !important;
  }
  .inv-foot .btn,
  .btn.drop-btn {
    min-height: 28px !important;
    padding: 4px 12px !important;
    font-size: 13px !important;
  }
  .emote-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 4px !important;
  }
  .emote-cell {
    padding: 4px 2px !important;
    font-size: 11px !important;
  }
  .emote-icon {
    height: 24px !important;
  }
  .roompanel {
    gap: 6px !important;
    padding: 2px !important;
  }
  .roompanel .rp-sec {
    padding: 8px 10px !important;
    gap: 4px !important;
  }
  .roompanel .rp-chips .chip {
    min-height: 30px !important;
    padding: 4px 6px !important;
    font-size: 12px !important;
  }
  .roompanel input.mini-input,
  .roompanel .rp-sec .row .btn {
    height: 32px !important;
  }
}

/* 5. Mobile Friends & Messenger bottom sheet responsiveness */
@media (max-width: 640px) {
  .friends-toggle {
    display: none !important;
  }
  .messenger {
    left: 0 !important;
    right: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  .friends-col {
    width: 100% !important;
    align-items: stretch !important;
  }
  .friends-panel {
    width: 100% !important;
    max-height: 46vh !important;
    border-radius: 12px 12px 0 0 !important;
    margin-bottom: 0 !important;
  }
  .chat-windows {
    width: 100% !important;
  }
  .chat-window {
    width: 100% !important;
    height: 42vh !important;
    border-radius: 12px 12px 0 0 !important;
  }
  .bgGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }
  .bgGrid button {
    font-size: 11px !important;
  }
}

/* 6. Mobile Profile Modal (.pw-card): show active subview (edit / gift / report) cleanly without avatar overlap */
.pw-mid {
  overflow: hidden !important;
}
@media (max-width: 580px) {
  .pw-card[data-pw-mode="edit"] .pw-body,
  .pw-card[data-pw-mode="gift"] .pw-body,
  .pw-card[data-pw-mode="report"] .pw-body {
    grid-template-columns: 1fr !important;
  }
  .pw-card[data-pw-mode="edit"] .pw-left,
  .pw-card[data-pw-mode="gift"] .pw-left,
  .pw-card[data-pw-mode="report"] .pw-left {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }
  .pw-card[data-pw-mode="edit"] .pw-mid,
  .pw-card[data-pw-mode="gift"] .pw-mid,
  .pw-card[data-pw-mode="report"] .pw-mid,
  .pw-card[data-pw-mode="edit"] .pw-right,
  .pw-card[data-pw-mode="gift"] .pw-right,
  .pw-card[data-pw-mode="report"] .pw-right {
    display: none !important;
  }
}

/* 7. Custom dark scrollbar for .side-host and .page */
.side-host::-webkit-scrollbar,
.page::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}
.side-host::-webkit-scrollbar-track,
.page::-webkit-scrollbar-track {
  background: transparent !important;
}
.side-host::-webkit-scrollbar-thumb,
.page::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28) !important;
  border-radius: 3px !important;
}


/* =========================================================
   SPOTIFY-STYLE iPOD (.ipod-card.sp-card)
   ========================================================= */
.ipod-card.sp-card {
  max-width: 440px !important;
  width: min(440px, 94vw) !important;
  max-height: min(620px, 88dvh) !important;
  background: #121212 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.ipod-card.sp-card .sp-nav {
  background: #121212 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  box-shadow: none !important;
}
.ipod-card.sp-card .sp-title {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  letter-spacing: -0.2px !important;
}
.ipod-card.sp-card .sp-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.ipod-card.sp-card .sp-nav-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}
.ipod-card.sp-card .sp-nav-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
}
.ipod-card.sp-card .sp-body {
  background: linear-gradient(180deg, #1a2e22 0%, #121212 120px, #121212 100%) !important;
  padding: 12px 14px !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.ipod-card.sp-card .sp-tiles {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}
.ipod-card.sp-card .sp-tile {
  margin: 0 !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  gap: 10px !important;
  transition: background 0.15s ease !important;
}
.ipod-card.sp-card .sp-tile:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}
.ipod-card.sp-card .sp-tile-ico {
  width: 36px !important;
  height: 36px !important;
  border-radius: 6px !important;
  background: #1db954 !important;
  color: #121212 !important;
}
.ipod-card.sp-card .sp-tile.bs .sp-tile-ico {
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  color: #ffffff !important;
}
.ipod-card.sp-card .sp-tile-ico svg {
  width: 20px !important;
  height: 20px !important;
}
.ipod-card.sp-card .sp-tile-txt b {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.ipod-card.sp-card .sp-tile-txt small {
  font-size: 10.5px !important;
  color: #b3b3b3 !important;
  opacity: 1 !important;
}
.ipod-card.sp-card .sp-search-wrap {
  width: 100% !important;
}
.ipod-card.sp-card .sp-search {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #242424 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  outline: none !important;
}
.ipod-card.sp-card .sp-search:focus {
  border-color: #1db954 !important;
  background: #2a2a2a !important;
}
.ipod-card.sp-card .sp-search::placeholder {
  color: #8e8e93 !important;
}
.ipod-card.sp-card .sp-sec-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 2px 2px 0 !important;
}
.ipod-card.sp-card .sp-count {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #b3b3b3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.ipod-card.sp-card .sp-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
.ipod-card.sp-card .sp-empty {
  text-align: center !important;
  color: #b3b3b3 !important;
  font-size: 13px !important;
  padding: 20px 0 !important;
}
.ipod-card.sp-card .sp-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 7px 8px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background 0.14s ease !important;
}
.ipod-card.sp-card .sp-row:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
.ipod-card.sp-card .sp-row.active {
  background: rgba(29, 185, 84, 0.14) !important;
}
.ipod-card.sp-card .sp-num {
  width: 20px !important;
  text-align: center !important;
  font-size: 12px !important;
  color: #b3b3b3 !important;
  font-variant-numeric: tabular-nums !important;
  flex: none !important;
}
.ipod-card.sp-card .sp-art {
  width: 38px !important;
  height: 38px !important;
  border-radius: 6px !important;
  display: grid !important;
  place-items: center !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  flex: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}
.ipod-card.sp-card .sp-art.sm {
  width: 34px !important;
  height: 34px !important;
  font-size: 15px !important;
}
.ipod-card.sp-card .sp-meta {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.ipod-card.sp-card .sp-track {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ipod-card.sp-card .sp-row.active .sp-track {
  color: #1db954 !important;
}
.ipod-card.sp-card .sp-artist {
  font-size: 11.5px !important;
  color: #b3b3b3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ipod-card.sp-card .sp-play-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #1db954 !important;
  color: #000000 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  flex: none !important;
  transition: transform 0.12s ease, background 0.12s ease !important;
}
.ipod-card.sp-card .sp-play-btn:hover {
  transform: scale(1.07) !important;
  background: #1ed760 !important;
}
.ipod-card.sp-card .sp-eq {
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: 2px !important;
  height: 13px !important;
}
.ipod-card.sp-card .sp-eq i {
  display: block !important;
  width: 3px !important;
  background: #1db954 !important;
  border-radius: 1px !important;
  animation: sp-eq-bounce 0.7s ease-in-out infinite alternate !important;
}
.ipod-card.sp-card .sp-eq i:nth-child(1) { height: 6px !important; animation-delay: 0s !important; }
.ipod-card.sp-card .sp-eq i:nth-child(2) { height: 12px !important; animation-delay: 0.2s !important; }
.ipod-card.sp-card .sp-eq i:nth-child(3) { height: 8px !important; animation-delay: 0.4s !important; }
@keyframes sp-eq-bounce {
  0% { transform: scaleY(0.35); }
  100% { transform: scaleY(1); }
}
.ipod-card.sp-card .sp-player {
  background: #181818 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 10px 14px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex: none !important;
}
.ipod-card.sp-card .sp-player.idle {
  padding: 10px 14px !important;
}
.ipod-card.sp-card .sp-idle-txt {
  text-align: center !important;
  font-size: 12px !important;
  color: #b3b3b3 !important;
}
.ipod-card.sp-card .sp-now-top {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.ipod-card.sp-card .sp-now-meta {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.ipod-card.sp-card .sp-now-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ipod-card.sp-card .sp-now-artist {
  font-size: 11px !important;
  color: #b3b3b3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ipod-card.sp-card .sp-ctrls {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex: none !important;
}
.ipod-card.sp-card .sp-ctrl {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: none !important;
  background: transparent !important;
  color: #b3b3b3 !important;
  font-size: 13px !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  transition: color 0.12s ease, transform 0.12s ease !important;
}
.ipod-card.sp-card .sp-ctrl:hover {
  color: #ffffff !important;
}
.ipod-card.sp-card .sp-ctrl.main {
  width: 34px !important;
  height: 34px !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.ipod-card.sp-card .sp-ctrl.main:hover {
  transform: scale(1.06) !important;
  background: #1db954 !important;
}
.ipod-card.sp-card .sp-now-bot {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.ipod-card.sp-card .sp-time {
  font-size: 10.5px !important;
  color: #b3b3b3 !important;
  font-variant-numeric: tabular-nums !important;
  min-width: 28px !important;
}
.ipod-card.sp-card .sp-prog-track {
  flex: 1 1 auto !important;
  height: 5px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  overflow: hidden !important;
}
.ipod-card.sp-card .sp-prog-fill {
  height: 100% !important;
  background: #1db954 !important;
  border-radius: 999px !important;
  transition: width 0.25s linear !important;
}
.ipod-card.sp-card .sp-vol-ico {
  font-size: 13px !important;
  cursor: pointer !important;
  user-select: none !important;
}
.ipod-card.sp-card .sp-vol-range {
  width: 62px !important;
  accent-color: #1db954 !important;
  cursor: pointer !important;
}

/* macOS window polish for Spotify iPod */
.ipod-card.sp-card {
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color-scheme: dark !important;
}
.ipod-card.sp-card .sp-nav {
  background: linear-gradient(180deg, #2c2c2e 0%, #1c1c1e 100%) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.65) !important;
  padding: 8px 12px !important;
  min-height: 36px !important;
  display: grid !important;
  grid-template-columns: 64px 1fr 64px !important;
  align-items: center !important;
}
.ipod-card.sp-card .sp-tl {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}
.ipod-card.sp-card .sp-tl i {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  display: inline-block !important;
  cursor: pointer !important;
}
.ipod-card.sp-card .sp-tl i.r { background: #ff5f56 !important; border: 0.5px solid #e0443e !important; }
.ipod-card.sp-card .sp-tl i.y { background: #ffbd2e !important; border: 0.5px solid #dea123 !important; }
.ipod-card.sp-card .sp-tl i.g { background: #27c93f !important; border: 0.5px solid #1aab29 !important; }
.ipod-card.sp-card .sp-title {
  justify-self: center !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #e5e5ea !important;
}
.ipod-card.sp-card .sp-nav-spacer {
  width: 64px !important;
}
.ipod-card.sp-card .sp-nav-btn {
  justify-self: end !important;
  padding: 4px 10px !important;
  font-size: 11.5px !important;
}
.ipod-card.sp-card .sp-tile {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  width: 100% !important;
  height: auto !important;
  inset: auto !important;
}
.ipod-card.sp-card .sp-tile.sp-tile-bs .sp-tile-ico {
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  color: #ffffff !important;
}
.ipod-card.sp-card .sp-body::-webkit-scrollbar {
  width: 6px !important;
}
.ipod-card.sp-card .sp-body::-webkit-scrollbar-track {
  background: transparent !important;
}
.ipod-card.sp-card .sp-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25) !important;
  border-radius: 3px !important;
}


/* =========================================================
   SMARTPHONE APP (.ph-card)
   ========================================================= */
.ph-card .ph-body {
  background: linear-gradient(180deg, #1c1c22 0%, #121214 140px, #121214 100%) !important;
  gap: 12px !important;
}
.ph-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  padding: 6px 0 !important;
}
.ph-app-tile {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 14px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  color: #ffffff !important;
  transition: transform 0.12s ease, background 0.15s ease !important;
}
.ph-app-tile:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  transform: translateY(-2px) !important;
}
.ph-app-ico {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 24px !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45) !important;
}
.ph-app-name {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.ph-app-sub {
  font-size: 11px !important;
  color: #b3b3b3 !important;
  line-height: 1.25 !important;
}
.ph-sec {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
}
.ph-sec-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 6px !important;
}
.ph-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.ph-add-row {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}
.ph-inp {
  flex: 1 1 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #242426 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  font-size: 13px !important;
  outline: none !important;
}
.ph-inp:focus {
  border-color: #0a84ff !important;
}
.ph-btn {
  background: #2c2c2e !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.ph-btn:hover:not(:disabled) {
  filter: brightness(1.12) !important;
}
.ph-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}
.ph-btn.sm {
  padding: 5px 9px !important;
  font-size: 11.5px !important;
}
.ph-btn.primary {
  background: #0a84ff !important;
  border-color: #0a84ff !important;
}
.ph-btn.danger {
  background: #dc2626 !important;
  border-color: #ef4444 !important;
}
.ph-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.ph-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 9px !important;
  padding: 8px 10px !important;
}
.ph-row-l {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.ph-row-r {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex: none !important;
}
.ph-row-meta {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
.ph-row-meta b {
  font-size: 13px !important;
  color: #ffffff !important;
}
.ph-row-meta small {
  font-size: 11px !important;
  color: #b3b3b3 !important;
}
.ph-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  flex: none !important;
}
.ph-dot.on { background: #30d158 !important; }
.ph-dot.off { background: #636366 !important; }
.ph-dm-log {
  flex: 1 1 auto !important;
  min-height: 200px !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 8px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border-radius: 10px !important;
}
.ph-dm-msg {
  align-self: flex-start !important;
  background: #2c2c2e !important;
  color: #ffffff !important;
  padding: 6px 10px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  max-width: 82% !important;
  word-break: break-word !important;
}
.ph-dm-msg.me {
  align-self: flex-end !important;
  background: #0a84ff !important;
}
.ph-bounty-amt {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ff6961 !important;
  white-space: nowrap !important;
}
.ph-sc-wrap {
  min-height: 220px !important;
}


/* =========================================================
   LIGHT THEME: ALL POPUP WINDOWS + DARK BSD COUNTER
   ========================================================= */
body:not(.dark-theme) #macBar .mac-bar-bsd,
html:not(.dark-theme) #macBar .mac-bar-bsd {
  color: #1c1c1e !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}
body:not(.dark-theme) #macBar .mac-bar-bsd .mac-bar-bsd-unit,
html:not(.dark-theme) #macBar .mac-bar-bsd .mac-bar-bsd-unit {
  color: #48484a !important;
}

/* Light macOS windows */
body:not(.dark-theme) .cd-popup,
body:not(.dark-theme) .stash-win,
body:not(.dark-theme) .sixty-shop,
body:not(.dark-theme) .landlord,
body:not(.dark-theme) .door-popup,
body:not(.dark-theme) .pw-card,
body:not(.dark-theme) .macfw,
body:not(.dark-theme) .trade-win,
body:not(.dark-theme) .wd-modal,
body:not(.dark-theme) .drop-win,
body:not(.dark-theme) .jb-card,
body:not(.dark-theme) .wb-card,
body:not(.dark-theme) .nb-card,
body:not(.dark-theme) .wk-menu,
body:not(.dark-theme) .ipod-card.sp-card,
body:not(.dark-theme) .ph-card {
  background: #f5f5f7 !important;
  color: #1c1c1e !important;
  border: 1px solid rgba(0, 0, 0, 0.18) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.6) inset !important;
  color-scheme: light !important;
}

/* Light macOS title bars */
body:not(.dark-theme) .cd-head,
body:not(.dark-theme) .stash-head,
body:not(.dark-theme) .trade-head,
body:not(.dark-theme) .door-head,
body:not(.dark-theme) .macfw .mwHead,
body:not(.dark-theme) .ipod-card.sp-card .sp-nav,
body:not(.dark-theme) .ph-card .sp-nav {
  background: linear-gradient(180deg, #ececef 0%, #dcdce1 100%) !important;
  color: #1c1c1e !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14) !important;
}
body:not(.dark-theme) .cd-head strong,
body:not(.dark-theme) .stash-head strong,
body:not(.dark-theme) .trade-head strong,
body:not(.dark-theme) .door-head strong,
body:not(.dark-theme) .macfw .mwHead,
body:not(.dark-theme) .ipod-card.sp-card .sp-title,
body:not(.dark-theme) .ph-card .sp-title {
  color: #1c1c1e !important;
}

/* Window bodies & inner containers */
body:not(.dark-theme) .pw-body,
body:not(.dark-theme) .macfw .mwBody,
body:not(.dark-theme) .sixty-body,
body:not(.dark-theme) .landlord-body,
body:not(.dark-theme) .trade-body,
body:not(.dark-theme) .wd-footer,
body:not(.dark-theme) .trade-win .tc-box,
body:not(.dark-theme) .ipod-card.sp-card .sp-body,
body:not(.dark-theme) .ph-card .ph-body {
  background: #f5f5f7 !important;
  color: #1c1c1e !important;
}

/* Cards, rows, columns, tiles inside light windows */
body:not(.dark-theme) .stash-col,
body:not(.dark-theme) .sixty-row,
body:not(.dark-theme) .pw-group,
body:not(.dark-theme) .pw-grow,
body:not(.dark-theme) .pw-btn,
body:not(.dark-theme) .pw-tile,
body:not(.dark-theme) .trade-sec,
body:not(.dark-theme) .trade-cell,
body:not(.dark-theme) .wd-cell,
body:not(.dark-theme) .msCell,
body:not(.dark-theme) .ph-sec,
body:not(.dark-theme) .ph-row,
body:not(.dark-theme) .ph-app-tile,
body:not(.dark-theme) .sp-tile,
body:not(.dark-theme) .sp-row,
body:not(.dark-theme) .sp-player {
  background: #ffffff !important;
  color: #1c1c1e !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}
body:not(.dark-theme) .sp-row:hover,
body:not(.dark-theme) .sp-tile:hover,
body:not(.dark-theme) .ph-app-tile:hover,
body:not(.dark-theme) .trade-cell:not(:disabled):not(.empty):hover,
body:not(.dark-theme) .pw-btn:active:not(:disabled) {
  background: #ebebf0 !important;
}
body:not(.dark-theme) .sp-row.active {
  background: rgba(29, 185, 84, 0.14) !important;
}
body:not(.dark-theme) .trade-step,
body:not(.dark-theme) .stash-step {
  background: #e5e5ea !important;
}
body:not(.dark-theme) .trade-step .chip,
body:not(.dark-theme) .stash-step .chip {
  color: #3a3a3c !important;
}
body:not(.dark-theme) .trade-step .chip.on,
body:not(.dark-theme) .stash-step .chip.on {
  background: #007aff !important;
  color: #ffffff !important;
}
body:not(.dark-theme) .pw-tile.empty,
body:not(.dark-theme) .trade-cell.empty {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.18) !important;
  color: #8e8e93 !important;
}

/* Text colors inside light windows */
body:not(.dark-theme) .sixty-name,
body:not(.dark-theme) .ll-name,
body:not(.dark-theme) .ll-part,
body:not(.dark-theme) .sp-track,
body:not(.dark-theme) .sp-now-title,
body:not(.dark-theme) .sp-sec-head,
body:not(.dark-theme) .sp-tile-txt b,
body:not(.dark-theme) .ph-app-name,
body:not(.dark-theme) .ph-sec-title,
body:not(.dark-theme) .ph-row-meta b,
body:not(.dark-theme) .stash-cell-name,
body:not(.dark-theme) .stash-col-title {
  color: #1c1c1e !important;
}
body:not(.dark-theme) .ll-label,
body:not(.dark-theme) .stash-col h4,
body:not(.dark-theme) .stash-col-head strong,
body:not(.dark-theme) .stash-col-head b {
  color: #b45309 !important;
}
body:not(.dark-theme) .hint,
body:not(.dark-theme) .muted,
body:not(.dark-theme) .sp-artist,
body:not(.dark-theme) .sp-now-artist,
body:not(.dark-theme) .sp-num,
body:not(.dark-theme) .sp-time,
body:not(.dark-theme) .sp-count,
body:not(.dark-theme) .sp-idle-txt,
body:not(.dark-theme) .sp-tile-txt small,
body:not(.dark-theme) .ph-app-sub,
body:not(.dark-theme) .ph-row-meta small,
body:not(.dark-theme) .pw-sec {
  color: #636366 !important;
}

/* Inputs inside light windows */
body:not(.dark-theme) .stash-search,
body:not(.dark-theme) .ph-inp,
body:not(.dark-theme) .sp-search,
body:not(.dark-theme) .trade-win .tc-input,
body:not(.dark-theme) .pw-status-in,
body:not(.dark-theme) .cd-popup input,
body:not(.dark-theme) .door-popup input {
  background: #ffffff !important;
  color: #1c1c1e !important;
  border: 1px solid rgba(0, 0, 0, 0.18) !important;
}

/* Buttons inside light windows */
body:not(.dark-theme) .cd-popup .btn:not(.primary):not(.danger),
body:not(.dark-theme) .stash-win .btn:not(.primary):not(.danger),
body:not(.dark-theme) .trade-actions .btn:not(.primary):not(.danger),
body:not(.dark-theme) .ph-btn:not(.primary):not(.danger),
body:not(.dark-theme) .ipod-card.sp-card .sp-nav-btn,
body:not(.dark-theme) .ph-card .sp-nav-btn {
  background: #e5e5ea !important;
  color: #1c1c1e !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}
body:not(.dark-theme) .cd-popup .btn:disabled,
body:not(.dark-theme) .ll-row .btn.small:disabled {
  background: rgba(0, 0, 0, 0.06) !important;
  color: rgba(0, 0, 0, 0.35) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}
body:not(.dark-theme) .ipod-card.sp-card .sp-ctrl {
  color: #3a3a3c !important;
}
body:not(.dark-theme) .ipod-card.sp-card .sp-ctrl.main {
  background: #1c1c1e !important;
  color: #ffffff !important;
}
body:not(.dark-theme) .ipod-card.sp-card .sp-prog-track {
  background: rgba(0, 0, 0, 0.15) !important;
}
body:not(.dark-theme) .ph-dm-log {
  background: #ebebf0 !important;
}
body:not(.dark-theme) .ph-dm-msg:not(.me) {
  background: #ffffff !important;
  color: #1c1c1e !important;
}

/* Light scrollbars */
body:not(.dark-theme) .sp-body::-webkit-scrollbar-thumb,
body:not(.dark-theme) .stash-grid::-webkit-scrollbar-thumb,
body:not(.dark-theme) .sixty-body::-webkit-scrollbar-thumb,
body:not(.dark-theme) .landlord-body::-webkit-scrollbar-thumb,
body:not(.dark-theme) .macfw .mwBody::-webkit-scrollbar-thumb,
body:not(.dark-theme) .pw-card::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.24) !important;
}


/* =========================================================
   iPHONE HARDWARE + iOS 7 LOOK (.ip7-device)
   ========================================================= */
.ip7-device {
  width: min(326px, 92vw) !important;
  height: min(620px, 88dvh) !important;
  background: linear-gradient(180deg, #1b1b1e 0%, #0d0d0f 100%) !important;
  border-radius: 42px !important;
  border: 3.5px solid #0a0a0c !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  position: relative !important;
  user-select: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.ip7-top-bezel {
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  position: relative !important;
  flex: none !important;
}
.ip7-cam {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 35% 35%, #3a4f7a, #0a0a0d 70%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}
.ip7-speaker {
  width: 48px !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: #2c2c2e !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}
.ip7-close-x {
  position: absolute !important;
  right: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 12px !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
}
.ip7-close-x:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
}
.ip7-screen {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
}
.ip7-screen.is-home {
  background: var(--ip7-wp, #1c325c url(./ios7-wallpaper.jpg) center center / cover no-repeat) !important;
  background-size: cover !important;
  background-position: center center !important;
}
.ip7-screen.is-app {
  background: #efeff4 !important;
  color: #000000 !important;
}
.ip7-status {
  height: 22px !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  flex: none !important;
}
.ip7-screen.is-home .ip7-status {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
}
.ip7-screen.is-app .ip7-status {
  background: #f7f7f7 !important;
  color: #000000 !important;
}
.ip7-sig {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
}
.ip7-sig i {
  width: 4.5px !important;
  height: 4.5px !important;
  border-radius: 50% !important;
  border: 1px solid currentColor !important;
  display: inline-block !important;
}
.ip7-sig i.on {
  background: currentColor !important;
}
.ip7-sig span {
  margin-left: 4px !important;
}
.ip7-bat {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}
.ip7-bat-ico {
  width: 18px !important;
  height: 9px !important;
  border: 1px solid currentColor !important;
  border-radius: 2px !important;
  padding: 1px !important;
  display: inline-flex !important;
  box-sizing: border-box !important;
}
.ip7-bat-ico i {
  width: 100% !important;
  height: 100% !important;
  background: currentColor !important;
  border-radius: 1px !important;
}
.ip7-appnav {
  height: 38px !important;
  padding: 0 8px !important;
  background: #f7f7f7 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14) !important;
  display: grid !important;
  grid-template-columns: 74px 1fr 74px !important;
  align-items: center !important;
  flex: none !important;
}
.ip7-back {
  background: transparent !important;
  border: none !important;
  color: #007aff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: left !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.ip7-app-title {
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #000000 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ip7-screen-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
}
.ip7-screen.is-home .ip7-screen-body {
  justify-content: space-between !important;
  padding: 16px 10px 0 !important;
  overflow: hidden !important;
}
.ip7-screen.is-app .ip7-screen-body {
  padding: 10px !important;
  gap: 8px !important;
  user-select: text !important;
}
.ip7-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px 6px !important;
  align-content: start !important;
}
.ip7-icon-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  transition: transform 0.12s ease !important;
}
.ip7-icon-btn:active {
  transform: scale(0.9) !important;
}
.ip7-squircle {
  width: 50px !important;
  height: 50px !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35) !important;
}
.ip7-icon-lbl {
  font-size: 10.5px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 64px !important;
}
.ip7-dots {
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
  margin-top: auto !important;
  padding-bottom: 8px !important;
}
.ip7-dots span {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.35) !important;
}
.ip7-dots span.on {
  background: #ffffff !important;
}
.ip7-dock {
  margin: 0 -10px !important;
  padding: 9px 10px 8px !important;
  background: rgba(24, 24, 28, 0.90) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px !important;
}
.ip7-bot-bezel {
  height: 60px !important;
  display: grid !important;
  place-items: center !important;
  flex: none !important;
}
.ip7-home-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1.5px solid #3a3a3c !important;
  background: radial-gradient(circle at 50% 60%, #1c1c1e, #09090b) !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  transition: transform 0.1s ease !important;
}
.ip7-home-btn:active {
  transform: scale(0.94) !important;
}
.ip7-home-sq {
  width: 14px !important;
  height: 14px !important;
  border-radius: 3.5px !important;
  border: 1.5px solid #8e8e93 !important;
}

/* iOS 7 in-app controls */
.ip7-card-box {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 10px !important;
  padding: 10px !important;
}
.ip7-sec-lbl {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #6d6d72 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  margin-bottom: 6px !important;
}
.ip7-hint {
  font-size: 11.5px !important;
  color: #6d6d72 !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}
.ip7-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}
.ip7-add-row {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}
.ip7-inp {
  flex: 1 1 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #c7c7cc !important;
  border-radius: 8px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  outline: none !important;
}
.ip7-inp:focus {
  border-color: #007aff !important;
}
.ip7-btn {
  background: #e5e5ea !important;
  color: #007aff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.ip7-btn.sm {
  padding: 5px 9px !important;
  font-size: 12px !important;
}
.ip7-btn.primary {
  background: #007aff !important;
  color: #ffffff !important;
}
.ip7-btn.danger {
  background: #ff3b30 !important;
  color: #ffffff !important;
}
.ip7-btn:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}
.ip7-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  background: rgba(0, 0, 0, 0.1) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.ip7-row {
  background: #ffffff !important;
  padding: 8px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
.ip7-row-l, .ip7-row-r {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.ip7-row-meta {
  display: flex !important;
  flex-direction: column !important;
}
.ip7-row-meta b {
  font-size: 13px !important;
  color: #000000 !important;
}
.ip7-row-meta small {
  font-size: 11px !important;
  color: #8e8e93 !important;
}
.ip7-empty {
  text-align: center !important;
  padding: 20px 10px !important;
  font-size: 12.5px !important;
  color: #8e8e93 !important;
  background: #ffffff !important;
}
.ip7-dm-log {
  flex: 1 1 auto !important;
  min-height: 220px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 8px !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.ip7-dm-msg {
  align-self: flex-start !important;
  background: #e5e5ea !important;
  color: #000000 !important;
  padding: 7px 11px !important;
  border-radius: 16px !important;
  font-size: 13px !important;
  max-width: 82% !important;
  word-break: break-word !important;
}
.ip7-dm-msg.me {
  align-self: flex-end !important;
  background: #007aff !important;
  color: #ffffff !important;
}
.ip7-sc-wrap {
  min-height: 220px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}


/* =========================================================
   iPHONE 16 CLASSIC APPS STYLING
   ========================================================= */
.ip7-squircle.ip7-img-ico {
  overflow: hidden !important;
  background: transparent !important;
  padding: 0 !important;
}
.ip7-squircle.ip7-img-ico img {
  width: 106% !important;
  height: 106% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 12px !important;
}
.ip7-dock.ip7-dock-3 {
  grid-template-columns: repeat(3, 1fr) !important;
  padding: 9px 22px 8px !important;
}
.ip7-cal-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
  color: #000000 !important;
}
.ip7-cal-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 4px !important;
  text-align: center !important;
}
.ip7-cal-wd {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #8e8e93 !important;
  padding-bottom: 4px !important;
}
.ip7-cal-d {
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 12.5px !important;
  color: #000000 !important;
  border-radius: 50% !important;
}
.ip7-cal-d.today {
  background: #ff3b30 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}
.ip7-photo-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 4px !important;
}
.ip7-photo-thumb {
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  background: #000 !important;
}
.ip7-photo-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.ip7-shutter {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  border: 4px solid #007aff !important;
  background: #ffffff !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
.ip7-shutter:active {
  transform: scale(0.92) !important;
  background: #e5e5ea !important;
}
.ip7-chg {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
  color: #ffffff !important;
}
.ip7-chg.up { background: #34c759 !important; }
.ip7-chg.dn { background: #ff3b30 !important; }
.ip7-weather-card {
  background: linear-gradient(180deg, #3b82f6 0%, #60a5fa 60%, #93c5fd 100%) !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  padding: 20px 14px !important;
  text-align: center !important;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3) !important;
}
.ip7-w-city { font-size: 16px !important; font-weight: 600 !important; }
.ip7-w-ico { font-size: 46px !important; margin: 8px 0 !important; }
.ip7-w-temp { font-size: 44px !important; font-weight: 200 !important; line-height: 1 !important; }
.ip7-w-cond { font-size: 13px !important; opacity: 0.9 !important; margin-top: 4px !important; }
.ip7-w-days {
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  font-size: 12.5px !important;
}
.ip7-w-days > div {
  display: flex !important;
  justify-content: space-between !important;
}
.ip7-note-ta {
  flex: 1 1 auto !important;
  min-height: 280px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #fffbeb !important;
  color: #1c1c1e !important;
  border: 1px solid #fde68a !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  resize: none !important;
  outline: none !important;
}
.ip7-calc {
  background: #1c1c1e !important;
  border-radius: 12px !important;
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.ip7-calc-disp {
  color: #ffffff !important;
  font-size: 36px !important;
  font-weight: 300 !important;
  text-align: right !important;
  padding: 8px 6px 4px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.ip7-calc-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 7px !important;
}
.ip7-ck {
  height: 46px !important;
  border-radius: 50% !important;
  border: none !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}
.ip7-ck.n { background: #333333 !important; color: #ffffff !important; }
.ip7-ck.fn { background: #a5a5a5 !important; color: #000000 !important; }
.ip7-ck.op { background: #ff9f0a !important; color: #ffffff !important; }
.ip7-ck.wide { grid-column: span 2 !important; border-radius: 999px !important; }
.ip7-ck:active { filter: brightness(1.25) !important; }


/* =========================================================
   WALLET (BSD BANK CARD), VIPPS & MOBILEPAY STYLING
   ========================================================= */
.bsd-card {
  background: radial-gradient(circle at 20% 20%, #a31621 0%, #5c0a12 58%, #260408 100%) !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  position: relative !important;
  overflow: hidden !important;
}
.bsd-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.bsd-bank-brand {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}
.bsd-drop {
  filter: brightness(0) invert(1) !important;
  font-size: 12px !important;
}
.bsd-bank-sub {
  font-size: 10px !important;
  letter-spacing: 1.4px !important;
  opacity: 0.78 !important;
  font-weight: 600 !important;
}
.bsd-card-mid {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 2px 0 !important;
}
.bsd-chip {
  width: 34px !important;
  height: 24px !important;
  border-radius: 5px !important;
  background: linear-gradient(135deg, #f6e27a 0%, #d4af37 55%, #b8860b 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2) !important;
}
.bsd-ava {
  width: 44px !important;
  height: 44px !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
}
.bsd-ava canvas, .bsd-ava img {
  width: 44px !important;
  height: 44px !important;
  object-fit: cover !important;
  image-rendering: pixelated !important;
}
.bsd-card-num {
  font-family: "SF Mono", Menlo, Consolas, monospace !important;
  font-size: 13.5px !important;
  letter-spacing: 1.5px !important;
  color: rgba(255, 255, 255, 0.94) !important;
}
.bsd-card-bot {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  margin-top: 2px !important;
}
.bsd-lbl {
  font-size: 8.5px !important;
  letter-spacing: 1px !important;
  opacity: 0.7 !important;
  font-weight: 600 !important;
}
.bsd-val {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
}
.vipps-banner {
  background: linear-gradient(135deg, #ff5b24, #e04610) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.mpay-banner {
  background: linear-gradient(135deg, #005aff, #003cb3) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.ip7-btn.vipps-btn {
  background: #ff5b24 !important;
  color: #ffffff !important;
}
.ip7-btn.mpay-btn {
  background: #005aff !important;
  color: #ffffff !important;
}
.ip7-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}
.ip7-chip {
  background: #ebebf0 !important;
  color: #1c1c1e !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
.ip7-chip:hover {
  background: #d1d1d6 !important;
}

/* Hide white appnav bar on iPhone home screen */
.ip7-screen.is-home .ip7-appnav {
  display: none !important;
}

.ip7-wp-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px !important;
  margin-top: 4px !important;
}
.ip7-wp-swatch {
  height: 44px !important;
  border-radius: 8px !important;
  border: 2px solid rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  padding: 2px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
}
.ip7-wp-swatch.active {
  border-color: #007aff !important;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.35) !important;
}
.ip7-wp-swatch span {
  font-size: 9px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85) !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

.ip7-slot {
  min-height: 68px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  transition: background 0.12s ease, outline 0.12s ease !important;
}
.ip7-slot.drag-over {
  background: rgba(255, 255, 255, 0.22) !important;
  outline: 1.5px dashed rgba(255, 255, 255, 0.75) !important;
}
.ip7-app.dragging {
  opacity: 0.45 !important;
  transform: scale(0.94) !important;
}


/* =========================================================
   iPOD HITLISTEN UPVOTE / DOWNVOTE CONTROLS
   ========================================================= */
.sp-vote-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 999px !important;
  padding: 2px 5px !important;
  flex: none !important;
}
.sp-vote-btn {
  background: transparent !important;
  border: none !important;
  color: #8e8e93 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  padding: 3px 4px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: color 0.12s ease, background 0.12s ease, transform 0.1s ease !important;
}
.sp-vote-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}
.sp-vote-btn.up.on {
  color: #1db954 !important;
  background: rgba(29, 185, 84, 0.18) !important;
}
.sp-vote-btn.down.on {
  color: #ff453a !important;
  background: rgba(255, 69, 58, 0.18) !important;
}
.sp-vote-score {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #d1d5db !important;
  min-width: 16px !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
}
.sp-vote-score.pos {
  color: #1db954 !important;
}
.sp-vote-score.neg {
  color: #ff453a !important;
}

/* =========================================================
   MODERN DARK SOUNDCLOUD UI (.sc)
   ========================================================= */
.sc {
  background: #121212 !important;
  color: #f5f5f7 !important;
  border: none !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.sc-nav {
  background: linear-gradient(180deg, #1f1f22 0%, #161618 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 10px 12px !important;
}
.sc-nav-title {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  letter-spacing: -0.2px !important;
}
.sc-segbar {
  background: #161618 !important;
  padding: 8px 12px 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}
.sc-seg {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  background: #242428 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  padding: 3px !important;
  gap: 3px !important;
  box-shadow: none !important;
}
.sc-seg-btn {
  background: transparent !important;
  border: none !important;
  border-radius: 999px !important;
  color: #a1a1aa !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 7px 10px !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.sc-seg-btn:hover {
  color: #ffffff !important;
}
.sc-seg-btn.on {
  background: #ff5500 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(255, 85, 0, 0.35) !important;
}
.sc-scroll, .sc-body {
  background: #121212 !important;
  color: #f5f5f7 !important;
}
.sc-section {
  background: transparent !important;
  border: none !important;
  color: #a1a1aa !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.7px !important;
  padding: 12px 14px 4px !important;
  text-shadow: none !important;
}
.sc-note {
  background: transparent !important;
  border: none !important;
  color: #9ca3af !important;
  font-size: 12px !important;
  padding: 2px 14px 10px !important;
}
.sc-panel {
  background: transparent !important;
  border: none !important;
  padding: 4px 12px 10px !important;
}
.sc-actions {
  display: flex !important;
  gap: 8px !important;
}
.sc-btn {
  background: #26262a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transition: background 0.14s ease, transform 0.1s ease !important;
}
.sc-btn:hover:not(:disabled) {
  background: #323238 !important;
}
.sc-btn:disabled {
  opacity: 0.45 !important;
}
.sc-btn.blue {
  background: #ff5500 !important;
  border-color: #ff5500 !important;
  color: #ffffff !important;
}
.sc-btn.blue:hover:not(:disabled) {
  background: #ff6a1f !important;
}
.sc-btn.green {
  background: #1db954 !important;
  border-color: #1db954 !important;
  color: #121212 !important;
}
.sc-btn.danger {
  background: rgba(255, 69, 58, 0.18) !important;
  border-color: rgba(255, 69, 58, 0.35) !important;
  color: #ff6961 !important;
}
.sc-list {
  background: transparent !important;
  border: none !important;
  padding: 0 10px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.sc-row {
  background: #1c1c20 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  color: #ffffff !important;
}
.sc-row.playing {
  background: rgba(255, 85, 0, 0.14) !important;
  border-color: rgba(255, 85, 0, 0.4) !important;
}
.sc-title {
  color: #ffffff !important;
  font-weight: 600 !important;
}
.sc-artist {
  color: #ff7733 !important;
}
.sc-meta {
  color: #9ca3af !important;
}
.sc-play {
  background: #ff5500 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(255, 85, 0, 0.35) !important;
}
.sc-empty {
  background: #1a1a1e !important;
  color: #9ca3af !important;
  border: 1px dashed rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  margin: 8px 12px !important;
  padding: 22px 14px !important;
}
.sc-profilehead {
  background: linear-gradient(135deg, #271a14 0%, #18181b 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 14px !important;
}
.sc-ph-name {
  color: #ffffff !important;
}
.sc-ph-sub {
  color: #a1a1aa !important;
}
.sc-linen {
  background: #1a1a1e !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 12px !important;
  margin: 4px 12px 10px !important;
  padding: 12px !important;
}
.sc-group {
  background: #222227 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
}
.sc-grow {
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #e5e7eb !important;
}
.sc-glabel {
  color: #d1d5db !important;
}
.sc-field {
  background: transparent !important;
  color: #ffffff !important;
}
.sc-field::placeholder {
  color: #71717a !important;
}
.sc-now {
  background: #18181b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* App Store / list: let the screen body scroll instead of compressing the list */
.ip7-list{flex-shrink:0 !important;}
/* Snake (and other arcade games) inside the iPhone */
.ip7-arcade .arcade-canvas{width:100% !important;max-width:280px !important;height:auto !important;border-radius:10px !important;background:#0b1a24 !important;display:block !important;image-rendering:pixelated;}
.ip7-arcade .arcade-score{font-weight:700 !important;color:#111111 !important;text-align:center !important;}
.ip7-arcade .hint{color:#8e8e93 !important;text-align:center !important;font-size:12px !important;}

/* ============================================================
   Retro iPod skin + MyPod recolor + orange SoundCloud
   ============================================================ */
.ipod-card.sp-card{
  --ipod-color:#c9ccd1;
  background:linear-gradient(160deg,rgba(255,255,255,0.55),rgba(0,0,0,0.12) 52%,rgba(0,0,0,0.28)),var(--ipod-color) !important;
  background-blend-mode:overlay,normal !important;
  color:#fff !important;
  border:1px solid rgba(0,0,0,0.35) !important;
  border-radius:28px !important;
  width:min(360px,94vw) !important;
  max-width:360px !important;
  max-height:min(700px,94dvh) !important;
  padding:16px 16px 20px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:14px !important;
  box-shadow:0 24px 64px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.65), inset 0 -2px 6px rgba(0,0,0,0.15) !important;
}
.ipod-screen{
  flex:1 1 auto; min-height:0;
  display:flex; flex-direction:column;
  background:#0b0b0d;
  border-radius:12px;
  overflow:hidden;
  border:3px solid #050506;
  box-shadow:inset 0 2px 12px rgba(0,0,0,0.85), 0 1px 0 rgba(255,255,255,0.55);
}
.ipod-screen .sp-nav{border-radius:0 !important;}
.ipod-screen .sp-body{flex:1 1 auto !important; min-height:0 !important; overflow-y:auto !important;}
.ipod-screen .sp-body.sound{overflow:hidden !important; display:flex !important;}
/* click wheel */
.ipod-wheel{
  flex:0 0 auto; align-self:center; position:relative;
  width:154px; height:154px; border-radius:50%;
  background:radial-gradient(circle at 50% 34%, #ffffff 0%, #ececed 38%, #d4d4d9 68%, #bdbdc3 100%);
  box-shadow:inset 0 2px 7px rgba(255,255,255,0.85), inset 0 -4px 10px rgba(0,0,0,0.18), 0 3px 8px rgba(0,0,0,0.32);
  margin-top:2px;
}
.ipw-btn{
  position:absolute; background:none; border:none; color:#73777e; cursor:pointer;
  font-size:13px; font-weight:800; letter-spacing:0.6px; padding:7px; line-height:1;
  -webkit-tap-highlight-color:transparent;
}
.ipw-btn:active{color:#2a2d33;}
.ipw-menu{top:12px; left:50%; transform:translateX(-50%); font-size:12px;}
.ipw-prev{left:14px; top:50%; transform:translateY(-50%); font-size:19px;}
.ipw-next{right:14px; top:50%; transform:translateY(-50%); font-size:19px;}
.ipw-play{bottom:12px; left:50%; transform:translateX(-50%); font-size:19px;}
.ipw-center{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:54px; height:54px; border-radius:50%;
  background:radial-gradient(circle at 50% 38%, #ffffff, #e6e6ea 58%, #d0d1d6);
  border:1px solid rgba(0,0,0,0.12); cursor:pointer;
  box-shadow:inset 0 1px 2px rgba(255,255,255,0.95), inset 0 -2px 4px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.28);
}
.ipw-center:active{box-shadow:inset 0 3px 6px rgba(0,0,0,0.28);}

/* MyPod recolor app */
.ip7-mypod-ipod{
  --ipod-color:#c9ccd1;
  width:122px; height:206px; margin:2px auto 18px;
  border-radius:18px;
  background:linear-gradient(160deg,rgba(255,255,255,0.5),rgba(0,0,0,0.12) 52%,rgba(0,0,0,0.28)),var(--ipod-color);
  background-blend-mode:overlay,normal;
  box-shadow:0 10px 24px rgba(0,0,0,0.22), inset 0 1px 2px rgba(255,255,255,0.75);
  border:1px solid rgba(0,0,0,0.15);
  display:flex; flex-direction:column; align-items:center; gap:16px; padding:13px;
}
.ip7-mypod-screen{width:100%; height:88px; border-radius:8px; background:#0b0b0d; box-shadow:inset 0 2px 9px rgba(0,0,0,0.85);}
.ip7-mypod-wheel{width:78px; height:78px; border-radius:50%; position:relative;
  background:radial-gradient(circle at 50% 34%,#fff,#e3e3e7 60%,#cdced3);
  box-shadow:inset 0 1px 3px rgba(255,255,255,0.85), 0 1px 3px rgba(0,0,0,0.2);}
.ip7-mypod-wheel::after{content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:27px; height:27px; border-radius:50%; background:#f0f0f2; box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);}
.ip7-mypod-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; padding:0 4px;}
.ip7-mypod-sw{display:flex; flex-direction:column; align-items:center; gap:5px; background:none; border:none; cursor:pointer; padding:2px;}
.ip7-mypod-dot{width:42px; height:42px; border-radius:50%;
  background:linear-gradient(160deg,rgba(255,255,255,0.5),rgba(0,0,0,0.12) 52%,rgba(0,0,0,0.3)),var(--sw);
  background-blend-mode:overlay,normal;
  box-shadow:inset 0 1px 2px rgba(255,255,255,0.6), 0 1px 3px rgba(0,0,0,0.22);
  border:1px solid rgba(0,0,0,0.12);}
.ip7-mypod-sw.on .ip7-mypod-dot{outline:3px solid #ff5500; outline-offset:2px;}
.ip7-mypod-nm{font-size:10px; color:#333;}

/* Orange SoundCloud (inside the iPod screen) */
.ipod-card .sc{display:flex !important; flex-direction:column !important; height:100% !important; background:#f3f3f4 !important; color:#222 !important;}
.ipod-card .sc-nav{order:1 !important; background:linear-gradient(180deg,#ff8a3d,#ff5500) !important; color:#fff !important; padding:11px 12px !important; display:flex !important; align-items:center !important; justify-content:center !important; box-shadow:0 1px 5px rgba(0,0,0,0.3) !important;}
.ipod-card .sc-nav-title{color:#fff !important; font-weight:900 !important; letter-spacing:0.4px !important; text-transform:uppercase !important; font-size:13px !important; white-space:nowrap !important; overflow:visible !important;}
.ipod-card .sc-nav-side{color:#fff !important;}
.ipod-card .sc-nav-side button, .ipod-card .sc-nav-side .sc-back{color:#fff !important; background:rgba(255,255,255,0.18) !important; border:none !important;}
.ipod-card .sc-scroll{order:2 !important; flex:1 1 auto !important; min-height:0 !important; overflow-y:auto !important; background:#f3f3f4 !important;}
.ipod-card .sc-now{order:3 !important; background:#2b2b2e !important; color:#fff !important; border-top:2px solid #ff5500 !important;
  background-image:repeating-linear-gradient(90deg, rgba(255,85,0,0.5) 0 2px, transparent 2px 5px) !important;
  background-size:100% 3px !important; background-position:bottom !important; background-repeat:no-repeat !important;}
.ipod-card .sc-segbar{order:4 !important; background:#ededed !important; border-top:1px solid #d8d8d8 !important; padding:0 !important;}
.ipod-card .sc-seg{display:flex !important; width:100% !important;}
.ipod-card .sc-seg-btn{flex:1 1 0 !important; background:none !important; border:none !important; color:#8a8a8a !important; font-size:11px !important; font-weight:800 !important; padding:9px 4px 8px !important; text-transform:uppercase !important; letter-spacing:0.3px !important;}
.ipod-card .sc-seg-btn.on{color:#ff5500 !important; box-shadow:inset 0 2px 0 #ff5500 !important;}
/* song rows as cassette tiles */
.ipod-card .sc-row{display:flex !important; align-items:center !important; gap:10px !important; background:#fff !important; border-bottom:1px solid #ededed !important; padding:8px 12px !important; color:#222 !important;}
.ipod-card .sc-row.playing{background:#fff4ec !important;}
.ipod-card .sc-rank{color:#c3c3c3 !important; font-weight:800 !important; width:16px !important; text-align:center !important; font-size:12px !important;}
.ipod-card .sc-art{width:48px !important; height:34px !important; border-radius:4px !important; background:linear-gradient(180deg,#3a2a1e,#241812) !important; border:1px solid #140d07 !important; position:relative !important; overflow:hidden !important; flex:0 0 auto !important;}
.ipod-card .sc-art>*{display:none !important;}
.ipod-card .sc-art::before{content:"" !important; position:absolute !important; left:4px; right:4px; top:4px; height:11px; background:linear-gradient(180deg,#ff8a3d,#ff5500); border-radius:2px;}
.ipod-card .sc-art::after{content:"" !important; position:absolute !important; left:6px; right:6px; bottom:5px; height:12px; border-radius:2px;
  background:radial-gradient(circle at 26% 50%, #ccc 2.5px, #4a4a4a 3px, transparent 3.4px), radial-gradient(circle at 74% 50%, #ccc 2.5px, #4a4a4a 3px, transparent 3.4px), #0f0a06;}
.ipod-card .sc-art.big{width:68px !important; height:48px !important;}
.ipod-card .sc-main{flex:1 1 auto !important; min-width:0 !important;}
.ipod-card .sc-title{color:#1a1a1a !important; font-weight:700 !important; font-size:13px !important;}
.ipod-card .sc-artist{color:#ff5500 !important; background:none !important; border:none !important; padding:0 !important; font-size:11px !important; font-weight:600 !important;}
.ipod-card .sc-meta{color:#9a9a9a !important; font-size:11px !important;}
.ipod-card .sc-votes{display:flex !important; align-items:center !important; gap:4px !important;}
.ipod-card .sc-n.up{color:#ff5500 !important; font-size:11px !important; font-weight:700 !important;}
.ipod-card .sc-vote-btn.up{font-size:0 !important; color:#ff5500 !important; background:none !important; border:none !important; cursor:pointer !important;}
.ipod-card .sc-vote-btn.up::after{content:"\2661"; font-size:15px; line-height:1;}
.ipod-card .sc-vote-btn.up.on::after{content:"\2665";}
.ipod-card .sc-play{background:#ff5500 !important; color:#fff !important; border:none !important; border-radius:50% !important; width:30px !important; height:30px !important; flex:0 0 auto !important; display:flex !important; align-items:center !important; justify-content:center !important;}
.ipod-card .sc-play.on{background:#e04b00 !important;}
.ipod-card .sc-section{color:#ff5500 !important; font-weight:800 !important; text-transform:uppercase !important; letter-spacing:0.4px !important; font-size:12px !important; padding:10px 12px 4px !important;}
.ipod-card .sc-note{color:#8a8a8a !important; font-size:11px !important; padding:0 12px 6px !important;}
.ipod-card .sc-empty{color:#9a9a9a !important; padding:16px 12px !important;}
.ipod-card .sc-field, .ipod-card .sc-file{background:#fff !important; color:#222 !important; border:1px solid #ddd !important;}
.ipod-card .sc-btn{background:#ff5500 !important; color:#fff !important; border:none !important;}
.ipod-card .sc-btn.danger{background:#d11 !important;}
.ipod-card .sc-profilehead{display:flex !important; align-items:center !important; gap:12px !important; padding:12px !important; background:linear-gradient(180deg,#ff8a3d,#ff5500) !important; color:#fff !important;}
.ipod-card .sc-ph-name{color:#fff !important; font-weight:800 !important;}
.ipod-card .sc-ph-sub{color:rgba(255,255,255,0.85) !important; font-size:11px !important;}
/* end retro iPod / SoundCloud */

/* ============================================================
   Per-app accents (distinct look per iPhone app) + iSpace
   ============================================================ */
.ip7-screen[data-app="vipps"]{--app-accent:#ff5b24;}
.ip7-screen[data-app="mobilepay"]{--app-accent:#5a78ff;}
.ip7-screen[data-app="wallet"]{--app-accent:#caa23a;}
.ip7-screen[data-app="stocks"]{--app-accent:#34c759;}
.ip7-screen[data-app="weather"]{--app-accent:#36a3ff;}
.ip7-screen[data-app="notes"]{--app-accent:#e6a700;}
.ip7-screen[data-app="calc"]{--app-accent:#ff9f0a;}
.ip7-screen[data-app="maps"]{--app-accent:#4a89f3;}
.ip7-screen[data-app="itunes"]{--app-accent:#fb3b9a;}
.ip7-screen[data-app="ispace"]{--app-accent:#5b3df2;}
.ip7-screen[data-app="bounty"], .ip7-screen[data-app="phone"]{--app-accent:#ff3b30;}
.ip7-screen[data-app="appstore"]{--app-accent:#0a84ff;}
.ip7-screen[data-app="settings"]{--app-accent:#6b7280;}
.ip7-screen[data-app="snake"]{--app-accent:#2ea043;}
.ip7-screen[data-app="camera"]{--app-accent:#111418;}
.ip7-screen[data-app="photos"]{--app-accent:#ff2d55;}
.ip7-screen[data-app="mypod"]{--app-accent:#8a8a8f;}
.ip7-screen[data-app="safari"]{--app-accent:#1aa1ff;}
.ip7-screen[data-app] .ip7-appnav{box-shadow:inset 0 -1px 0 rgba(0,0,0,0.85) !important;}
.ip7-screen[data-app="ispace"] .ip7-appnav{box-shadow:inset 0 -2.5px 0 #5b3df2 !important;}
.ip7-screen[data-app] .ip7-app-title{color:var(--app-accent,#111) !important;}
.ip7-screen[data-app] .ip7-back{color:var(--app-accent,#007aff) !important;}
.ip7-screen[data-app] .ip7-btn.primary{background:var(--app-accent,#007aff) !important; border-color:var(--app-accent,#007aff) !important;}
.ip7-screen[data-app] .ip7-inp:focus{border-color:var(--app-accent,#007aff) !important; outline:none !important;}

/* iSpace social app */
.ip7-screen[data-app="ispace"] .ip7-screen-body{background:#f4f4fb !important; padding:0 !important; gap:0 !important;}
.ispace-compose{background:#ffffff; border-bottom:1px solid #e7e7ef; padding:10px 12px;}
.ispace-compose-top{display:flex; gap:8px; align-items:flex-start;}
.ispace-ava{width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,#7c5cff,#4f2fe0); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; flex:0 0 auto; font-size:15px;}
.ispace-ava.me{background:linear-gradient(135deg,#ff8a3d,#ff5500);}
.ispace-ta{flex:1 1 auto; min-width:0; border:none; resize:none; font-size:14px; color:#15151c; background:none; outline:none; font-family:inherit; padding-top:7px;}
.ispace-draft{position:relative; margin:8px 0 0 44px;}
.ispace-draft img{width:100%; border-radius:12px; display:block;}
.ispace-x{background:rgba(0,0,0,0.55); color:#fff; border:none; border-radius:50%; width:22px; height:22px; cursor:pointer; font-size:11px; line-height:1;}
.ispace-x.on-img{position:absolute; top:6px; right:6px;}
.ispace-compose-bar{display:flex; align-items:center; justify-content:space-between; margin-top:8px; padding-left:44px;}
.ispace-photo-btn{background:#eef0ff; color:#5b3df2; border:none; border-radius:16px; padding:6px 12px; font-weight:700; cursor:pointer; font-size:13px;}
.ispace-post-btn{background:#5b3df2; color:#fff; border:none; border-radius:16px; padding:7px 18px; font-weight:800; cursor:pointer; font-size:13px;}
.ispace-tabs{display:flex; background:#fff; border-bottom:1px solid #e7e7ef;}
.ispace-tab{flex:1 1 0; background:none; border:none; padding:10px 6px; font-weight:700; color:#8a8a95; cursor:pointer; font-size:13px;}
.ispace-tab.on{color:#5b3df2; box-shadow:inset 0 -3px 0 #5b3df2;}
.ispace-feed{display:flex; flex-direction:column;}
.ispace-post{background:#fff; border-bottom:1px solid #e7e7ef; padding:10px 12px;}
.ispace-post-head{display:flex; align-items:center; gap:8px;}
.ispace-ph-meta{flex:1 1 auto; min-width:0; display:flex; flex-direction:column;}
.ispace-ph-meta b{font-size:13px; color:#15151c;}
.ispace-ph-meta small{font-size:11px; color:#9a9aa5; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.ispace-follow{background:#15151c; color:#fff; border:none; border-radius:14px; padding:5px 12px; font-weight:700; cursor:pointer; font-size:12px; flex:0 0 auto;}
.ispace-follow.on{background:#eef0ff; color:#5b3df2;}
.ispace-text{color:#15151c; font-size:14px; margin:6px 0 0 44px; white-space:pre-wrap; word-break:break-word; line-height:1.35;}
.ispace-img{width:calc(100% - 44px); margin:8px 0 0 44px; border-radius:14px; display:block; border:1px solid #e7e7ef;}
.ispace-actions{margin:6px 0 0 44px;}
.ispace-like{background:none; border:none; color:#9a9aa5; cursor:pointer; font-size:14px; font-weight:600; padding:2px 0;}
.ispace-like.on{color:#ff2d55;}
.ispace-empty{padding:34px 18px; text-align:center; color:#9a9aa5; font-size:13px;}
.ispace-sheet{background:#fff; min-height:100%;}
.ispace-sheet-head{display:flex; align-items:center; justify-content:space-between; padding:12px; border-bottom:1px solid #e7e7ef;}
.ispace-sheet-head b{color:#15151c; font-size:14px;}
.ispace-sheet-head .ispace-x{background:#e7e7ef; color:#555;}
.ispace-photo-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:4px; padding:4px;}
.ispace-photo-opt{border:none; padding:0; background:none; cursor:pointer; aspect-ratio:1;}
.ispace-photo-opt img{width:100%; height:100%; object-fit:cover; border-radius:6px; display:block;}
/* end per-app / iSpace */

/* ============================================================
   iPod SoundCloud (4-tab nav + waveform now-playing) + lock + iTunes
   ============================================================ */
.ipod-screen{position:relative !important;}

/* SoundCloud bottom tab bar (All Songs / Upvote / Upload / Profile) */
.ipod-card .sc-segbar{order:4 !important; background:#141416 !important; border-top:1px solid #000 !important; padding:0 !important;}
.ipod-card .sc-seg{display:flex !important; width:100% !important;}
.ipod-card .sc-seg-btn{flex:1 1 0 !important; display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important; gap:3px !important; background:none !important; border:none !important; color:#8a8a90 !important; padding:7px 2px 6px !important; cursor:pointer !important; box-shadow:none !important;}
.ipod-card .sc-seg-btn .sc-ico{width:19px !important; height:19px !important; display:block !important;}
.ipod-card .sc-seg-btn .sc-ico svg{width:100% !important; height:100% !important;}
.ipod-card .sc-seg-lbl{font-size:10px !important; font-weight:700 !important; letter-spacing:0.2px !important;}
.ipod-card .sc-seg-btn.on{background:#ff5500 !important; color:#ffffff !important;}
.ipod-card .sc-seg-btn.on .sc-ico{color:#ffffff !important;}

/* Now-playing panel (dark, cassette + waveform + time) */
.ipod-card .sc-now{order:3 !important; background:#161619 !important; color:#fff !important; padding:10px 12px 12px !important; border-top:2px solid #ff5500 !important; background-image:none !important;}
.ipod-card .sc-np-head{display:flex !important; gap:10px !important; align-items:center !important;}
.ipod-card .sc-np-art{width:56px !important; height:42px !important; border-radius:4px !important; flex:0 0 auto !important; background:linear-gradient(180deg,#3a2a1e,#241812) !important; border:1px solid #140d07 !important; position:relative !important; overflow:hidden !important;}
.ipod-card .sc-np-art::before{content:"" !important; position:absolute; left:5px; right:5px; top:5px; height:13px; background:linear-gradient(180deg,#ff8a3d,#ff5500); border-radius:2px;}
.ipod-card .sc-np-art::after{content:"" !important; position:absolute; left:7px; right:7px; bottom:6px; height:14px; border-radius:2px; background:radial-gradient(circle at 26% 50%, #ccc 3px, #4a4a4a 3.4px, transparent 3.8px), radial-gradient(circle at 74% 50%, #ccc 3px, #4a4a4a 3.4px, transparent 3.8px), #0f0a06;}
.ipod-card .sc-now .sc-now-text b{color:#fff !important; font-size:16px !important; display:block !important; line-height:1.2 !important;}
.ipod-card .sc-now .sc-now-text small{color:#b9b9c0 !important; font-size:12px !important;}
.ipod-card .sc-wave{display:flex !important; align-items:flex-end !important; gap:1.5px !important; height:48px !important; margin:10px 0 6px !important; cursor:pointer !important;}
.ipod-card .sc-wbar{flex:1 1 0 !important; background:#55555c !important; border-radius:1px !important; min-height:3px !important;}
.ipod-card .sc-wbar.on{background:#ff5500 !important;}
.ipod-card .sc-np-time{text-align:center !important; margin-top:2px !important;}
.ipod-card .sc-np-time span{background:#000 !important; color:#fff !important; font-size:11px !important; padding:2px 10px !important; border-radius:4px !important; font-weight:600 !important;}
.ipod-card .sc-now .sc-ctrl{display:flex !important; justify-content:center !important; align-items:center !important; gap:16px !important; margin-top:10px !important;}
.ipod-card .sc-now .sc-cbtn{background:none !important; border:none !important; color:#cfcfd6 !important; cursor:pointer !important; width:26px !important; height:26px !important; padding:0 !important;}
.ipod-card .sc-now .sc-cbtn svg{width:100% !important; height:100% !important;}
.ipod-card .sc-now .sc-cbtn.main{color:#ff5500 !important; width:32px !important; height:32px !important;}
.ipod-card .sc-now .sc-cbtn.on{color:#ff5500 !important;}

/* iPod lock screen */
.ipod-lock{position:absolute; inset:0; z-index:30; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; padding:26px 16px 22px; background:linear-gradient(160deg,#1b2a46 0%,#0a0f1a 100%); color:#fff; transition:transform .26s ease, opacity .26s ease;}
.ipod-lock.open{transform:translateY(-102%); opacity:0;}
.ipod-lock-time{font-size:42px; font-weight:300; margin-top:30px; letter-spacing:1px;}
.ipod-lock-brand{font-size:14px; opacity:.75; letter-spacing:3px; margin-top:-4px; text-transform:uppercase;}
.ipod-lock-slide{display:flex; align-items:center; gap:8px; width:100%; max-width:220px; background:rgba(255,255,255,0.12); border-radius:24px; padding:5px; margin-top:auto;}
.ipod-lock-knob{width:42px; height:42px; border-radius:50%; background:#fff; color:#444; display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:700; box-shadow:0 1px 3px rgba(0,0,0,.3); flex:0 0 auto;}
.ipod-lock-txt{flex:1; text-align:center; font-size:13px; color:rgba(255,255,255,.55); background:linear-gradient(90deg,rgba(255,255,255,.25) 0%,#ffffff 50%,rgba(255,255,255,.25) 100%); background-size:220% 100%; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:ipodShine 2.2s linear infinite;}
@keyframes ipodShine{0%{background-position:220% 0;}100%{background-position:-220% 0;}}

/* iTunes - Apple Music style */
.ip7-screen[data-app="itunes"] .ip7-screen-body{background:#ffffff !important; padding:0 !important; gap:0 !important;}
.ip7-screen[data-app="itunes"] #itunes-listwrap{flex:1 1 auto;}
.itunes-top{padding:12px 16px 2px;}
.itunes-lib{color:#fa2d48; font-size:13px; font-weight:600;}
.itunes-h1{font-size:27px; font-weight:800; color:#111; letter-spacing:-0.6px; margin-top:2px;}
.itunes-chip{display:inline-flex; align-items:center; gap:4px; margin-top:8px; background:#f1f1f4; color:#111; border-radius:15px; padding:5px 13px; font-size:13px; font-weight:600;}
.ip7-screen[data-app="itunes"] .ip7-inp{margin:8px 16px 4px !important; width:calc(100% - 32px) !important; background:#eff0f3 !important; border:none !important; border-radius:11px !important; color:#111 !important; padding:9px 12px !important; flex:0 0 auto !important; height:40px !important; box-sizing:border-box !important;}
.itunes-actions{display:flex; gap:10px; padding:6px 16px 10px; border-bottom:1px solid #eee;}
.itunes-play,.itunes-shuffle{flex:1 1 0; display:flex; align-items:center; justify-content:center; gap:4px; background:#f1f1f4; color:#fa2d48; border:none; border-radius:11px; padding:11px; font-weight:800; cursor:pointer; font-size:14px;}
.itunes-row{display:flex; align-items:center; gap:11px; padding:7px 16px; cursor:pointer; border-bottom:1px solid #f3f3f5;}
.itunes-row.playing{background:#fff1f3;}
.itunes-art{width:44px; height:44px; border-radius:6px; flex:0 0 auto; position:relative; background:linear-gradient(135deg,hsl(var(--hue,280),62%,60%),hsl(var(--hue,280),58%,42%)); box-shadow:0 1px 2px rgba(0,0,0,0.12);}
.itunes-art::after{content:"\266b"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.9); font-size:18px;}
.itunes-meta{flex:1 1 auto; min-width:0;}
.itunes-title{font-size:14px; color:#111; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.itunes-artist{font-size:12px; color:#8a8a8f; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.itunes-more{background:none; border:none; color:#c3c3c8; font-size:19px; cursor:pointer; flex:0 0 auto; padding:4px 6px; line-height:1;}
.itunes-more.playing{color:#fa2d48;}
.itunes-nowbar{display:flex; align-items:center; gap:10px; padding:8px 14px; background:#f8f8fa; border-top:1px solid #e8e8ec;}
.itunes-nb-art{width:34px; height:34px; border-radius:6px; background:#dddde2; flex:0 0 auto;}
.itunes-nb-art.on{background:linear-gradient(135deg,#fa2d48,#c01a30);}
.itunes-nb-meta{flex:1 1 auto; min-width:0;}
.itunes-nb-meta b{font-size:13px; color:#111; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.itunes-nb-meta b.muted{color:#9a9aa0; font-weight:600;}
.itunes-nb-meta small{font-size:11px; color:#8a8a8f;}
.itunes-nb-btn{background:none; border:none; color:#111; font-size:17px; cursor:pointer; flex:0 0 auto; padding:0 4px;}

/* Distinct layouts for payment apps */
.ip7-screen[data-app="vipps"] .vipps-banner{border-radius:18px !important; padding:16px !important; text-align:center !important; flex-direction:column !important; gap:6px !important;}
.ip7-screen[data-app="vipps"] .vipps-banner img{width:44px !important; height:44px !important;}
.ip7-screen[data-app="mobilepay"] .mpay-banner{border-radius:12px !important; align-items:center !important;}
.ip7-screen[data-app="vipps"] .ip7-inp, .ip7-screen[data-app="mobilepay"] .ip7-inp{text-align:center !important; font-size:15px !important;}
/* end iPod/iTunes block */


/* ============================================================
   COMPACT CLASSIC iPOD PROPORTIONS (4:3 SCREEN + CLICK WHEEL)
   ============================================================ */
.ipod-card.sp-card {
  width: min(272px, 90vw) !important;
  max-width: 272px !important;
  height: auto !important;
  max-height: min(446px, 90dvh) !important;
  border-radius: 24px !important;
  padding: 15px 15px 22px !important;
  gap: 18px !important;
}
.ipod-screen {
  flex: 0 0 auto !important;
  width: 100% !important;
  aspect-ratio: 4 / 3.15 !important;
  height: 192px !important;
  min-height: 180px !important;
  max-height: 204px !important;
  border-radius: 8px !important;
  border: 2.5px solid #050506 !important;
}
.ipod-screen .sp-nav {
  padding: 5px 8px !important;
  min-height: 26px !important;
}
.ipod-screen .sp-title {
  font-size: 12px !important;
}
.ipod-screen .sp-brand svg {
  width: 14px !important;
  height: 14px !important;
}
.ipod-screen .sp-body {
  padding: 6px 8px !important;
  gap: 5px !important;
}
.ipod-screen .sp-tile {
  padding: 5px 7px !important;
  gap: 7px !important;
  border-radius: 6px !important;
}
.ipod-screen .sp-tile-ico {
  width: 26px !important;
  height: 26px !important;
}
.ipod-screen .sp-tile-ico svg {
  width: 15px !important;
  height: 15px !important;
}
.ipod-screen .sp-tile-txt b {
  font-size: 11px !important;
}
.ipod-screen .sp-tile-txt small {
  font-size: 9px !important;
}
.ipod-screen .sp-search {
  padding: 4px 9px !important;
  font-size: 10.5px !important;
}
.ipod-screen .sp-sec-head {
  font-size: 9.5px !important;
}
.ipod-screen .sp-count {
  font-size: 9.5px !important;
}
.ipod-screen .sp-row {
  padding: 4px 6px !important;
  gap: 6px !important;
}
.ipod-screen .sp-num {
  font-size: 10px !important;
  width: 14px !important;
}
.ipod-screen .sp-track {
  font-size: 11px !important;
}
.ipod-screen .sp-artist {
  font-size: 9.5px !important;
}
.ipod-screen .sp-play-btn {
  width: 22px !important;
  height: 22px !important;
  font-size: 9px !important;
}
.ipod-screen .sp-vote-wrap {
  padding: 1px 3px !important;
  gap: 1px !important;
}
.ipod-screen .sp-vote-btn {
  font-size: 8.5px !important;
  padding: 2px 3px !important;
}
.ipod-screen .sp-vote-score {
  font-size: 9.5px !important;
  min-width: 12px !important;
}
.ipod-screen .sp-player {
  padding: 5px 8px !important;
  gap: 4px !important;
}
.ipod-screen .sp-now-title {
  font-size: 10.5px !important;
}
.ipod-screen .sp-now-artist {
  font-size: 9px !important;
}
.ipod-screen .sp-ctrl {
  width: 20px !important;
  height: 20px !important;
  font-size: 10px !important;
}
.ipod-screen .sp-ctrl.main {
  width: 24px !important;
  height: 24px !important;
}
/* Compact SoundCloud inside 4:3 iPod screen */
.ipod-card .sc-nav {
  padding: 5px 8px !important;
}
.ipod-card .sc-nav-title {
  font-size: 12px !important;
}
.ipod-card .sc-now {
  padding: 6px 8px 6px !important;
}
.ipod-card .sc-np-art {
  width: 40px !important;
  height: 30px !important;
}
.ipod-card .sc-now .sc-now-text b {
  font-size: 12.5px !important;
}
.ipod-card .sc-now .sc-now-text small {
  font-size: 10px !important;
}
.ipod-card .sc-wave {
  height: 30px !important;
  margin: 5px 0 4px !important;
}
.ipod-card .sc-np-time span {
  font-size: 9.5px !important;
  padding: 1px 7px !important;
}
.ipod-card .sc-now .sc-ctrl {
  gap: 10px !important;
  margin-top: 5px !important;
}
.ipod-card .sc-now .sc-cbtn {
  width: 20px !important;
  height: 20px !important;
}
.ipod-card .sc-now .sc-cbtn.main {
  width: 24px !important;
  height: 24px !important;
}
.ipod-card .sc-seg-btn {
  padding: 4px 2px 4px !important;
  gap: 2px !important;
}
.ipod-card .sc-seg-btn .sc-ico {
  width: 15px !important;
  height: 15px !important;
}
.ipod-card .sc-seg-lbl {
  font-size: 8.5px !important;
}
/* Compact lock screen inside 4:3 iPod screen */
.ipod-lock {
  padding: 12px 10px 10px !important;
}
.ipod-lock-time {
  font-size: 28px !important;
  margin-top: 10px !important;
}
.ipod-lock-brand {
  font-size: 10px !important;
  margin-top: -2px !important;
}
.ipod-lock-slide {
  max-width: 175px !important;
  padding: 3px !important;
}
.ipod-lock-knob {
  width: 28px !important;
  height: 28px !important;
  font-size: 16px !important;
}
.ipod-lock-txt {
  font-size: 10.5px !important;
}
/* Proportional classic click wheel */
.ipod-wheel {
  width: 162px !important;
  height: 162px !important;
  margin: 2px auto 0 !important;
}
.ipw-center {
  width: 58px !important;
  height: 58px !important;
}
.ipw-menu {
  top: 11px !important;
  font-size: 11px !important;
}
.ipw-prev {
  left: 13px !important;
  font-size: 17px !important;
}
.ipw-next {
  right: 13px !important;
  font-size: 17px !important;
}
.ipw-play {
  bottom: 11px !important;
  font-size: 17px !important;
}


/* ============================================================
   COLORED PIXEL-ART CD TRACK LOGOS (iTunes, iPod, SoundCloud)
   ============================================================ */
.cd-track-ico {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  image-rendering: pixelated !important;
  display: block !important;
}
.itunes-art {
  background: transparent !important;
  box-shadow: none !important;
  padding: 2px !important;
}
.itunes-art::after {
  display: none !important;
  content: none !important;
}
.itunes-nb-art.on {
  background: transparent !important;
  padding: 1px !important;
}
.sp-cd-art {
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 auto !important;
}
.ipod-card .sc-np-art {
  width: 36px !important;
  height: 36px !important;
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
}
.ipod-card .sc-np-art::before,
.ipod-card .sc-np-art::after {
  display: none !important;
  content: none !important;
}


/* ============================================================
   iPOD FIRST PAGE (HITLIST - IMAGE 3) & SOUNDCLOUD (IMAGE 2)
   ============================================================ */
.ipod-screen .sp-nav {
  background: #2b2b2e !important;
  border-bottom: 1px solid #141416 !important;
  padding: 5px 8px !important;
  min-height: 28px !important;
  display: grid !important;
  grid-template-columns: 24px 1fr 24px !important;
  align-items: center !important;
}
.ipod-screen .sp-title {
  text-align: center !important;
  justify-self: center !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #f5f5f7 !important;
}
.ipod-screen .sp-brand {
  gap: 6px !important;
}
.hl-sc-go {
  background: transparent !important;
  border: none !important;
  padding: 2px !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  opacity: 0.92 !important;
}
.hl-sc-go:hover {
  opacity: 1 !important;
  transform: scale(1.08) !important;
}
.ipod-screen .sp-body:not(.sound) {
  background: #1d1d1f !important;
  padding: 0 !important;
  gap: 0 !important;
}
.hl-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
.hl-row {
  border-radius: 0 !important;
  padding: 6px 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
.hl-row:hover {
  background: rgba(255, 255, 255, 0.07) !important;
}
.hl-row.active {
  background: rgba(255, 255, 255, 0.11) !important;
}
.hl-row .sp-track {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #f5f5f7 !important;
  line-height: 1.2 !important;
}
.hl-sub {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 2px !important;
  font-size: 10px !important;
  color: #8e8e93 !important;
}
.hl-e {
  display: inline-grid !important;
  place-items: center !important;
  width: 11px !important;
  height: 11px !important;
  border-radius: 2px !important;
  background: #7c7c82 !important;
  color: #1d1d1f !important;
  font-size: 7.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  flex: none !important;
}
.hl-heart {
  background: transparent !important;
  border: none !important;
  padding: 4px !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  flex: none !important;
  transition: transform 0.12s ease !important;
}
.hl-heart:active {
  transform: scale(0.85) !important;
}
.ipod-screen .sp-player:empty {
  display: none !important;
}

/* SoundCloud screen on iPod (Image 2 exact orange banner + mirrored waveform + battery) */
.ipod-card .sc {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
  background: #2b2b2e !important;
  border-radius: 0 !important;
}
.ipod-card .sc-nav {
  order: 1 !important;
  background: linear-gradient(180deg, #ff701a 0%, #ff5500 100%) !important;
  border-bottom: 1px solid #c94000 !important;
  padding: 5px 8px !important;
  min-height: 28px !important;
  flex: none !important;
}
.ipod-card .sc-brand-hd {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.7px !important;
}
.ipod-card .sc-scroll {
  order: 2 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  background: #262629 !important;
}
.ipod-card .sc-now {
  order: 3 !important;
  background: #2b2b2e !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 7px 10px 6px !important;
}
.ipod-card .sc-np-head {
  position: relative !important;
  align-items: flex-start !important;
  gap: 8px !important;
}
.ipod-card .sc-bat {
  margin-left: auto !important;
  width: 16px !important;
  height: 8px !important;
  border: 1px solid #9ca3af !important;
  border-radius: 2px !important;
  padding: 1px !important;
  position: relative !important;
  flex: none !important;
}
.ipod-card .sc-bat::after {
  content: "" !important;
  position: absolute !important;
  right: -3px !important;
  top: 2px !important;
  width: 2px !important;
  height: 4px !important;
  background: #9ca3af !important;
  border-radius: 0 1px 1px 0 !important;
}
.ipod-card .sc-bat i {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: #4ade80 !important;
  border-radius: 1px !important;
}
.ipod-card .sc-wave {
  position: relative !important;
  height: 36px !important;
  margin: 6px 0 4px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  align-items: flex-end !important;
}
.ipod-card .sc-wbar {
  background: #8e8e93 !important;
  box-shadow: 0 6px 0 -1px rgba(142, 142, 147, 0.28) !important;
}
.ipod-card .sc-wbar.on {
  background: #ff5500 !important;
  box-shadow: 0 6px 0 -1px rgba(255, 85, 0, 0.35) !important;
}
.ipod-card .sc-np-time span {
  background: #141416 !important;
  color: #ffffff !important;
  font-size: 9.5px !important;
  padding: 1px 8px !important;
  border-radius: 3px !important;
}
.ipod-card .sc-segbar {
  order: 4 !important;
  background: #1a1a1c !important;
  border-top: 1px solid #09090b !important;
  padding: 0 !important;
  flex: none !important;
}
.ipod-card .sc-seg {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}
.ipod-card .sc-seg-btn {
  border-radius: 0 !important;
  padding: 5px 2px 4px !important;
}
.ipod-card .sc-seg-btn.on {
  background: #ff5500 !important;
  color: #ffffff !important;
}

/* ============================================================
   MOBILE / PHONE RESPONSIVE WINDOWS & TOUCH USABILITY
   ============================================================ */
@media (max-width: 768px), (pointer: coarse) {
  .hc-overlay,
  .cd-overlay {
    padding: 8px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .door-popup,
  .cd-popup,
  .hc-card,
  .pw-card,
  .storage-popup,
  .furni-buy,
  .shop-popup {
    max-width: calc(100vw - 16px) !important;
    width: min(420px, calc(100vw - 16px)) !important;
    max-height: 88dvh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    touch-action: manipulation !important;
  }
  .door-body,
  .door-scroll,
  .cd-body,
  .hc-body,
  .pw-body,
  .ip7-screen-body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    min-height: 0 !important;
  }
  .door-popup .btn,
  .cd-popup .btn,
  .hc-card .btn,
  .ip7-btn {
    min-height: 34px !important;
    touch-action: manipulation !important;
  }
  input[type="text"],
  input[type="search"],
  input[type="number"],
  input[type="password"],
  textarea {
    font-size: 16px !important;
  }
  .ip7-device {
    width: min(326px, 94vw) !important;
    height: min(600px, 90dvh) !important;
  }
  .ipod-card.sp-card {
    width: min(272px, 92vw) !important;
    max-height: 90dvh !important;
  }
}


/* ============================================================
   iPOD CLASSIC SPLIT-SCREEN MENU (IMAGE 5)
   ============================================================ */
.ipod-screen .sp-body.ipod-menu-mode {
  padding: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
}
.ipm-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  width: 100% !important;
  height: 100% !important;
}
.ipm-left {
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  border-right: 1px solid #9ca3af !important;
  overflow: hidden !important;
}
.ipm-hdr {
  background: linear-gradient(180deg, #f3f4f6 0%, #d1d5db 55%, #b8bec7 100%) !important;
  border-bottom: 1px solid #8c929c !important;
  padding: 3px 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  color: #111111 !important;
  flex: none !important;
}
.ipm-hdr-r {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}
.ipm-play-tri {
  color: #2563eb !important;
  font-size: 9px !important;
}
.ipm-items {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}
.ipm-item {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 6px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  cursor: pointer !important;
  text-align: left !important;
}
.ipm-item.on {
  background: linear-gradient(180deg, #56a5ff 0%, #1d6fe2 100%) !important;
  color: #ffffff !important;
}
.ipm-chev {
  font-size: 13px !important;
  opacity: 0.75 !important;
}
.ipm-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  text-align: center !important;
  gap: 6px !important;
  background: radial-gradient(circle at 50% 35%, #5b21b6 0%, #1e1b4b 65%, #09090b 100%) !important;
}
.ipm-right.art-spotify {
  background: radial-gradient(circle at 50% 35%, #1db954 0%, #14532d 55%, #0a0a0c 100%) !important;
}
.ipm-right.art-soundcloud {
  background: radial-gradient(circle at 50% 35%, #ff701a 0%, #9a3412 58%, #18181b 100%) !important;
}
.ipm-right.art-now {
  background: radial-gradient(circle at 50% 35%, #eab308 0%, #713f12 60%, #09090b 100%) !important;
}
.ipm-art-cd {
  width: 64px !important;
  height: 64px !important;
  image-rendering: pixelated !important;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5)) !important;
}
.ipm-art-lbl {
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75) !important;
}
.ipm-art-sub {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
}

/* ============================================================
   iSPACE RETRO SOCIAL APP LOOK (IMAGE 3)
   ============================================================ */
.ip7-screen[data-app="ispace"] .ip7-screen-body {
  padding: 0 !important;
  gap: 0 !important;
  background: #e5e8f0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}
.isp-root {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
  background: #e5e8f0 !important;
  color: #1c1e26 !important;
}
.isp-hdr {
  background: linear-gradient(180deg, #43466b 0%, #2f314d 100%) !important;
  color: #ffffff !important;
  padding: 7px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid #1e2033 !important;
  flex: none !important;
}
.isp-back {
  background: rgba(255, 255, 255, 0.14) !important;
  border: none !important;
  color: #ffffff !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
.isp-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px !important;
}
.isp-plus {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 0 4px !important;
}
.isp-status-bar {
  background: #d8dce6 !important;
  padding: 7px 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  border-bottom: 1px solid #c2c7d4 !important;
  flex: none !important;
}
.isp-ava {
  width: 30px !important;
  height: 30px !important;
  border-radius: 4px !important;
  background: linear-gradient(135deg, #6366f1, #312e81) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  display: grid !important;
  place-items: center !important;
  border: 1.5px solid #2f314d !important;
  flex: none !important;
}
.isp-quick-inp {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border: 1px solid #b8becd !important;
  border-radius: 4px !important;
  padding: 6px 8px !important;
  font-size: 12px !important;
  color: #1c1e26 !important;
  outline: none !important;
}
.isp-compose-extra {
  background: #eceff5 !important;
  padding: 6px 8px !important;
  border-bottom: 1px solid #c2c7d4 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  flex: none !important;
}
.isp-compose-row {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}
.isp-mini-btn {
  background: #ffffff !important;
  border: 1px solid #b8becd !important;
  border-radius: 4px !important;
  padding: 4px 7px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #2f314d !important;
  cursor: pointer !important;
  flex: none !important;
}
.isp-sel {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border: 1px solid #b8becd !important;
  border-radius: 4px !important;
  padding: 4px 5px !important;
  font-size: 11px !important;
  color: #1c1e26 !important;
}
.isp-post-go {
  background: #343654 !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  flex: none !important;
}
.isp-draft-img {
  position: relative !important;
  width: 100% !important;
  max-height: 90px !important;
  overflow: hidden !important;
  border-radius: 4px !important;
}
.isp-draft-img img {
  width: 100% !important;
  height: 90px !important;
  object-fit: cover !important;
  display: block !important;
}
.isp-draft-img button {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50% !important;
  width: 20px !important;
  height: 20px !important;
  cursor: pointer !important;
}
.isp-search-wrap {
  padding: 6px 8px !important;
  background: #eceff5 !important;
  border-bottom: 1px solid #c2c7d4 !important;
  display: flex !important;
  flex: none !important;
}
.isp-feed {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.isp-card {
  background: #ffffff !important;
  border: 1px solid #c6cbd8 !important;
  border-radius: 4px !important;
  padding: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.isp-card-head {
  display: flex !important;
  align-items: flex-start !important;
  gap: 7px !important;
}
.isp-card-who {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.isp-card-who b {
  font-size: 12.5px !important;
  color: #1c1e26 !important;
  display: block !important;
}
.isp-card-txt {
  font-size: 11.5px !important;
  color: #2c2f3a !important;
  margin-top: 2px !important;
  line-height: 1.3 !important;
  word-break: break-word !important;
}
.isp-dots {
  color: #7c8294 !important;
  font-size: 11px !important;
  flex: none !important;
}
.isp-card-img {
  width: 100% !important;
  max-height: 140px !important;
  object-fit: cover !important;
  border-radius: 3px !important;
  border: 1px solid #cfd4e0 !important;
  display: block !important;
}
.isp-cd-box {
  background: #14151c !important;
  border: 1px solid #2f314d !important;
  border-radius: 4px !important;
  padding: 8px 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.isp-cd-ico {
  width: 44px !important;
  height: 44px !important;
  image-rendering: pixelated !important;
  flex: none !important;
}
.isp-cd-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  min-width: 0 !important;
}
.isp-cd-meta b {
  color: #ffffff !important;
  font-size: 12px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.isp-play-btn {
  background: #e5e8f0 !important;
  border: 1px solid #9ca3af !important;
  border-radius: 3px !important;
  padding: 3px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #1c1e26 !important;
  cursor: pointer !important;
  align-self: flex-start !important;
}
.isp-likes-line {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #343654 !important;
}
.isp-h-ico {
  color: #e11d48 !important;
}
.isp-card-acts {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid #e5e8f0 !important;
  padding-top: 5px !important;
  gap: 4px !important;
}
.isp-act {
  background: transparent !important;
  border: none !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #4b5066 !important;
  cursor: pointer !important;
  padding: 2px 4px !important;
}
.isp-act.on {
  color: #e11d48 !important;
}
.isp-cmts {
  background: #f3f5fa !important;
  border-radius: 4px !important;
  padding: 5px 6px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.isp-cmt-row {
  font-size: 11px !important;
  color: #2c2f3a !important;
}
.isp-cmt-add {
  display: flex !important;
  gap: 4px !important;
}
.isp-cmt-inp {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border: 1px solid #c6cbd8 !important;
  border-radius: 3px !important;
  padding: 3px 6px !important;
  font-size: 11px !important;
}
.isp-botnav {
  background: #25273d !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  border-top: 1px solid #161726 !important;
  flex: none !important;
}
.isp-btab {
  background: transparent !important;
  border: none !important;
  color: #a5aac4 !important;
  padding: 5px 2px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.isp-btab-ico {
  font-size: 13px !important;
}
.isp-btab.on {
  background: #3b3e63 !important;
  color: #ffffff !important;
}


/* ============================================================
   UNIVERSAL SCROLLABLE BIG WINDOWS ON MOBILE / PHONE
   ============================================================ */
@media (max-width: 768px), (pointer: coarse) {
  .trade-overlay,
  .hc-overlay,
  .cd-overlay,
  .pw-overlay {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px 8px 24px !important;
    align-items: center !important;
  }
  .trade-win,
  [role="dialog"]:not(.ip7-device):not(.ipod-card) {
    max-width: calc(100vw - 16px) !important;
    max-height: 82dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
  }
  .trade-win {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding-bottom: 16px !important;
  }
  .trade-win > * {
    flex-shrink: 0 !important;
  }
  .trade-win .trade-head,
  .door-popup .door-head,
  .cd-popup .cd-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 6 !important;
  }
  .trade-grid {
    max-height: none !important;
    overflow: visible !important;
  }
}


/* ============================================================
   HIDE iPOD BOTTOM PLAYER BAR + EXACT SOUNDCLOUD IMAGE 2 LOOK
   ============================================================ */
.ipod-screen .sp-player {
  display: none !important;
}
.ipod-card .sc-now {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: linear-gradient(180deg, #323236 0%, #242428 100%) !important;
  border-top: none !important;
  padding: 8px 10px 6px !important;
}
.ipod-card .sc-np-art.sc-cassette {
  width: 46px !important;
  height: 46px !important;
  border-radius: 3px !important;
  background: linear-gradient(180deg, #ff7a1f 0%, #c83e0a 100%) !important;
  border: 1px solid #1b1b1e !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  flex: none !important;
}
.ipod-card .sc-np-art.sc-cassette::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  left: 5px !important;
  right: 5px !important;
  top: 10px !important;
  bottom: 10px !important;
  background: #2c2c30 !important;
  border: 1.5px solid #111 !important;
  border-radius: 2px !important;
}
.ipod-card .sc-np-art.sc-cassette::after {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  left: 9px !important;
  right: 9px !important;
  top: 15px !important;
  height: 12px !important;
  background: radial-gradient(circle at 28% 50%, #ffffff 2.4px, #111 2.8px, transparent 3.4px),
              radial-gradient(circle at 72% 50%, #ffffff 2.4px, #111 2.8px, transparent 3.4px),
              linear-gradient(180deg, #ff7a1f 0%, #ff5500 50%, #e5e7eb 50%, #e5e7eb 100%) !important;
  border-radius: 1px !important;
}
.ipod-card .sc-now .sc-now-text {
  padding-top: 4px !important;
}
.ipod-card .sc-now .sc-now-text b {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}
.ipod-card .sc-now .sc-now-text small {
  font-size: 10.5px !important;
  color: #9ca3af !important;
}
.ipod-card .sc-wave {
  height: 44px !important;
  margin: 4px 0 2px !important;
  padding-bottom: 11px !important;
  border-bottom: none !important;
  gap: 1.5px !important;
}
.ipod-card .sc-wbar.head {
  background: #ff6a1a !important;
  height: 100% !important;
  box-shadow: 0 8px 0 -1px rgba(255, 85, 0, 0.45) !important;
}
.ipod-card .sc-np-time {
  margin: 0 !important;
}
.ipod-card .sc-np-time span {
  background: #141416 !important;
  color: #e5e7eb !important;
  font-size: 9.5px !important;
  padding: 2px 9px !important;
  border-radius: 2px !important;
}


/* ============================================================
   PIXEL-PERFECT iPOD SOUNDCLOUD (IMAGE 2) & NAV HIDE (IMAGE 3)
   ============================================================ */
.ipod-screen .sp-nav.ipod-nav-hide {
  display: none !important;
}
.ipod-screen .sp-body.sound {
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  background: #242428 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}
.ipod-screen .sc-host {
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
.ipod-card .sc {
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
.ipod-card .sc-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 8px !important;
  min-height: 24px !important;
  height: 24px !important;
  position: relative !important;
}
.ipod-card .sc-nav-side:empty {
  display: none !important;
}
.ipod-card .sc-nav-side:not(:empty) {
  position: absolute !important;
  left: 6px !important;
}
.ipod-card .sc-nav-title {
  margin: 0 auto !important;
  text-align: center !important;
}
.ipod-card .sc-now {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 6px 10px 4px !important;
  gap: 2px !important;
  justify-content: space-between !important;
  overflow: hidden !important;
}
.ipod-card .sc-np-art.sc-cassette {
  width: 40px !important;
  height: 40px !important;
}
.ipod-card .sc-now .sc-now-text {
  padding-top: 2px !important;
}
.ipod-card .sc-now .sc-now-text b {
  font-size: 12.5px !important;
  line-height: 1.15 !important;
}
.ipod-card .sc-now .sc-now-text small {
  font-size: 10px !important;
  line-height: 1.15 !important;
}
.ipod-card .sc-wave {
  height: 36px !important;
  margin: 2px 0 0 !important;
  padding-bottom: 9px !important;
}
.ipod-card .sc-np-time {
  line-height: 1 !important;
  padding: 1px 0 2px !important;
}
.ipod-card .sc-np-time span {
  font-size: 9px !important;
  padding: 1px 8px !important;
}
.ipod-card .sc-segbar {
  flex: none !important;
  height: 36px !important;
}
.ipod-card .sc-seg {
  height: 100% !important;
}
.ipod-card .sc-seg-btn {
  padding: 3px 2px 3px !important;
  gap: 2px !important;
  height: 100% !important;
}
.ipod-card .sc-seg-btn .sc-ico {
  width: 14px !important;
  height: 14px !important;
}
.ipod-card .sc-seg-lbl {
  font-size: 8.5px !important;
  line-height: 1 !important;
}


/* ============================================================
   CLEAN SOUNDCLOUD PAGES (NO PLAYER OVERLAP, 3 TABS, NO H-SCROLL)
   ============================================================ */
.ipod-card .sc-now[hidden],
.ipod-card .sc-scroll[hidden] {
  display: none !important;
}
.ipod-card .sc-seg {
  grid-template-columns: repeat(3, 1fr) !important;
}
.ipod-card .sc-scroll {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #18181b !important;
  padding: 0 !important;
}
.ipod-card .sc-body {
  background: #18181b !important;
  padding: 6px 8px 10px !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
.ipod-card .sc-section {
  font-size: 10px !important;
  color: #ff6a1a !important;
  padding: 6px 2px 3px !important;
  letter-spacing: 0.6px !important;
}
.ipod-card .sc-note {
  font-size: 10px !important;
  line-height: 1.3 !important;
  color: #a1a1aa !important;
  padding: 0 2px 6px !important;
}
.ipod-card .sc-panel {
  padding: 0 0 6px !important;
}
.ipod-card .sc-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 5px !important;
}
.ipod-card .sc-btn {
  font-size: 10px !important;
  padding: 5px 6px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ipod-card .sc-profilehead {
  padding: 8px !important;
  border-radius: 8px !important;
  margin-bottom: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #ff5500 0%, #9a3412 100%) !important;
  border: none !important;
}
.ipod-card .sc-profilehead .sc-art,
.ipod-card .sc-profilehead .sc-art.big {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 6px !important;
  flex: none !important;
}
.ipod-card .sc-ph-name {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
}
.ipod-card .sc-ph-sub {
  font-size: 10px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.2 !important;
}
.ipod-card .sc-linen {
  margin: 4px 0 8px !important;
  padding: 8px !important;
  border-radius: 8px !important;
}
.ipod-card .sc-group {
  margin-bottom: 6px !important;
  border-radius: 6px !important;
}
.ipod-card .sc-grow {
  padding: 5px 7px !important;
  font-size: 10.5px !important;
  gap: 6px !important;
}
.ipod-card .sc-glabel {
  font-size: 10px !important;
}
.ipod-card .sc-field {
  font-size: 11px !important;
  padding: 2px 0 !important;
}
.ipod-card .sc-list {
  padding: 0 !important;
  gap: 4px !important;
}
.ipod-card .sc-row {
  padding: 5px 7px !important;
  border-radius: 7px !important;
  gap: 6px !important;
}
.ipod-card .sc-title {
  font-size: 11px !important;
}
.ipod-card .sc-artist,
.ipod-card .sc-meta {
  font-size: 9.5px !important;
}
.ipod-card .sc-empty {
  margin: 4px 0 !important;
  padding: 12px 8px !important;
  font-size: 10.5px !important;
  border-radius: 8px !important;
}

/* ============================================================
   iPOD MENU RIGHT-PANEL BACKGROUNDS + FRONT-FACING FLAT CDs
   ============================================================ */
.ipm-right.art-spotify {
  background: radial-gradient(circle at 50% 40%, #1db954 0%, #0d4a26 52%, #090d0b 100%) !important;
}
.ipm-right.art-soundcloud {
  background: radial-gradient(circle at 50% 40%, #ff6a1a 0%, #9a3412 52%, #180b06 100%) !important;
}
.ipm-right.art-shuffle {
  background: radial-gradient(circle at 50% 40%, #a855f7 0%, #4c1d95 52%, #110821 100%) !important;
}
.ipm-right.art-now {
  background: radial-gradient(circle at 50% 40%, #facc15 0%, #854d0e 52%, #140e04 100%) !important;
}
.ipm-art-cd {
  width: 72px !important;
  height: 72px !important;
  image-rendering: pixelated !important;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55)) !important;
}

.ipod-card .sc-seg {
  grid-template-columns: repeat(2, 1fr) !important;
}


/* ============================================================
   EXACT SOUNDCLOUD ALL SONGS (IMAGE 1) & UPLOAD (IMAGE 2)
   ============================================================ */
.ipod-card .sc-nav {
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 8px !important;
}
.ipod-card .sc-nav-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  position: relative !important;
}
.ipod-card .sc-nav-bat {
  position: absolute !important;
  right: 2px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
}
.ipod-card .sc-body {
  padding: 0 !important;
  background: #242428 !important;
}
.ipod-card .sc-clean-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
}
.ipod-card .sc-clean-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 9px !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 0 !important;
  cursor: pointer !important;
}
.ipod-card .sc-clean-row:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}
.ipod-card .sc-clean-art {
  width: 30px !important;
  height: 30px !important;
  border-radius: 3px !important;
  background: #18181b !important;
  padding: 2px !important;
  flex: none !important;
  display: grid !important;
  place-items: center !important;
}
.ipod-card .sc-clean-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  image-rendering: pixelated !important;
}
.ipod-card .sc-clean-meta {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.ipod-card .sc-clean-title {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #f5f5f7 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
}
.ipod-card .sc-clean-artist {
  font-size: 10px !important;
  color: #9ca3af !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
}
.ipod-card .sc-clean-heart {
  background: transparent !important;
  border: none !important;
  padding: 3px !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  flex: none !important;
}
.ipod-card .sc-empty-clean {
  margin: 14px 10px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px dashed rgba(255, 255, 255, 0.14) !important;
  color: #9ca3af !important;
  font-size: 10.5px !important;
  padding: 16px 10px !important;
}

/* Upload tab exact Image 2 look */
.scu-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  padding: 7px 10px 8px !important;
}
.scu-lbl {
  font-size: 9px !important;
  font-weight: 700 !important;
  color: #a1a1aa !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  margin-top: 1px !important;
}
.scu-inp {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #2c2c30 !important;
  border: 1.5px solid #8e8e93 !important;
  border-radius: 3px !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  padding: 4px 7px !important;
  outline: none !important;
}
.scu-inp:focus {
  border-color: #ff5500 !important;
}
.scu-inp::placeholder {
  color: #9ca3af !important;
}
.scu-pick {
  width: 100% !important;
  background: linear-gradient(180deg, #dcdce0 0%, #b8b8be 100%) !important;
  border: 1px solid #6b7280 !important;
  border-radius: 3px !important;
  color: #111111 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 5px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  position: relative !important;
}
.scu-pick-ico {
  position: absolute !important;
  left: 8px !important;
  display: grid !important;
  place-items: center !important;
}
.scu-submit {
  width: 100% !important;
  margin-top: 2px !important;
  background: linear-gradient(180deg, #ff6d1f 0%, #e04600 100%) !important;
  border: 1px solid #b83800 !important;
  border-radius: 3px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  padding: 5px 8px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
}
.scu-submit:disabled {
  opacity: 0.5 !important;
  cursor: default !important;
}


/* ============================================================
   iTUNES BOTTOM NOW-BAR + LIKE HEART + iPOD SPILLER NÅ SCREEN
   ============================================================ */
.ip7-screen[data-app="itunes"] .ip7-screen-body {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.ip7-screen[data-app="itunes"] #itunes-listwrap {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  background: #ffffff !important;
}
.ip7-screen[data-app="itunes"] .itunes-nowbar {
  margin-top: auto !important;
  flex: none !important;
  border-top: 1px solid #e5e5ea !important;
}
.itunes-like-btn {
  background: transparent !important;
  border: none !important;
  color: #b0b0b8 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  padding: 4px 5px !important;
  line-height: 1 !important;
  flex: none !important;
}
.itunes-like-btn.on {
  color: #fa2d48 !important;
}

/* iPod Spiller nå (Now Playing) */
.ipn-wrap {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  color: #111111 !important;
}
.ipn-body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 10px 12px !important;
  gap: 10px !important;
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%) !important;
}
.ipn-top {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.ipn-cd {
  width: 58px !important;
  height: 58px !important;
  image-rendering: pixelated !important;
  flex: none !important;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25)) !important;
}
.ipn-cd.dim {
  opacity: 0.45 !important;
  width: 48px !important;
  height: 48px !important;
}
.ipn-meta {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.ipn-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #111111 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ipn-artist {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #555a66 !important;
  margin-top: 2px !important;
}
.ipn-status {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: #1d6fe2 !important;
  margin-top: 4px !important;
  text-transform: uppercase !important;
}
.ipn-prog {
  width: 100% !important;
  height: 8px !important;
  background: #d1d5db !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
.ipn-prog i {
  display: block !important;
  height: 100% !important;
  background: linear-gradient(180deg, #56a5ff 0%, #1d6fe2 100%) !important;
  border-radius: 999px !important;
}
.ipn-times {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: #4b5563 !important;
  margin-top: -4px !important;
}
.ipn-empty {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 12px !important;
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%) !important;
  text-align: center !important;
}
.ipn-empty-txt {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
}
.ipn-go-btn {
  background: linear-gradient(180deg, #56a5ff 0%, #1d6fe2 100%) !important;
  border: none !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  cursor: pointer !important;
}


/* ============================================================
   iSPACE EXACT IMAGE 2 POLISH (DARK STATUS BAR + AVATARS)
   ============================================================ */
.ip7-screen[data-app="ispace"] .ip7-appnav {
  display: none !important;
}
.ip7-screen[data-app="ispace"] .ip7-status {
  background: #1d1f33 !important;
  color: #ffffff !important;
}
.ip7-screen[data-app="ispace"] .isp-ava {
  width: 34px !important;
  height: 34px !important;
  background: #b8c2d8 !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.ip7-screen[data-app="ispace"] .isp-ava > * {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.ip7-screen[data-app="ispace"] .isp-cd-box {
  background: #0a0a0e !important;
  border: 1px solid #26283d !important;
  padding: 6px 10px !important;
  justify-content: space-between !important;
}
.ip7-screen[data-app="ispace"] .isp-cd-ico {
  width: 54px !important;
  height: 54px !important;
}
.ip7-screen[data-app="ispace"] .isp-play-btn {
  background: linear-gradient(180deg, #f3f4f6 0%, #cfd4de 100%) !important;
  border: 1px solid #6b7280 !important;
  color: #111111 !important;
  padding: 4px 12px !important;
  font-size: 11.5px !important;
}


/* ============================================================
   QA POLISH: DARK THEME ROOM BUTTON CONTRAST & GARDEROBE FIT
   ============================================================ */
body.dark-theme .rp-sec .btn:not(.primary):not(.danger),
body.dark-theme .room-panel .btn:not(.primary):not(.danger) {
  color: #e5e7eb !important;
  background: #2c2c30 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
body.dark-theme .rp-sec .btn.primary,
body.dark-theme .room-panel .btn.primary {
  color: #ffffff !important;
}
.wd-modal {
  max-height: 86dvh !important;
  display: flex !important;
  flex-direction: column !important;
}
.wd-modal .wd-body,
.wd-modal .wd-grid {
  min-height: 0 !important;
  overflow-y: auto !important;
}


/* ============================================================
   TELEFON AVATARS + SLEEK DARK CRIMSON BOUNTY APP
   ============================================================ */
.ph-mini-ava {
  width: 30px !important;
  height: 30px !important;
  border-radius: 7px !important;
  background: #27272a !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  flex: none !important;
}
.ph-mini-ava > * {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.ph-fr-badge {
  display: inline-block !important;
  margin-left: 5px !important;
  padding: 1px 5px !important;
  border-radius: 999px !important;
  background: rgba(52, 199, 89, 0.18) !important;
  color: #22c55e !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  vertical-align: middle !important;
}

.ip7-screen[data-app="bounty"] .ip7-status {
  background: #14080a !important;
  color: #ffffff !important;
}
.ip7-screen[data-app="bounty"] .ip7-appnav {
  background: #1a0a0d !important;
  border-bottom: 1px solid rgba(239, 68, 68, 0.25) !important;
}
.ip7-screen[data-app="bounty"] .ip7-appnav-title {
  color: #ffffff !important;
}
.ip7-screen[data-app="bounty"] .ip7-back {
  color: #ff5e57 !important;
}
.ip7-screen[data-app="bounty"] .ip7-screen-body {
  background: #111114 !important;
  color: #f5f5f7 !important;
  padding: 8px !important;
  gap: 8px !important;
}
.bnt-banner {
  background: linear-gradient(135deg, #b91c1c 0%, #5c0a0a 100%) !important;
  border: 1px solid rgba(255, 94, 87, 0.35) !important;
  border-radius: 12px !important;
  padding: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #ffffff !important;
}
.bnt-ico {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  flex: none !important;
}
.bnt-banner b {
  display: block !important;
  font-size: 13px !important;
  letter-spacing: 0.7px !important;
}
.bnt-banner small {
  display: block !important;
  font-size: 10px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-top: 2px !important;
}
.bnt-card {
  background: #1b1b20 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}
.bnt-sec {
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  color: #ff5e57 !important;
}
.bnt-inp {
  background: #111114 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
}
.bnt-inp::placeholder {
  color: #71717a !important;
}
.bnt-presets {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 5px !important;
}
.bnt-chip {
  background: #27272e !important;
  color: #e4e4e7 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 7px !important;
  padding: 5px 2px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.bnt-chip:hover {
  background: #3f1d20 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}
.bnt-go {
  background: linear-gradient(180deg, #ff453a 0%, #c81e1e 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  padding: 9px !important;
}
.bnt-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}
.bnt-row {
  background: #1b1b20 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 10px !important;
  padding: 7px 9px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
.bnt-row-l {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.bnt-meta {
  min-width: 0 !important;
}
.bnt-meta b {
  display: block !important;
  font-size: 12px !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.bnt-meta small {
  display: block !important;
  font-size: 10px !important;
  color: #9ca3af !important;
}
.bnt-amt {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  background: rgba(239, 68, 68, 0.16) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #ff6b6b !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  flex: none !important;
}
.bnt-pick-btn {
  background: rgba(239, 68, 68, 0.18) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #ff6b6b !important;
  border-radius: 7px !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  flex: none !important;
}
.bnt-empty {
  background: #18181c !important;
  border: 1px dashed rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 14px 10px !important;
  text-align: center !important;
  color: #71717a !important;
  font-size: 11.5px !important;
}

.ph-ftabs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 5px !important;
  background: rgba(0, 0, 0, 0.06) !important;
  padding: 3px !important;
  border-radius: 9px !important;
}
.ph-ftab {
  background: transparent !important;
  border: none !important;
  border-radius: 7px !important;
  padding: 5px 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #555a66 !important;
  cursor: pointer !important;
}
.ph-ftab.on {
  background: #ffffff !important;
  color: #007aff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14) !important;
}


/* ============================================================
   iPHONE & iPOD ALWAYS IN FRONT OF EVERYTHING (TOP Z-INDEX)
   ============================================================ */
.hc-overlay.ip7-overlay,
.hc-overlay.ipod-top-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(0, 0, 0, 0.56) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: env(safe-area-inset-top, 10px) 10px env(safe-area-inset-bottom, 10px) !important;
  box-sizing: border-box !important;
}


/* ============================================================
   MOBILE PROFILE MODAL (.pw-card) FIX: FULL AVATAR + ALL ACTIONS VISIBLE & SCROLLABLE
   ============================================================ */
.pw-mid {
  overflow: visible !important;
  justify-content: center !important;
}
.pw-avatar canvas,
.pw-avatar .fig {
  width: min(100%, 152px) !important;
  height: auto !important;
  max-height: 264px !important;
  object-fit: contain !important;
}

@media (max-width: 640px) {
  .pw-overlay {
    align-items: center !important;
    justify-content: center !important;
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
  }
  .pw-card {
    width: min(420px, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 24px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }
  .pw-body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 118px !important;
    grid-auto-rows: max-content !important;
    align-content: start !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding-bottom: 14px !important;
  }
  .pw-mid {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 8px 0 6px 8px !important;
    padding: 10px 8px 8px !important;
    justify-content: center !important;
    overflow: visible !important;
  }
  .pw-avatar {
    align-items: center !important;
    min-height: 0 !important;
  }
  .pw-avatar canvas,
  .pw-avatar .fig {
    width: min(100%, 106px) !important;
    height: auto !important;
    max-height: 184px !important;
    object-fit: contain !important;
  }
  .pw-bubble {
    margin-top: 8px !important;
    padding: 7px 10px !important;
    font-size: 12.5px !important;
  }
  .pw-right {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 8px 8px 6px 6px !important;
  }
  .pw-left {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    padding: 6px 10px 12px !important;
    gap: 6px !important;
  }
  .pw-sec {
    margin: 6px 6px 3px !important;
    font-size: 11.5px !important;
  }
  .pw-btn {
    min-height: 38px !important;
    padding: 8px 12px !important;
    font-size: 14.5px !important;
  }
}


/* iTunes Loop active button state */
.itunes-shuffle.on {
  background: #fa233b !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(250, 35, 59, 0.35) !important;
}


/* ============================================================
   iSPACE — DARK iOS LIQUID GLASS REDESIGN
   ============================================================ */
.isp-root {
  background: #000000 !important;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif !important;
  position: relative !important;
}
.isp-hdr {
  background: #000000 !important;
  color: #ffffff !important;
  padding: 10px 14px 6px !important;
  border-bottom: none !important;
}
.isp-brand {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  color: #ffffff !important;
  gap: 7px !important;
}
.isp-logo svg path {
  fill: #ffffff !important;
}
.isp-logo svg circle {
  fill: #000000 !important;
}
.isp-plus {
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 30% 25%, rgba(120, 125, 165, 0.45), rgba(40, 42, 60, 0.85)) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}
.isp-status-bar {
  background: linear-gradient(180deg, rgba(28, 28, 32, 0.92), rgba(18, 18, 22, 0.95)) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  border-radius: 18px !important;
  margin: 4px 10px 6px !important;
  padding: 8px 10px !important;
  gap: 8px !important;
}
.isp-ava {
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #2d314d, #181a28) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  overflow: hidden !important;
}
.isp-quick-inp {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 7px 10px !important;
  color: #ffffff !important;
  font-size: 12px !important;
}
.isp-quick-inp::placeholder {
  color: rgba(255, 255, 255, 0.48) !important;
}
.isp-compose-extra {
  background: rgba(24, 24, 28, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  margin: 0 10px 6px !important;
  padding: 8px 10px !important;
}
.isp-mini-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  padding: 5px 10px !important;
}
.isp-sel {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  padding: 5px 8px !important;
}
.isp-sel option {
  background: #141418 !important;
  color: #ffffff !important;
}
.isp-post-go {
  background: #0a84ff !important;
  border-radius: 999px !important;
  padding: 5px 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.isp-search-wrap {
  background: transparent !important;
  border-bottom: none !important;
  padding: 2px 10px 6px !important;
}
.isp-feed {
  background: #000000 !important;
  padding: 4px 10px 10px !important;
  gap: 10px !important;
}
.isp-card {
  background: linear-gradient(180deg, #1b1b1f 0%, #101013 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  border-radius: 20px !important;
  padding: 12px !important;
  gap: 8px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55) !important;
}
.isp-card-who b {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.isp-card-txt {
  color: #e5e5ea !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}
.isp-dots {
  color: rgba(255, 255, 255, 0.4) !important;
}
.isp-card-img {
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.isp-cd-box {
  background: radial-gradient(circle at 50% 100%, rgba(56, 132, 255, 0.28), rgba(14, 16, 26, 0.94) 70%) !important;
  border: 1px solid rgba(110, 160, 255, 0.24) !important;
  border-radius: 16px !important;
  padding: 10px 12px !important;
}
.isp-play-btn {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  padding: 4px 12px !important;
  font-size: 11px !important;
  backdrop-filter: none !important;
}
.isp-likes-line {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 11px !important;
}
.isp-card-acts {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 7px !important;
}
.isp-act {
  color: rgba(255, 255, 255, 0.7) !important;
  border-radius: 999px !important;
  padding: 4px 8px !important;
}
.isp-act.on {
  color: #ff375f !important;
}
.isp-cmts {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 12px !important;
  padding: 7px 8px !important;
}
.isp-cmt-row {
  color: rgba(255, 255, 255, 0.85) !important;
}
.isp-cmt-inp {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  padding: 5px 10px !important;
}
.isp-botnav {
  background: linear-gradient(180deg, rgba(46, 52, 74, 0.68), rgba(20, 24, 38, 0.86)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  margin: 4px 10px 8px !important;
  padding: 4px !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
  gap: 3px !important;
}
.isp-btab {
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  padding: 6px 4px !important;
  gap: 2px !important;
  transition: background 0.15s, color 0.15s !important;
}
.isp-btab.on {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #38bdf8 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}
.ispace-empty {
  color: rgba(255, 255, 255, 0.5) !important;
  text-align: center !important;
  padding: 20px 10px !important;
}


/* ============================================================
   PHONE SEARCHBAR SIZE + BLACK APP OUTLINES + SVG ICON ALIGN
   ============================================================ */
.ip7-screen-body > .ip7-inp,
.ip7-screen[data-app="phone"] .ip7-inp,
.ip7-screen[data-app="messages"] .ip7-inp {
  flex: 0 0 auto !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 38px !important;
  padding: 6px 10px !important;
  box-sizing: border-box !important;
}
.ip7-screen,
.ip7-screen.is-app {
  border: 1px solid #000000 !important;
  box-shadow: none !important;
}
.ip7-screen.is-app[data-app="ispace"],
.ip7-screen.is-app[data-app="bounty"],
.ip7-screen.is-app[data-app="camera"],
.ip7-screen.is-app[data-app="ipod"] {
  background: #000000 !important;
  border-color: #000000 !important;
}
.isp-btab-ico {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 19px !important;
}
.itunes-shuffle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* ============================================================
   VIPPS DARK BENTO REDESIGN (IMAGE 4)
   ============================================================ */
.ip7-screen.is-app[data-app="vipps"] {
  background: #190c07 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}
.ip7-screen.is-app[data-app="vipps"] .ip7-status {
  background: #190c07 !important;
  color: #ffffff !important;
}
.ip7-screen.is-app[data-app="vipps"] .ip7-appbar {
  background: #190c07 !important;
  border-bottom: 1px solid rgba(255, 130, 80, 0.12) !important;
  color: #ffffff !important;
}
.ip7-screen.is-app[data-app="vipps"] .ip7-appbar-title {
  color: #ffffff !important;
}
.ip7-screen.is-app[data-app="vipps"] .ip7-back {
  color: #ff5b24 !important;
}
.ip7-screen.is-app[data-app="vipps"] .ip7-screen-body {
  background: #190c07 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.vp-root {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
  background: #190c07 !important;
  padding: 10px 10px 12px !important;
  box-sizing: border-box !important;
  gap: 10px !important;
}
.vp-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}
.vp-bento {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}
.vp-big-sq {
  grid-row: span 2 !important;
  background: linear-gradient(155deg, #8b2509 0%, #631804 100%) !important;
  border-radius: 20px !important;
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 158px !important;
  cursor: pointer !important;
  box-shadow: inset 0 1px 0 rgba(255, 180, 140, 0.18) !important;
}
.vp-sq-ico {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #22110b !important;
  display: grid !important;
  place-items: center !important;
}
.vp-sq-card {
  margin: 8px 0 4px !important;
  background: rgba(25, 12, 7, 0.36) !important;
  border: 1px solid rgba(255, 180, 140, 0.16) !important;
  border-radius: 11px !important;
  padding: 7px 8px !important;
}
.vp-sq-bank {
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.7px !important;
  color: rgba(255, 200, 175, 0.75) !important;
}
.vp-sq-num {
  font-size: 11px !important;
  font-family: monospace !important;
  color: #ffd5c2 !important;
  margin-top: 2px !important;
}
.vp-sq-bal {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-top: 2px !important;
}
.vp-sq-name {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #ffd0b8 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.vp-sq-sub {
  font-size: 10.5px !important;
  color: rgba(255, 208, 184, 0.72) !important;
}
.vp-pill-card {
  background: #2d1811 !important;
  border: none !important;
  border-radius: 18px !important;
  padding: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: left !important;
  cursor: pointer !important;
  min-height: 74px !important;
  color: #ffffff !important;
}
.vp-pill-card.empty {
  opacity: 0.7 !important;
}
.vp-ava {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #f5b389 !important;
  color: #4a1c08 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  display: grid !important;
  place-items: center !important;
  flex: none !important;
  overflow: hidden !important;
}
.vp-ava canvas,
.vp-ava img {
  width: 36px !important;
  height: 36px !important;
  object-fit: cover !important;
}
.vp-ava.empty {
  background: rgba(245, 179, 137, 0.2) !important;
  color: #f5b389 !important;
  font-size: 18px !important;
}
.vp-pill-name {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  word-break: break-word !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}
.vp-dock {
  flex: none !important;
  margin: 0 auto !important;
  background: #ff5b24 !important;
  border-radius: 999px !important;
  padding: 7px 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55) !important;
}
.vp-dock-btn {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.85) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 2px 4px !important;
}
.vp-dock-btn.on {
  color: #ffffff !important;
  transform: scale(1.06) !important;
}
.vp-dock-ico {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 20px !important;
}
.vp-sheet {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.vp-sheet-hd {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 2px 2px 4px !important;
  color: #ffffff !important;
  font-size: 14px !important;
}
.vp-bal-pill {
  background: rgba(255, 91, 36, 0.22) !important;
  color: #ff8a5c !important;
  border: 1px solid rgba(255, 91, 36, 0.35) !important;
  border-radius: 999px !important;
  padding: 2px 9px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
.vp-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}
.vp-inp {
  width: 100% !important;
  height: 38px !important;
  box-sizing: border-box !important;
  background: #2d1811 !important;
  border: 1px solid rgba(255, 160, 120, 0.2) !important;
  border-radius: 12px !important;
  padding: 8px 11px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  outline: none !important;
}
.vp-inp::placeholder {
  color: rgba(255, 210, 190, 0.45) !important;
}
.vp-go-btn {
  background: #ff5b24 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 10px 14px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  margin-top: 2px !important;
}
.vp-slist {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.vp-srow {
  width: 100% !important;
  background: #2d1811 !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 8px 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  text-align: left !important;
  cursor: pointer !important;
  color: #ffffff !important;
}
.vp-smeta {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.vp-smeta b {
  display: block !important;
  font-size: 13px !important;
  color: #ffffff !important;
}
.vp-smeta small {
  font-size: 10.5px !important;
  color: rgba(255, 210, 190, 0.55) !important;
}
.vp-sgo {
  color: #ff5b24 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  flex: none !important;
}
.vp-empty {
  color: rgba(255, 210, 190, 0.5) !important;
  text-align: center !important;
  padding: 18px 8px !important;
  font-size: 12px !important;
}


/* ============================================================
   MELDINGER INPUT ROW + VIPPS DARK APPBAR & HISTORY POLISH
   ============================================================ */
.ip7-add-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.ip7-add-row .ip7-inp {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
}
.ip7-add-row .ip7-btn {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}
.ip7-screen[data-app="vipps"] .ip7-appbar {
  background: #190c07 !important;
  border-bottom: 1px solid rgba(255, 130, 80, 0.14) !important;
}
.ip7-screen[data-app="vipps"] .ip7-appbar b,
.ip7-screen[data-app="vipps"] .ip7-appbar-title {
  color: #ffffff !important;
}
.vp-big-sq {
  justify-content: space-between !important;
  padding: 14px 12px !important;
}
.vp-no-fr {
  background: #2d1811 !important;
  border-radius: 18px !important;
  padding: 14px 12px !important;
  color: rgba(255, 210, 190, 0.65) !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  display: flex !important;
  align-items: center !important;
}
.vp-back-pill {
  background: rgba(255, 255, 255, 0.08) !important;
  border: none !important;
  border-radius: 999px !important;
  color: #ff8a5c !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 4px 9px !important;
  cursor: pointer !important;
}
.vp-sub-lbl {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  color: rgba(255, 210, 190, 0.55) !important;
  margin: 4px 2px 0 !important;
}
.vp-card-summary {
  background: linear-gradient(155deg, #8b2509 0%, #5e1704 100%) !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.vp-hrow {
  background: #2d1811 !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
.vp-hmeta b {
  display: block !important;
  font-size: 13px !important;
  color: #ffffff !important;
}
.vp-hmeta small {
  font-size: 10.5px !important;
  color: rgba(255, 210, 190, 0.55) !important;
}
.vp-hamt {
  font-size: 13px !important;
  font-weight: 800 !important;
  flex: none !important;
}
.vp-hamt.in {
  color: #4ade80 !important;
}
.vp-hamt.out {
  color: #ff7b54 !important;
}
.vp-srow.sel {
  border: 1px solid #ff5b24 !important;
  background: #3a1e14 !important;
}
.vp-dock {
  gap: 34px !important;
  padding: 7px 28px !important;
}


/* ============================================================
   SAFARI DARK START PAGE (PHONE UPDATES + FAVORITES GRID)
   ============================================================ */
.ip7-screen.is-app[data-app="safari"] {
  background: #121214 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}
.ip7-screen.is-app[data-app="safari"] .ip7-status {
  background: #121214 !important;
  color: #ffffff !important;
}
.ip7-screen.is-app[data-app="safari"] .ip7-appbar {
  background: #121214 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.ip7-screen.is-app[data-app="safari"] .ip7-appbar b,
.ip7-screen.is-app[data-app="safari"] .ip7-appbar-title {
  color: #ffffff !important;
}
.ip7-screen.is-app[data-app="safari"] .ip7-back {
  color: #2b90ff !important;
}
.ip7-screen.is-app[data-app="safari"] .ip7-screen-body {
  background: #121214 !important;
  padding: 0 !important;
}
.saf-root {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 12px 12px 18px !important;
  background: #121214 !important;
  min-height: 100% !important;
  box-sizing: border-box !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif !important;
}
.saf-upd-card {
  position: relative !important;
  background: #222226 !important;
  border-radius: 18px !important;
  padding: 14px 14px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}
.saf-upd-x {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.24) !important;
  color: #121214 !important;
  border: none !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.saf-upd-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.saf-collage {
  position: relative !important;
  width: 210px !important;
  height: 68px !important;
  margin: 2px auto !important;
}
.saf-cico {
  position: absolute !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 11px !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}
.saf-cico svg {
  width: 24px !important;
  height: 24px !important;
}
.saf-cico.c1 { left: 4px; top: 18px; z-index: 1; transform: scale(0.88); }
.saf-cico.c2 { left: 36px; top: 4px; z-index: 2; }
.saf-cico.c3 { left: 76px; top: 14px; z-index: 4; transform: scale(1.08); }
.saf-cico.c4 { left: 118px; top: 4px; z-index: 3; }
.saf-cico.c5 { left: 158px; top: 16px; z-index: 2; transform: scale(0.92); }
.saf-upd-desc {
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  color: rgba(255, 255, 255, 0.62) !important;
  max-width: 230px !important;
}
.saf-upd-btn {
  width: 100% !important;
  background: #2b90ff !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 9px 14px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.saf-sec-h {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 2px 2px -4px !important;
  letter-spacing: -0.2px !important;
}
.saf-fav-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px 8px !important;
}
.saf-fav-item {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
}
.saf-fav-ico {
  width: 52px !important;
  height: 52px !important;
  border-radius: 13px !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.saf-fav-lbl {
  font-size: 10.5px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-align: center !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 64px !important;
}


/* Keep Legg til / Send button cleanly inside Meldinger frame */
.ip7-screen[data-app="messages"] .ip7-add-row,
.ip7-screen[data-app="dm"] .ip7-add-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.ip7-screen[data-app="messages"] .ip7-add-row .ip7-inp,
.ip7-screen[data-app="dm"] .ip7-add-row .ip7-inp {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: 0 !important;
  max-width: 100% !important;
}
.ip7-screen[data-app="messages"] .ip7-add-row .ip7-btn,
.ip7-screen[data-app="dm"] .ip7-add-row .ip7-btn {
  flex: 0 0 auto !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}


/* ============================================================
   1) SAFARI LIGHT THEME + 2) UNIFIED LIGHT HEADERS (EXCEPT iSPACE) + 3) IPOD WHEEL SVG
   ============================================================ */
.ipw-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6b7280 !important;
}

/* Unified clean light iOS status bar + appbar on ALL phone apps EXCEPT iSpace */
.ip7-screen.is-app:not([data-app="ispace"]) .ip7-status {
  background: #f7f7f7 !important;
  color: #000000 !important;
  text-shadow: none !important;
}
.ip7-screen.is-app:not([data-app="ispace"]) .ip7-appbar {
  background: #f7f7f7 !important;
  color: #000000 !important;
  border-bottom: 0.5px solid #d1d1d6 !important;
  box-shadow: none !important;
}
.ip7-screen.is-app:not([data-app="ispace"]) .ip7-appbar b,
.ip7-screen.is-app:not([data-app="ispace"]) .ip7-appbar-title {
  color: #000000 !important;
  font-weight: 700 !important;
}
.ip7-screen.is-app:not([data-app="ispace"]) .ip7-back {
  color: #007aff !important;
}

/* Safari Light Theme */
.ip7-screen.is-app[data-app="safari"],
.ip7-screen.is-app[data-app="safari"] .ip7-screen-body,
.saf-root {
  background: #f2f2f7 !important;
  color: #1c1c1e !important;
}
.saf-upd-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}
.saf-upd-x {
  background: rgba(0, 0, 0, 0.08) !important;
  color: #3c3c43 !important;
}
.saf-upd-title {
  color: #1c1c1e !important;
}
.saf-upd-desc {
  color: #636366 !important;
}
.saf-sec-h {
  color: #1c1c1e !important;
}
.saf-fav-ico {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.saf-fav-lbl {
  color: #1c1c1e !important;
  font-weight: 600 !important;
}


/* ============================================================
   UNIFIED LIGHT PHONE HEADER + THIN BLACK LINE (ALL APPS EXCEPT iSPACE)
   ============================================================ */
.ip7-device .ip7-screen.is-app:not([data-app="ispace"]) .ip7-status {
  background: #f7f7f7 !important;
  color: #000000 !important;
  text-shadow: none !important;
}
.ip7-device .ip7-screen.is-app:not([data-app="ispace"]) .ip7-appnav {
  background: #f7f7f7 !important;
  color: #000000 !important;
  border-bottom: 1px solid #000000 !important;
  box-shadow: none !important;
}
.ip7-device .ip7-screen.is-app:not([data-app="ispace"]) .ip7-app-title {
  color: #000000 !important;
  font-weight: 700 !important;
}
.ip7-device .ip7-screen.is-app:not([data-app="ispace"]) .ip7-back {
  color: #007aff !important;
}


/* ============================================================
   PERFORMANCE OPTIMIZATIONS: REDUCE GPU BLUR COMPOSITING OVER LIVE CANVAS
   ============================================================ */
.stage {
  contain: layout style !important;
}
.pw-overlay,
.hc-overlay,
.cd-overlay,
.nb-overlay,
.cf-overlay,
.wd-overlay,
.ip7-overlay,
.ipod-top-overlay {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
@media (max-width: 900px) {
  .mac-menubar,
  .pw-head-bar,
  .isp-botnav,
  .isp-play-btn {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}


/* ============================================================
   MACOS THEME FIX FOR .center-screen .panel.auth ("Allerede åpen" etc.)
   ============================================================ */
.center-screen .panel.auth,
.center-screen .panel {
  background: rgba(246, 246, 248, 0.96) !important;
  color: #1d1d1f !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  border-radius: 14px !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.35), 0 0 0 0.5px rgba(255, 255, 255, 0.65) inset !important;
  padding: 22px 24px !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif !important;
}
.center-screen .panel.auth h1,
.center-screen .panel h1,
.center-screen .panel h2 {
  color: #1d1d1f !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px !important;
  text-shadow: none !important;
}
.center-screen .panel.auth p,
.center-screen .panel p {
  color: #3a3a3c !important;
  line-height: 1.45 !important;
  text-shadow: none !important;
}
body.dark-theme .center-screen .panel.auth,
body.dark-theme .center-screen .panel {
  background: rgba(28, 28, 32, 0.94) !important;
  color: #f5f5f7 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 255, 255, 0.1) inset !important;
}
body.dark-theme .center-screen .panel.auth h1,
body.dark-theme .center-screen .panel h1,
body.dark-theme .center-screen .panel h2 {
  color: #ffffff !important;
}
body.dark-theme .center-screen .panel.auth p,
body.dark-theme .center-screen .panel p {
  color: #d1d1d6 !important;
}


/* ============================================================
   COMPACT GARDEROBE PRICE BADGE + PROPER CREDIT-CARD SHAPED WALLET CARD
   ============================================================ */
.wd-badge {
  position: absolute !important;
  top: 3px !important;
  right: 3px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: calc(100% - 6px) !important;
  padding: 1px 4px !important;
  border-radius: 4px !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  background: rgba(12, 12, 14, 0.76) !important;
  letter-spacing: -0.1px !important;
  pointer-events: none !important;
  z-index: 3 !important;
}
.bsd-card {
  flex: 0 0 auto !important;
  width: 100% !important;
  aspect-ratio: 1.586 / 1 !important;
  min-height: 158px !important;
  height: auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 6px !important;
  padding: 13px 15px !important;
  overflow: hidden !important;
}
.bsd-card-mid {
  margin: 0 !important;
}
.bsd-card-num {
  font-size: 13px !important;
  letter-spacing: 1.4px !important;
}


/* ============================================================
   WALL iSPACE BOARD (.ib-card) — MATCH DARK iOS LIQUID GLASS iSPACE THEME
   ============================================================ */
.ib-card {
  background: #000000 !important;
  color: #ffffff !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif !important;
  max-height: min(640px, 86dvh) !important;
}
.ib-nav {
  background: #000000 !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 6px 14px !important;
  height: 50px !important;
}
.ib-nav:after {
  display: none !important;
}
.ib-nav-t {
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.4px !important;
  text-shadow: none !important;
}
.ib-navbtn {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 5px 12px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  height: auto !important;
  line-height: 1.2 !important;
}
.ib-body,
.ib-body.paper,
.ib-body.paper.margin {
  background: #000000 !important;
  background-image: none !important;
}
.ib-list {
  padding: 10px 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  min-height: 0 !important;
}
.ib-post {
  background: linear-gradient(180deg, #1b1b1f 0%, #101013 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  border-radius: 20px !important;
  padding: 12px 14px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55) !important;
  cursor: default !important;
}
.ib-post:active {
  background: linear-gradient(180deg, #1b1b1f 0%, #101013 100%) !important;
}
.ib-orb {
  background: linear-gradient(135deg, #2d314d, #181a28) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
}
.ib-name {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}
.ib-time {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 11px !important;
}
.ib-text {
  color: #e5e5ea !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  margin: 7px 0 0 !important;
}
.ib-ptitle {
  color: #7dd3fc !important;
  background: radial-gradient(circle at 50% 100%, rgba(56, 132, 255, 0.22), rgba(14, 16, 26, 0.9) 70%) !important;
  border: 1px solid rgba(110, 160, 255, 0.22) !important;
  border-radius: 12px !important;
  padding: 7px 10px !important;
  margin-top: 8px !important;
  font-weight: 600 !important;
}
.ib-img {
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 8px !important;
}
.ib-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-top: 9px !important;
  padding-top: 7px !important;
  display: flex !important;
  gap: 14px !important;
}
.ib-act {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.ib-comments {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 8px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.ib-c {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 11.5px !important;
  border: none !important;
  padding: 0 !important;
}
.ib-empty {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 13px !important;
  text-align: center !important;
  padding: 36px 16px !important;
}


/* ============================================================
   FULL UNCROPPED IMAGE SIZE ON iSPACE BOARD & iSPACE APP
   ============================================================ */
.ib-card .isp-card-img,
.isp-card-img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  background: #0a0a0d !important;
  border-radius: 14px !important;
}
.ib-card .isp-ava {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
}

/* ============================================================
   MODERATOR PANEL - GAME DARK GLASS THEME & HIGH CONTRAST
   ============================================================ */
.mp {
  color: #f3f4f6 !important;
  background: transparent !important;
  padding-top: 4px !important;
  grid-template-rows: auto auto minmax(0, 1fr) !important;
}

.mp-head {
  padding: 10px 14px 6px !important;
  color: #ffffff !important;
}

.mp-head strong {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.2px !important;
}

.mp-head .hint,
.mp .hint,
.mp .hint.pad {
  color: #9ca3af !important;
}

.mp-tabs {
  padding: 4px 14px 10px !important;
  gap: 6px !important;
}

.mp-find .mini-input {
  width: 145px !important;
  flex: 0 1 160px !important;
  min-height: 30px !important;
  padding: 4px 9px !important;
}

.mp-tab {
  background: rgba(34, 37, 46, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  color: #e5e7eb !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 6px 13px !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease !important;
}

.mp-tab:hover {
  background: rgba(52, 57, 70, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}

.mp-tab.on,
.mp-tab.on:hover {
  background: linear-gradient(180deg, #2b86ff, #0a68e6) !important;
  border-color: rgba(120, 185, 255, 0.65) !important;
  color: #ffffff !important;
}

.mp .mini-input,
.mp input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.mp select,
.mp textarea {
  background: rgba(14, 16, 22, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 9px !important;
  color: #f9fafb !important;
  font-size: 13px !important;
  box-shadow: none !important;
}

.mp .mini-input::placeholder,
.mp input::placeholder,
.mp textarea::placeholder {
  color: #7c8496 !important;
}

.mp .mini-input:focus,
.mp input:not([type="checkbox"]):focus,
.mp textarea:focus {
  border-color: #0a84ff !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.25) !important;
}

.mp .btn,
.page-back .btn {
  background: rgba(38, 42, 54, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 9px !important;
  color: #f3f4f6 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.mp .btn:hover,
.page-back .btn:hover {
  background: rgba(54, 60, 76, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

.mp .btn.primary,
.mp .btn.small.primary {
  background: #0a84ff !important;
  border-color: rgba(120, 185, 255, 0.55) !important;
  color: #ffffff !important;
}

.mp .btn.primary:hover,
.mp .btn.small.primary:hover {
  background: #2b95ff !important;
}

.mp .btn.danger,
.mp .btn.small.danger {
  background: #b91c1c !important;
  border-color: rgba(248, 113, 113, 0.45) !important;
  color: #ffffff !important;
}

.mp .btn.danger:hover,
.mp .btn.small.danger:hover {
  background: #dc2626 !important;
}

.mp-main {
  height: auto !important;
  min-height: 0 !important;
  gap: 12px !important;
  padding: 0 14px 62px !important;
}

.mp-center,
.mp-side {
  background: rgba(20, 22, 28, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 12px !important;
  color: #e5e7eb !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
}

.mp-bar {
  color: #cbd5e1 !important;
  padding: 2px 4px 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-bottom: 4px !important;
}

.mp-bar label {
  color: #e5e7eb !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
}

.mp-line {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 5px 6px !important;
  border-radius: 6px !important;
}

.mp-line:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

.mp-time {
  color: #8e94a4 !important;
}

.mp-room {
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  padding: 1px 7px !important;
}

.mp-name {
  color: #60a5fa !important;
  font-weight: 700 !important;
}

.mp-name:hover {
  color: #93c5fd !important;
  text-decoration: underline !important;
}

.mp-text {
  color: #f3f4f6 !important;
}

.mp-pname {
  color: #ffffff !important;
}

.mp-role {
  background: rgba(251, 191, 36, 0.2) !important;
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
  color: #fde68a !important;
}

.mp-sec {
  color: #93c5fd !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  letter-spacing: 0.4px !important;
}

.mp-status,
.mp-alt {
  color: #d1d5db !important;
}

.mp-card,
.mp .panel,
.mp .scroll-box,
.mp .poster-feed > * {
  background: rgba(28, 31, 40, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  border-radius: 10px !important;
  color: #f3f4f6 !important;
}

.mp-reason {
  background: rgba(14, 16, 22, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e5e7eb !important;
}

.mp .atable {
  color: #e5e7eb !important;
}

.mp .atable th {
  background: rgba(34, 38, 50, 0.98) !important;
  color: #e5e7eb !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  text-shadow: none !important;
}

.mp .atable td {
  color: #e5e7eb !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.mp .atable tr:hover td {
  background: rgba(255, 255, 255, 0.05) !important;
}

.mp .convo-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e5e7eb !important;
}

.mp .convo-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

.mp .adminstat .panel,
.mp .adminstat {
  color: #f3f4f6 !important;
}

.mp .pill {
  color: #ffffff !important;
  text-shadow: none !important;
}

/* ============================================================
   BEATSHOP IN THE GAME'S OWN LOOK
   Same dark panels, blue buttons and plain text as the rest of the
   game (chat bar, inventory, Send). Scoped to .bs so the iPod's
   SoundCloud app keeps its own style.
   ============================================================ */
.bs {
  background: #1c1c1e !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.6) !important;
}
.bs .sc-nav {
  background: rgba(28,28,30,.98) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
}
.bs .sc-nav-title { color: #fff !important; font-weight: 600 !important; text-shadow: none !important; }
.bs .sc-barbtn {
  background: rgba(255,255,255,.12) !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  font: 600 13px var(--font) !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
.bs .sc-barbtn:hover { background: rgba(255,255,255,.2) !important; }
.bs .sc-scroll, .bs .sc-body, .bs .bs-chatbg { background: #1c1c1e !important; color: #fff !important; }
.bs .sc-profilehead {
  background: #2c2c2e !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}
.bs .sc-ph-name { color: #fff !important; text-shadow: none !important; }
.bs .sc-ph-sub, .bs .sc-meta, .bs .bs-last, .bs .bs-note { color: rgba(235,235,245,.6) !important; }
.bs .sc-section { color: rgba(235,235,245,.6) !important; text-transform: none !important; letter-spacing: 0 !important; font: 600 12px var(--font) !important; }
.bs .sc-row {
  background: #2c2c2e !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.bs .sc-title { color: #fff !important; }
.bs .sc-art, .bs .sc-art.big {
  background: #3a3a3c !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  box-shadow: none !important;
}
.bs .sc-btn {
  border-radius: 8px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font: 600 13px var(--font) !important;
  background: rgba(255,255,255,.12) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.bs .sc-btn:hover:not(:disabled) { background: rgba(255,255,255,.2) !important; }
.bs .sc-btn.green, .bs .sc-btn.bs-buy, .bs .sc-btn.primary {
  background: #0a84ff !important;
  color: #fff !important;
}
.bs .sc-btn.green:hover:not(:disabled), .bs .sc-btn.bs-buy:hover:not(:disabled), .bs .sc-btn.primary:hover:not(:disabled) { background: #3395ff !important; }
.bs .sc-btn:disabled { opacity: .5 !important; }
.bs .sc-btn .sc-ico, .bs .bs-price { color: #fff !important; text-transform: none !important; }
.bs .bs-owned { color: #30d158 !important; }
/* upload form and its groups */
.bs .sc-group {
  background: #2c2c2e !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
}
.bs .sc-grow { border-top-color: rgba(255,255,255,.08) !important; }
.bs .sc-glabel { color: #fff !important; }
.bs input:not([type=range]):not([type=checkbox]), .bs textarea, .bs .bs-input {
  background: rgba(44,44,46,.9) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.35) !important;
}
.bs input[type=range] { accent-color: #0a84ff !important; }
.bs .bs-slot {
  background: #2c2c2e !important;
  border-color: rgba(255,255,255,.25) !important;
  color: #fff !important;
}
.bs .bs-slot small { color: rgba(235,235,245,.6) !important; }
.bs .bs-slot .sc-ico { color: #0a84ff !important; }
/* chat with the seller */
.bs .bs-thread { border-color: rgba(255,255,255,.08) !important; background: transparent !important; }
.bs .bs-when { color: #0a84ff !important; }
.bs .bs-msg-who { color: rgba(235,235,245,.6) !important; text-shadow: none !important; }
.bs .bs-bubble {
  background: #3a3a3c !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
}
.bs .bs-msg.me .bs-bubble { background: #0a84ff !important; color: #fff !important; }
.bs .bs-compose, .bs .bs-rapchip {
  background: rgba(28,28,30,.96) !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
  color: #fff !important;
}
.bs .bs-compose .sc-cbtn, .bs .bs-compose .sc-cbtn.plus {
  background: rgba(255,255,255,.12) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
}
.bs .bs-x { color: rgba(235,235,245,.6) !important; }
/* buy / confirm box */
.bs .bs-alert {
  background: #2c2c2e !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.6) !important;
}
.bs .bs-alert:after { display: none !important; }
.bs .bs-alert-title, .bs .bs-alert-msg { text-shadow: none !important; }
.bs .bs-alert-msg { color: rgba(235,235,245,.75) !important; }
.bs .bs-alert-msg.warn { color: #ff6961 !important; }
.bs .bs-alert-btn {
  background: rgba(255,255,255,.12) !important;
  border: 0 !important;
  border-radius: 8px !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
.bs .bs-alert-btn.ok { background: #0a84ff !important; }
.bs .sc-section { margin-bottom: 6px !important; }
.bs .sc-art.big .head { background: #3a3a3c !important; }

/* BeatShop: iOS dark grouped-form look (Settings-style) */
.bs .sc-section {
  padding: 18px 20px 6px !important;
  margin: 0 !important;
  line-height: 16px !important;
  overflow: visible !important;
  font: 400 12px var(--font) !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
  color: rgba(235,235,245,.6) !important;
}
.bs .sc-linen {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 16px 16px !important;
}
.bs .sc-note {
  text-shadow: none !important;
  color: rgba(235,235,245,.6) !important;
  font: 400 12px/1.35 var(--font) !important;
  padding: 6px 4px 8px !important;
  margin: 0 !important;
}
.bs .sc-group {
  border: 0 !important;
  border-radius: 10px !important;
  background: #2c2c2e !important;
}
.bs .sc-grow {
  min-height: 44px !important;
  padding: 0 16px !important;
  border-top: .5px solid rgba(84,84,88,.65) !important;
}
.bs .sc-grow:first-child { border-top: 0 !important; }
.bs .sc-glabel { font: 400 15px var(--font) !important; color: #fff !important; }
.bs .sc-field, .bs .sc-field.num,
.bs .sc-grow input:not([type=range]):not([type=checkbox]):not([type=file]) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  color: #fff !important;
  font: 400 15px var(--font) !important;
  height: 44px !important;
  padding: 0 !important;
  flex: 1 !important;
  min-width: 0 !important;
}
.bs .sc-field.num, .bs .sc-grow input[type=number] {
  flex: 0 0 90px !important;
  text-align: right !important;
  color: rgba(235,235,245,.6) !important;
}
.bs .sc-field::placeholder { color: rgba(235,235,245,.3) !important; }
.bs .sc-grow .sc-btn {
  background: transparent !important;
  color: #0a84ff !important;
  padding: 0 !important;
  font: 400 15px var(--font) !important;
}
.bs .sc-btn.blue, .bs .sc-btn.wide.blue {
  background: #0a84ff !important;
  color: #fff !important;
  height: 46px !important;
  border-radius: 10px !important;
  font: 600 16px var(--font) !important;
}
.bs .sc-btn.blue:disabled { opacity: 1 !important; background: #2c2c2e !important; color: rgba(235,235,245,.3) !important; }
.bs .sc-prog { background: rgba(255,255,255,.1) !important; border: 0 !important; border-radius: 3px !important; }
.bs .sc-prog i { background: #0a84ff !important; }
/* iOS tab bar */
.bs .bs-footer, .bs .sc-tabbar {
  background: rgba(22,22,24,.94) !important;
  background-image: none !important;
  border: 0 !important;
  border-top: .5px solid rgba(84,84,88,.65) !important;
  box-shadow: none !important;
}
.bs .sc-tab, .bs .sc-tab.on {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #8e8e93 !important;
}
.bs .sc-tab-ico, .bs .sc-tab .sc-ico { color: #8e8e93 !important; filter: none !important; }
.bs .sc-tab-label { color: #8e8e93 !important; font: 500 10px var(--font) !important; text-shadow: none !important; }
.bs .sc-tab.on .sc-tab-ico, .bs .sc-tab.on .sc-ico, .bs .sc-tab.on .sc-tab-label { color: #0a84ff !important; }
.bs .sc-section { height: auto !important; min-height: 0 !important; max-height: none !important; line-height: 16px !important; }
/* BeatShop filter chips as iOS dark pills */
.bs .sc-chips {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 2px 16px 10px !important;
}
.bs .sc-chip {
  background: #2c2c2e !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 16px !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
  font: 500 13px var(--font) !important;
  padding: 6px 14px !important;
  height: auto !important;
}
.bs .sc-chip.on { background: #0a84ff !important; color: #fff !important; }
.bs .sc-empty, .bs .bs-empty { color: rgba(235,235,245,.6) !important; text-shadow: none !important; }
/* BeatShop: play tiles */
.bs .sc-art.beat {
  flex: none !important;
  border: 0 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.4) !important;
  overflow: hidden !important;
}
.bs .sc-art.beat .bs-note { display: none !important; }
.bs .sc-art.beat .bs-tileplay { background: rgba(0,0,0,.45) !important; border-color: rgba(255,255,255,.9) !important; }
.bs .bs-beat { gap: 12px !important; }
.bs .bs-beat .sc-main { min-width: 0 !important; }
/* BeatShop: the game's CDs as beat icons (colour cycles per row), grey price button */
.bs .sc-art.beat {
  background: #3a3a3c url("../items/cd_flat_purple.svg") center / 78% no-repeat !important;
  image-rendering: pixelated !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  box-shadow: none !important;
}
.bs .sc-list > .bs-beat:nth-child(5n+2) .sc-art.beat { background-image: url("../items/cd_flat_yellow.svg") !important; }
.bs .sc-list > .bs-beat:nth-child(5n+3) .sc-art.beat { background-image: url("../items/cd_flat_green.svg") !important; }
.bs .sc-list > .bs-beat:nth-child(5n+4) .sc-art.beat { background-image: url("../items/cd_flat_orange.svg") !important; }
.bs .sc-list > .bs-beat:nth-child(5n+5) .sc-art.beat { background-image: url("../items/cd_flat_silver.svg") !important; }
.bs .sc-art.beat .bs-tileplay { background: rgba(0,0,0,.55) !important; }
.bs .sc-btn.bs-buy { background: rgba(255,255,255,.12) !important; color: #fff !important; }
.bs .sc-btn.bs-buy:hover:not(:disabled) { background: rgba(255,255,255,.2) !important; }

.hc-card .hc-name,.hc-card .hc-pname,.hc-card .hc-person,.hc-card .hc-label{color:#14202e}.hc-card .hc-tag{color:#5b6573}.hc-card .btn.primary:disabled{background:#0a84ff!important;color:#fff!important;border-color:#0a84ff!important;opacity:.45!important}

/* Hideout computer: dark-mode macOS Safari window */
.hc-overlay{background:#0000007a!important;backdrop-filter:blur(2px)}
.hc-card{--mfont:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Helvetica,Arial,sans-serif;font-family:var(--mfont)!important;background:#1e1e1e!important;color:#f5f5f7!important;border-radius:10px!important;border:1px solid #4a4a4c;box-shadow:0 0 0 .5px #000,0 22px 70px #000000b3!important}
.hc-card .hc-nav{position:relative;min-height:28px!important;height:28px;padding:0 10px!important;background:linear-gradient(#3a3a3c,#2c2c2e)!important;border-bottom:0!important;justify-content:center!important}
.hc-card .hc-tl{position:absolute;left:10px;top:8px;display:flex;gap:8px}
.hc-card .hc-tl i{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 .5px #0000004d;display:flex;align-items:center;justify-content:center;font:bold 9px/1 Arial,sans-serif;font-style:normal;color:transparent;cursor:pointer}
.hc-card .hc-tl:hover i{color:#0000008c}
.hc-card .hc-tl .r{background:#ff5f57}.hc-card .hc-tl .y{background:#febc2e}.hc-card .hc-tl .g{background:#28c840;cursor:default}
.hc-card .hc-title{font:600 13px var(--mfont)!important;color:#d8d8dc!important;text-shadow:none!important}
.hc-card .hc-nav-sp{display:none}
.hc-card .hc-toolbar{flex:none;display:flex;align-items:center;gap:8px;padding:4px 10px 8px;background:#2c2c2e;border-bottom:1px solid #000}
.hc-card .hc-navbtns{display:flex;gap:2px;flex:none}
.hc-card .hc-navbtns i{font-style:normal;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:6px;color:#8e8e93;font-size:17px;line-height:1}
.hc-card .hc-url{flex:1;margin:0!important;padding:4px 10px!important;border-radius:7px!important;background:#1c1c1e!important;border:1px solid #3a3a3c!important;box-shadow:none!important;font:13px var(--mfont)!important;color:#d1d1d6!important;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hc-card .hc-tabs{flex:none;display:flex;gap:2px;margin:8px 10px 2px;padding:2px;border-radius:8px;background:#3a3a3c!important;border:0!important}
.hc-card .hc-tab{flex:1;flex-direction:row!important;justify-content:center;gap:5px!important;padding:4px 2px!important;border-radius:6px;font:500 12px var(--mfont)!important;color:#d1d1d6!important;background:transparent!important;cursor:pointer;white-space:nowrap}
.hc-card .hc-tab.on{background:#636366!important;color:#fff!important;box-shadow:0 1px 2px #0006}
.hc-card .hc-tab-ico{font-size:13px!important;line-height:1;display:inline-flex;align-items:center}
.hc-card .hc-tab-ico svg{width:14px;height:14px}
.hc-card .hc-tab span:last-child{font-size:12px!important}
.hc-card .hc-body{background:#1e1e1e;padding:8px 12px 14px!important;gap:10px!important}
.hc-card .hc-body::-webkit-scrollbar{width:8px}.hc-card .hc-body::-webkit-scrollbar-thumb{background:#5a5a5e;border-radius:4px}
.hc-card .hc-hero,.hc-card .ht-hero{background:none!important;padding:6px 2px 0!important;border-radius:0!important;color:#f5f5f7!important}
.hc-card .hc-h1{font:700 22px var(--mfont)!important;letter-spacing:0!important;text-shadow:none!important;color:#f5f5f7}
.hc-card .hc-hero .hc-sub{color:#98989d!important;opacity:1!important;font-size:13px!important}
.hc-card .hc-card-row,.hc-card .hc-group{background:#2c2c2e!important;border:1px solid #3a3a3c!important;border-radius:10px!important}
.hc-card .hc-name,.hc-card .hc-pname,.hc-card .hc-person,.hc-card .hc-label,.hc-card .hc-person .hc-pname{color:#f5f5f7!important}
.hc-card .hc-label{color:#98989d!important;font-weight:600!important}
.hc-card .hc-blurb,.hc-card .hc-meta,.hc-card .hc-sub,.hc-card .hc-tag,.hc-card .hc-hint,.hc-card .hc-empty,.hc-card .hc-foot,.hc-card .hint,.hc-card .hc-group .hc-sub{color:#98989d!important}
.hc-card .hc-person,.hc-card .hc-member{border-top-color:#3a3a3c!important}
.hc-card .hc-input{background:#1c1c1e!important;color:#f5f5f7!important;border:1px solid #48484a!important;border-radius:7px!important;font:14px var(--mfont)!important;filter:none!important}
.hc-card .hc-input:focus{outline:none;border-color:#0a84ff!important;box-shadow:0 0 0 3px #0a84ff55}
.hc-card .hc-bar{background:#3a3a3c!important}
.hc-card .hc-fill{background:#0a84ff!important}
.hc-card .btn{font-family:var(--mfont)!important;border-radius:7px!important;background:#48484a!important;color:#f5f5f7!important;border:0!important;box-shadow:0 1px 1px #0005!important;text-shadow:none!important}
.hc-card .btn.primary{background:#0a84ff!important;color:#fff!important}
.hc-card .btn.danger{background:#ff453a!important;color:#fff!important}
.hc-card .btn:disabled{opacity:.45!important}
.hc-card .hc-chip{background:#3a3a3c!important;color:#d1d1d6!important;border:1px solid #48484a!important;font-family:var(--mfont)!important}
.hc-card .hc-chip.on{background:#0a84ff!important;color:#fff!important;border-color:#0a84ff!important}
.hc-card .landlord-body{background:#2c2c2e!important;color:#f5f5f7!important}
.hc-card .hc-person .head{background:#3a3a3c!important}

/* SoundCloud empty state card */
.sc .sc-empty.sc-empty-card{display:flex!important;flex-direction:column;align-items:center;gap:8px;margin:18px 14px!important;padding:28px 20px 24px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:14px!important;background:linear-gradient(180deg,#232326,#1a1a1c)!important;text-align:center;box-shadow:0 8px 24px #0006}
.sc .sc-empty-ico{flex:none;width:64px!important;height:64px!important;background-size:38px,100% 100%!important;border-radius:16px;margin-bottom:4px;background:linear-gradient(180deg,#ff7a1a,#ff3d00) center/38px no-repeat;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M10 9.5v8h8.6a3.4 3.4 0 0 0 .6-6.7A5.2 5.2 0 0 0 10 9.5zM8.6 10.4h.9v7.1h-.9zM7.1 11.3H8v6.2h-.9zM5.6 12h.9v5.5h-.9zM4.1 13h.9v4.5h-.9zM2.6 14.3h.9v3.2h-.9z'/></svg>"),linear-gradient(180deg,#ff7a1a,#ff3d00);box-shadow:0 6px 18px #ff550055}
.sc .sc-empty-h{font:700 17px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:#f5f5f7;letter-spacing:-.2px}
.sc .sc-empty-p{max-width:300px;font:13px/1.4 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:#98989d}
.sc .sc-empty-cta{margin-top:8px;padding:8px 18px;border:0;border-radius:8px;background:#ff5500;color:#fff;font:600 13px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;cursor:pointer;box-shadow:0 2px 8px #ff550059}
.sc .sc-empty-cta:hover{background:#ff6a1f}

/* SoundCloud inside the hideout computer: match the macOS window */
.hc-card .sc{background:#1e1e1e!important}
.hc-card .sc-nav{height:auto!important;min-height:0!important;padding:12px 16px 4px!important;background:#1e1e1e!important;border:0!important;box-shadow:none!important;justify-content:flex-start!important}
.hc-card .sc-nav-side{display:none!important}
.hc-card .sc-nav-title{flex:1;display:flex!important;align-items:center;gap:8px;text-align:left!important;text-transform:none!important;font:700 22px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;letter-spacing:-.3px!important;color:#f5f5f7!important}
.hc-card .sc-nav-title .sc-bat,.hc-card .sc-nav-title .sc-brand-hd svg{display:none!important}.hc-card .sc-brand-hd{display:flex!important;align-items:center}.hc-card .sc-brand-hd>span{font-size:0!important;letter-spacing:0!important}.hc-card .sc-brand-hd>span:after{content:"SoundCloud";font:700 22px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;letter-spacing:-.3px;color:#f5f5f7}
.hc-card .sc-nav-title:before{content:"";width:28px;height:28px;border-radius:7px;flex:none;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M10 9.5v8h8.6a3.4 3.4 0 0 0 .6-6.7A5.2 5.2 0 0 0 10 9.5zM8.6 10.4h.9v7.1h-.9zM7.1 11.3H8v6.2h-.9zM5.6 12h.9v5.5h-.9zM4.1 13h.9v4.5h-.9zM2.6 14.3h.9v3.2h-.9z'/></svg>") center/20px no-repeat,linear-gradient(180deg,#ff7a1a,#ff3d00)}
.hc-card .sc-segbar{background:#1e1e1e!important;border:0!important;box-shadow:none!important;padding:8px 16px 6px!important}
.hc-card .sc-seg{height:auto!important;border-radius:8px!important;background:#3a3a3c!important;border:0!important;padding:2px!important;gap:2px!important}
.hc-card .sc-seg-btn{border-radius:6px!important;padding:5px 10px!important;font:500 12.5px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;color:#d1d1d6!important;display:flex!important;align-items:center;justify-content:center;gap:6px}
.hc-card .sc-seg-btn.on{background:#636366!important;color:#fff!important;box-shadow:0 1px 2px #0006!important}
.hc-card .sc-seg-btn .sc-ico{width:14px!important;height:14px!important}
.hc-card .sc-scroll,.hc-card .sc-body{background:#1e1e1e!important}
.hc-card .sc-list,.hc-card .sc-clean-list{margin:6px 12px!important;border-radius:10px!important;overflow:hidden;background:#2c2c2e!important;border:1px solid #3a3a3c!important}
.hc-card .sc-list>*{background:#2c2c2e!important;border-bottom:1px solid #3a3a3c!important}
.hc-card .sc-list>*:last-child{border-bottom:0!important}
.hc-card .sc-btn{border-radius:7px!important}
.hc-card .scu-form{margin:6px 12px!important}
.hc-card .scu-form{display:flex!important;flex-direction:column;gap:8px!important;margin:10px 16px!important;padding:16px!important;border-radius:12px!important;background:#2c2c2e!important;border:1px solid #3a3a3c!important}
.hc-card .scu-lbl{font:600 11px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;color:#98989d!important;letter-spacing:.4px!important;text-transform:uppercase;margin-top:2px}
.hc-card .scu-inp{box-sizing:border-box;width:100%;padding:8px 10px!important;border-radius:7px!important;background:#1c1c1e!important;border:1px solid #48484a!important;color:#f5f5f7!important;font:14px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;box-shadow:none!important}
.hc-card .scu-inp:focus{outline:none;border-color:#ff5500!important;box-shadow:0 0 0 3px #ff550040!important}
.hc-card .scu-pick{display:flex!important;align-items:center;justify-content:center;gap:8px;padding:14px 10px!important;border-radius:10px!important;background:#1c1c1e!important;border:1.5px dashed #5a5a5e!important;color:#d1d1d6!important;font:500 13px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;box-shadow:none!important;text-shadow:none!important;cursor:pointer}
.hc-card .scu-pick:hover{border-color:#ff5500!important;color:#fff!important}
.hc-card .scu-pick-ico,.hc-card .scu-pick svg{color:#ff5500!important;fill:currentColor}
.hc-card .scu-submit{margin-top:6px;padding:9px!important;border:0!important;border-radius:8px!important;background:#ff5500!important;color:#fff!important;font:600 13px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;text-shadow:none!important;box-shadow:0 2px 8px #ff550055!important;opacity:1}
.hc-card .scu-submit:disabled{opacity:.4!important;box-shadow:none!important}

/* White door: pick femtusen trap or a hideout */
.hd-pick-win{max-height:72%!important;display:flex!important;flex-direction:column}
.hd-pick-win .hd-pick{display:flex!important;flex-direction:column;gap:6px;overflow-y:auto;padding:10px 12px 12px!important;background:#000!important}
.hd-pick .hd-trap{display:block;width:100%;margin:0 0 4px;padding:10px!important;border-radius:8px!important;font-size:15px!important}
.hd-pick .hd-label{margin:6px 2px 0;font:600 11px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;letter-spacing:.5px;text-transform:uppercase;color:#8e8e93}
.hd-pick .hd-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;background:#111;border:1px solid #2c2c2e;color:#fff;cursor:pointer;transition:background .12s}
.hd-pick .hd-row:hover{background:#1c1c1e;border-color:#3a3a3c}
.hd-pick .hd-row.mine{border-color:#48484a}
.hd-pick .hd-main{flex:1;min-width:0}
.hd-pick .hd-name{font:700 15px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hd-pick .hd-sub{margin-top:2px;font:12px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:#8e8e93;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hd-pick .hd-acts{display:flex;gap:6px;flex:none;align-items:center}
.hd-pick .hd-btn{padding:6px 12px;border-radius:7px;border:1px solid #3a3a3c;background:#000;color:#fff;font:600 12px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;cursor:pointer;white-space:nowrap}
.hd-pick .hd-btn:hover:not(:disabled){background:#2c2c2e}
.hd-pick .hd-btn.go{background:#000;color:#fff;border-color:#8e8e93}
.hd-pick .hd-btn:disabled{opacity:.5}
.hd-pick .hd-wait{font:12px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:#8e8e93;white-space:nowrap}

/* SoundCloud on the iPod: compact so it fits the small screen */
.ipod-screen .sc-nav{padding:5px 8px 2px !important;min-height:0 !important;}
.ipod-screen .sc-nav-title{font-size:14px !important;height:auto !important;line-height:1 !important;}
.ipod-screen .sc-brand-hd{transform:scale(.62);transform-origin:center;margin:-5px 0 !important;}
.ipod-screen .sc-segbar{padding:3px 6px 3px !important;}
.ipod-screen .sc-seg{padding:1px !important;}
.ipod-screen .sc-seg-btn{padding:3px 6px !important;min-height:0 !important;flex-direction:row !important;gap:4px !important;font-size:10px !important;}
.ipod-screen .sc-seg-btn .sc-ico svg{width:10px !important;height:10px !important;}
.ipod-screen .sc-seg-lbl{font-size:8px !important;}
.ipod-screen .scu-form{margin:5px 6px !important;padding:8px !important;gap:4px !important;border-radius:8px !important;}
.ipod-screen .scu-lbl{font-size:8.5px !important;margin:0 !important;}
.ipod-screen .scu-inp{padding:4px 7px !important;font-size:11px !important;height:auto !important;border-radius:6px !important;}
.ipod-screen .scu-pick{padding:6px 8px !important;font-size:10.5px !important;border-radius:6px !important;}
.ipod-screen .scu-submit{padding:5px !important;font-size:10.5px !important;margin-top:2px !important;border-radius:6px !important;}
.ipod-screen .sc-empty.sc-empty-card{margin:6px 8px !important;padding:10px 10px 10px !important;}
.ipod-screen .sc-empty-ico{width:34px !important;height:34px !important;margin-bottom:2px !important;background-size:22px,100% 100% !important;}
.ipod-screen .sc-empty-h{font-size:12px !important;}
.ipod-screen .sc-empty-p{font-size:9.5px !important;line-height:1.3 !important;}
.ipod-screen .sc-empty-cta{padding:4px 10px !important;font-size:10px !important;margin-top:4px !important;}
.ipod-screen .sc-row{padding:4px 6px !important;gap:6px !important;min-height:0 !important;}
.ipod-screen .sc-art{width:28px !important;height:28px !important;min-width:28px !important;}
.ipod-screen .sc-title{font-size:11px !important;}
.ipod-screen .sc-meta,.ipod-screen .sc-line{font-size:9px !important;}
.ipod-screen .sc-btn{padding:3px 6px !important;font-size:10px !important;}
.ipod-screen .sc-play{width:22px !important;height:22px !important;}
.ipod-screen .sc-now{padding:3px 6px 2px !important;font-size:10px !important;}
.ipod-screen .sc-nav-title::before{width:18px !important;height:18px !important;min-width:18px !important;border-radius:5px !important;background-size:13px auto !important;margin-right:6px !important;}
.ipod-screen .sc-nav-title{height:20px !important;}
.ipod-screen .sc-brand-hd{transform:none !important;margin:0 !important;}
.ipod-screen .sc-brand-hd>span:after{font-size:14px !important;}
.ipod-screen .sc-nav{padding:4px 8px 1px !important;}

/* Arcade: dark-mode macOS window */
.arcade-overlay{background:#0000008c !important;backdrop-filter:blur(2px);}
.arcade-screen.mac-win{background:#1e1e1e !important;border:1px solid #3a3a3c !important;border-radius:12px !important;padding:0 !important;overflow:hidden;box-shadow:0 0 0 .5px #000,0 24px 60px #000000b3 !important;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;color:#f5f5f7 !important;}
.mac-win .arcade-head{position:relative;display:flex !important;align-items:center;justify-content:center;min-height:38px;margin:0 !important;padding:0 10px 0 74px;background:linear-gradient(#3a3a3c,#2c2c2e);border-bottom:1px solid #000;}
.mac-win .arc-tl{position:absolute;left:12px;top:50%;transform:translateY(-50%);display:flex;gap:8px;}
.mac-win .arc-tl i{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 .5px #0000004d;display:flex;align-items:center;justify-content:center;font:bold 9px/1 Arial,sans-serif;font-style:normal;color:transparent;cursor:pointer;}
.mac-win .arc-tl:hover i{color:#0000008c;}
.mac-win .arc-tl .r{background:#ff5f57;}
.mac-win .arc-tl .y{background:#febc2e;}
.mac-win .arc-tl .g{background:#28c840;cursor:default;}
.mac-win .arcade-title{flex:1;text-align:center;font-size:13px !important;font-weight:600 !important;color:#e5e5ea !important;text-shadow:none !important;letter-spacing:.1px;}
.mac-win .arc-tools{display:flex;gap:6px;min-width:64px;justify-content:flex-end;}
.mac-win .arc-tools .btn:last-child{display:none !important;}
.mac-win .arc-tools .btn,.mac-win .arcade-body .btn{background:#3a3a3c !important;color:#f5f5f7 !important;border:1px solid #48484a !important;border-radius:6px !important;box-shadow:none !important;font-size:12px !important;padding:3px 10px !important;text-shadow:none !important;}
.mac-win .arc-tools .btn:hover,.mac-win .arcade-body .btn:hover{background:#48484a !important;}
.mac-win .arcade-body{padding:14px;background:#1e1e1e;}
.mac-win .arcade-list{gap:12px !important;}
.mac-win .arcade-card{background:#2c2c2e !important;border:1px solid #3a3a3c !important;border-radius:12px !important;padding:16px 10px 14px !important;color:#f5f5f7 !important;box-shadow:0 1px 2px #0006;transition:background .12s,border-color .12s,transform .12s;}
.mac-win .arcade-card:hover:not(:disabled){background:#3a3a3c !important;border-color:#0a84ff !important;transform:translateY(-1px);}
.mac-win .arcade-card .arcade-icon{font-size:34px;filter:drop-shadow(0 2px 3px #0008);}
.mac-win .arcade-card .arcade-name{font-size:14px;font-weight:600;}
.mac-win .arcade-card .hint,.mac-win .arcade-body .hint{color:#98989d !important;font-size:12px;line-height:1.35;}
.mac-win .arcade-score{color:#e5e5ea !important;font-family:"SF Mono",Menlo,Consolas,monospace !important;font-size:13px !important;}
.mac-win .arcade-canvas{border:1px solid #3a3a3c !important;border-radius:8px !important;box-shadow:0 2px 10px #0008;}
.mac-win.solo .arcade-head{display:flex !important;}
.mac-win.solo .arcade-x{display:none !important;}
.mac-win.solo .arcade-body{padding:8px;}
.mac-win .fb-stage{border-radius:8px;}
