/* ЗІБРАНО teacher-dashboard/build.js з src/shell.html — не редагувати руками */
.modal{position:fixed;inset:0;z-index:40;background:rgba(10,12,14,.5);display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--surface);color:var(--text,var(--ink));width:100%;max-width:560px;max-height:86vh;overflow:auto;box-sizing:border-box;border-radius:28px 28px 0 0;padding:18px 18px calc(20px + env(safe-area-inset-bottom,0px))}.sheet h2{font-size:17px;margin:0 0 4px;font-weight:700}.sheet .hint{font-size:12.5px;color:var(--muted);margin:0 0 16px;line-height:1.45}.sheet .acts-row{display:flex;gap:8px;margin-top:18px}.sheet .acts-row .btn{flex:1}
  /* ── скіни (оформлення на вибір; запам'ятовується на пристрої) ── */
  :root{--sys:-apple-system,BlinkMacSystemFont,Inter,system-ui,sans-serif}
  html:root[data-skin="cyber"]{--bg:#07060f;--surface:rgba(17,15,36,.92);--surface-2:#221d48;--text:#EAF4FF;--muted:#9AA5D6;--line:#2f2a63;--accent:#FF3BDB;--accent-soft:rgba(255,59,219,.16);--fill:#C21DB0;--live:#00E5FF;--live-soft:rgba(0,229,255,.13);--note:rgba(255,214,0,.12);--note-line:#FFD600;--warn:rgba(255,214,0,.14);--box:#221d48;--ok:rgba(0,255,163,.16);--ok-l:#00FFA3;--no:rgba(255,59,107,.18);--no-l:#FF3B6B;--shadow:0 0 0 1px rgba(255,59,219,.38),0 0 22px rgba(255,59,219,.16);--rounded:Orbitron,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="newyear"]{--bg:#0a2118;--surface:rgba(17,53,40,.94);--surface-2:#1d4a38;--text:#FFF8EC;--muted:#BFD6C7;--line:#2a5c47;--accent:#FFCF5A;--accent-soft:rgba(255,207,90,.15);--fill:#D42A3C;--live:#FF6B6B;--live-soft:rgba(255,107,107,.16);--note:rgba(255,207,90,.14);--note-line:#FFCF5A;--warn:rgba(255,207,90,.16);--box:#1d4a38;--ok:rgba(110,231,150,.18);--ok-l:#6EE796;--no:rgba(255,107,107,.18);--no-l:#FF8A8A;--shadow:0 6px 20px rgba(0,0,0,.35),0 0 0 1px rgba(255,207,90,.18);--rounded:"Mountains of Christmas",Comfortaa,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="game"]{--bg:#0d0a1e;--surface:#17132f;--surface-2:#251f4a;--text:#F3F1FF;--muted:#A49CD6;--line:#352d66;--accent:#7CFF4F;--accent-soft:rgba(124,255,79,.13);--fill:#7C4DFF;--live:#FF3D71;--live-soft:rgba(255,61,113,.16);--note:rgba(255,200,0,.12);--note-line:#FFC800;--warn:rgba(255,200,0,.14);--box:#251f4a;--ok:rgba(124,255,79,.16);--ok-l:#7CFF4F;--no:rgba(255,61,113,.18);--no-l:#FF3D71;--shadow:4px 4px 0 #000;--rounded:"Press Start 2P",monospace;--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="retro"]{--bg:#F3E6CC;--surface:#FFF9EE;--surface-2:#F1E2C2;--text:#3A2818;--muted:#7A6046;--line:#E6D2A8;--accent:#C8501A;--accent-soft:rgba(200,80,26,.12);--fill:#1E7C78;--live:#B83222;--live-soft:rgba(184,50,34,.11);--note:rgba(230,160,30,.16);--note-line:#A86400;--warn:rgba(230,160,30,.18);--box:#FFF9EE;--ok:rgba(30,124,120,.14);--ok-l:#1E6E6A;--no:rgba(184,50,34,.12);--no-l:#B83222;--shadow:3px 3px 0 rgba(58,40,24,.16);--rounded:Righteous,var(--sys);--g2:#A86400;--g3:#C8501A;--g4:#B83222;--g5:#2E7D32;--g6:#AD1457;--g7:#1E6E8C;--g8:#6A3D9A;--g9:#1E7C78}
  html:root[data-skin="soft"]{--bg:#FCEFF6;--surface:rgba(255,255,255,.88);--surface-2:#FBE3EF;--text:#3E2443;--muted:#8B6A90;--line:#F4D3E5;--accent:#D9468F;--accent-soft:rgba(217,70,143,.12);--fill:#B85CD0;--live:#E0457B;--live-soft:rgba(224,69,123,.12);--note:rgba(240,160,80,.15);--note-line:#B2602A;--warn:rgba(240,160,80,.16);--box:#FFFFFF;--ok:rgba(76,175,120,.14);--ok-l:#2E7D52;--no:rgba(224,69,123,.12);--no-l:#C2185B;--shadow:0 6px 22px rgba(217,70,143,.13);--rounded:Fredoka,var(--sys);--g2:#B26A00;--g3:#C8501A;--g4:#C2185B;--g5:#2E7D52;--g6:#D9468F;--g7:#3F6FD8;--g8:#9442B8;--g9:#1C7FA0}
  html[data-skin] body{background:var(--bg);min-height:100vh}
  html[data-skin] body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none}
  html[data-skin] #clock{font-family:var(--rounded)}

  /* кіберпанк: неонова сітка, світіння, зрізані кути */
  html[data-skin="cyber"] body::before{background:
    linear-gradient(180deg,rgba(255,59,219,.20),transparent 40%),
    linear-gradient(rgba(0,229,255,.09) 1px,transparent 1px) 0 0/28px 28px,
    linear-gradient(90deg,rgba(0,229,255,.09) 1px,transparent 1px) 0 0/28px 28px,#07060f}
  html[data-skin="cyber"] #clock{color:#00E5FF;font-size:56px;text-shadow:0 0 12px rgba(0,229,255,.8),0 0 30px rgba(255,59,219,.5)}
  html[data-skin="cyber"] .status.live{box-shadow:0 0 0 1.5px var(--live),0 0 26px rgba(0,229,255,.35)}
  html[data-skin="cyber"] .status,html[data-skin="cyber"] #day,html[data-skin="cyber"] .card{border-radius:4px;
    clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px))}

  /* новорічний: сніг і гірлянда */
  html[data-skin="newyear"] body::before{background:
    radial-gradient(circle at 20% 0%,rgba(255,207,90,.16),transparent 45%),
    linear-gradient(180deg,#0f2d21,#0a2118 60%,#071811)}
  html[data-skin="newyear"] body::after{content:"";position:fixed;inset:-200px 0 0;z-index:-1;pointer-events:none;opacity:.8;
    background-image:radial-gradient(2px 2px at 20px 30px,#fff,transparent),radial-gradient(2px 2px at 80px 120px,#fff,transparent),
      radial-gradient(1.5px 1.5px at 140px 60px,#fff,transparent),radial-gradient(2.5px 2.5px at 200px 160px,#fff,transparent),
      radial-gradient(1.5px 1.5px at 260px 20px,#fff,transparent),radial-gradient(2px 2px at 320px 100px,#fff,transparent);
    background-size:340px 180px;animation:snow 14s linear infinite}
  @keyframes snow{from{transform:translateY(0)}to{transform:translateY(180px)}}
  html[data-skin="newyear"] .wrap::before{content:"";display:block;height:14px;margin:-8px 0 10px;
    background:radial-gradient(circle,#FF5A5F 0 4px,transparent 5px) 0 50%/36px 14px repeat-x,
      radial-gradient(circle,#FFCF5A 0 4px,transparent 5px) 12px 50%/36px 14px repeat-x,
      radial-gradient(circle,#6EE796 0 4px,transparent 5px) 24px 50%/36px 14px repeat-x;
    filter:drop-shadow(0 0 4px rgba(255,207,90,.7));animation:garland 2.4s ease-in-out infinite}
  @keyframes garland{50%{filter:drop-shadow(0 0 9px rgba(255,207,90,1)) brightness(1.25)}}
  html[data-skin="newyear"] #clock{color:#FFF8EC;text-shadow:0 2px 14px rgba(255,207,90,.4)}

  /* геймерський: піксельний HUD */
  html[data-skin="game"] body::before{background:
    radial-gradient(rgba(124,255,79,.13) 1px,transparent 1.5px) 0 0/16px 16px,
    linear-gradient(180deg,#1a1240,#0d0a1e 55%)}
  html[data-skin="game"] #clock{font-size:38px;color:#7CFF4F;letter-spacing:0;text-shadow:3px 3px 0 #000;margin:8px 0 4px}
  html[data-skin="game"] .status,html[data-skin="game"] #day,html[data-skin="game"] .card,
  html[data-skin="game"] .ib,html[data-skin="game"] .btn,html[data-skin="game"] .lnk,
  html[data-skin="game"] .row .hwb{border-radius:4px;border:2px solid #000}
  html[data-skin="game"] .big .cls,html[data-skin="game"] .big .left,html[data-skin="game"] #soon .m,html[data-skin="game"] .plist.grid b{font-family:var(--sys);font-weight:800}
  html[data-skin="game"] .row .hwb:not(.ok),html[data-skin="newyear"] .row .hwb:not(.ok){color:#111}
  html[data-skin="game"] .status.live{box-shadow:4px 4px 0 #000,inset 0 0 0 2px var(--live)}
  html[data-skin="game"] .chip{border-radius:4px;font-family:"Press Start 2P",monospace;font-size:8.5px;line-height:1.7}

  /* ретро: смуги сонця 70-х і папір */
  html[data-skin="retro"] body::before{background:
    linear-gradient(180deg,#E8892B 0 9px,transparent 9px 13px,#C8501A 13px 22px,transparent 22px 26px,#7A3B12 26px 35px,transparent 35px) 0 0/100% 40px no-repeat,
    radial-gradient(circle at 50% 0,rgba(232,137,43,.2),transparent 55%),#F3E6CC}
  html[data-skin="retro"] .wrap{padding-top:44px}
  html[data-skin="retro"] #clock{color:#C8501A;font-weight:400;text-shadow:3px 3px 0 #F1C27D}
  html[data-skin="retro"] .status,html[data-skin="retro"] #day,html[data-skin="retro"] .card{border:2px solid #3A2818;border-radius:14px}

  /* ніжний: пастель і блискітки */
  html[data-skin="soft"] body::before{background:
    radial-gradient(circle at 15% 10%,rgba(255,182,213,.65),transparent 40%),
    radial-gradient(circle at 90% 25%,rgba(214,182,255,.55),transparent 42%),
    radial-gradient(circle at 50% 95%,rgba(255,214,231,.7),transparent 50%),#FCEFF6}
  html[data-skin="soft"] body::after{content:"✦   ✧      ✦        ✧    ✦";position:fixed;left:0;right:0;top:calc(10px + env(safe-area-inset-top,0px));
    z-index:-1;pointer-events:none;text-align:center;color:rgba(217,70,143,.4);font-size:18px;white-space:pre;animation:twinkle 3s ease-in-out infinite}
  @keyframes twinkle{50%{opacity:.35}}
  html[data-skin="soft"] #clock{color:#D9468F;font-weight:600}
  html[data-skin="soft"] .status,html[data-skin="soft"] #day,html[data-skin="soft"] .card{border-radius:26px;
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
  @media (prefers-reduced-motion:reduce){html[data-skin] body::after,html[data-skin] .wrap::before{animation:none}}

  /* ── ігрові скіни (оригінальні мотиви; без логотипів і персонажів ігор) ── */
  html:root[data-skin="brawl"]{--bg:#3a1a8c;--surface:#2a1470;--surface-2:#3b1f93;--text:#FFFFFF;--muted:#C9B8FF;--line:#4b2da8;--accent:#FFD21F;--accent-soft:rgba(255,210,31,.16);--fill:#1FB0FF;--live:#FF4D6D;--live-soft:rgba(255,77,109,.18);--note:rgba(255,210,31,.14);--note-line:#FFD21F;--warn:rgba(255,210,31,.16);--box:#3b1f93;--ok:rgba(80,230,120,.18);--ok-l:#5BEA7E;--no:rgba(255,77,109,.18);--no-l:#FF6D86;--shadow:0 5px 0 #120733;--rounded:Rubik,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="roblox"]{--bg:#E8EAEE;--surface:#FFFFFF;--surface-2:#F0F2F5;--text:#1C1D1F;--muted:#5C6066;--line:#DADDE2;--accent:#0B6BCB;--accent-soft:rgba(11,107,203,.10);--fill:#00A55E;--live:#E2231A;--live-soft:rgba(226,35,26,.10);--note:rgba(255,160,0,.14);--note-line:#B36B00;--warn:rgba(255,160,0,.16);--box:#FFFFFF;--ok:rgba(0,165,94,.14);--ok-l:#00804A;--no:rgba(226,35,26,.10);--no-l:#C21B13;--shadow:0 2px 0 #C9CDD3;--rounded:Montserrat,var(--sys);--g2:#B25000;--g3:#C93400;--g4:#D70015;--g5:#1F7A36;--g6:#D30F45;--g7:#0066CC;--g8:#8944AB;--g9:#0071A4}
  html:root[data-skin="mine"]{--bg:#7FB0FF;--surface:#C6C6C6;--surface-2:#B0B0B0;--text:#1E1E1E;--muted:#3F3F3F;--line:#8B8B8B;--accent:#2E6B1F;--accent-soft:rgba(46,107,31,.15);--fill:#3C8527;--live:#B3261E;--live-soft:rgba(179,38,30,.14);--note:rgba(255,190,0,.22);--note-line:#7A4E00;--warn:rgba(255,190,0,.24);--box:#C6C6C6;--ok:rgba(60,133,39,.20);--ok-l:#245A18;--no:rgba(179,38,30,.16);--no-l:#8E1B14;--shadow:none;--rounded:"Press Start 2P",monospace;--g2:#7A4E00;--g3:#8A3B00;--g4:#8E1B14;--g5:#245A18;--g6:#8E1450;--g7:#1F4E9A;--g8:#5E2A8A;--g9:#0E5A6E}
  html:root[data-skin="blockblast"]{--bg:#14205a;--surface:#1f2f78;--surface-2:#2a3d8f;--text:#FFFFFF;--muted:#AFC0FF;--line:#34489e;--accent:#FFC93C;--accent-soft:rgba(255,201,60,.16);--fill:#21C7F2;--live:#FF5C7A;--live-soft:rgba(255,92,122,.18);--note:rgba(255,201,60,.14);--note-line:#FFC93C;--warn:rgba(255,201,60,.16);--box:#2a3d8f;--ok:rgba(76,224,122,.18);--ok-l:#4CE07A;--no:rgba(255,92,122,.18);--no-l:#FF7F98;--shadow:0 6px 0 #0c1440;--rounded:Rubik,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="valheim"]{--bg:#101412;--surface:rgba(31,26,20,.94);--surface-2:#2b241b;--text:#EDE3CF;--muted:#B3A88F;--line:#4a3c2a;--accent:#E3A44B;--accent-soft:rgba(227,164,75,.14);--fill:#A8562A;--live:#FF7A3D;--live-soft:rgba(255,122,61,.16);--note:rgba(227,164,75,.14);--note-line:#E3A44B;--warn:rgba(227,164,75,.16);--box:#2b241b;--ok:rgba(140,190,110,.18);--ok-l:#9BCB78;--no:rgba(255,122,61,.18);--no-l:#FF9A6B;--shadow:0 8px 24px rgba(0,0,0,.5),inset 0 0 0 1px rgba(227,164,75,.18);--rounded:"Yeseva One",Georgia,serif;--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="stalker"]{--bg:#24261f;--surface:#0f1a12;--surface-2:#18281b;--text:#C8F2B4;--muted:#7FA571;--line:#2c4a2f;--accent:#D8E36A;--accent-soft:rgba(216,227,106,.13);--fill:#5E7F2E;--live:#FF8A3D;--live-soft:rgba(255,138,61,.15);--note:rgba(255,190,40,.13);--note-line:#FFC12E;--warn:rgba(255,190,40,.15);--box:#18281b;--ok:rgba(160,230,120,.16);--ok-l:#A6E67C;--no:rgba(255,138,61,.16);--no-l:#FF9E5E;--shadow:0 0 0 1px #2c4a2f,0 10px 26px rgba(0,0,0,.45);--rounded:"PT Mono",ui-monospace,monospace;--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="gta"]{--bg:#2a1433;--surface:rgba(26,14,34,.86);--surface-2:#3a1f45;--text:#FFF4E8;--muted:#E2B9C6;--line:#5b3462;--accent:#7FD36B;--accent-soft:rgba(127,211,107,.15);--fill:#2E8B3A;--live:#FF4F7B;--live-soft:rgba(255,79,123,.17);--note:rgba(255,179,107,.15);--note-line:#FFB36B;--warn:rgba(255,179,107,.17);--box:#3a1f45;--ok:rgba(127,211,107,.18);--ok-l:#8FE07A;--no:rgba(255,79,123,.18);--no-l:#FF7A99;--shadow:0 8px 26px rgba(0,0,0,.4);--rounded:"Rubik Mono One",var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="subway"]{--bg:#5BC4F5;--surface:#FFFFFF;--surface-2:#FFF3C4;--text:#1A2238;--muted:#56607A;--line:#E1E6F0;--accent:#FF6B00;--accent-soft:rgba(255,107,0,.12);--fill:#FF3D2E;--live:#E0245E;--live-soft:rgba(224,36,94,.11);--note:rgba(255,210,0,.2);--note-line:#8A6100;--warn:rgba(255,210,0,.22);--box:#FFFFFF;--ok:rgba(0,170,90,.14);--ok-l:#007A42;--no:rgba(224,36,94,.11);--no-l:#B8174A;--shadow:0 5px 0 #1A2238;--rounded:"Russo One",var(--sys);--g2:#B25000;--g3:#C93400;--g4:#D70015;--g5:#1F7A36;--g6:#D30F45;--g7:#0066CC;--g8:#8944AB;--g9:#0071A4}

  /* бравл: промені, зірки, товсті контури */
  html[data-skin="brawl"] body::before{background:repeating-conic-gradient(from 0deg at 50% -10%,#4b23b0 0 9deg,#3a1a8c 9deg 18deg)}
  html[data-skin="brawl"] body::after{content:"★        ★              ★";position:fixed;left:0;right:0;top:calc(14px + env(safe-area-inset-top,0px));z-index:-1;
    pointer-events:none;text-align:center;white-space:pre;color:#FFD21F;font-size:20px;text-shadow:0 2px 0 #120733;opacity:.8}
  html[data-skin="brawl"] #clock{color:#FFD21F;font-weight:900;font-style:italic;-webkit-text-stroke:2px #120733;text-shadow:0 5px 0 #120733}
  html[data-skin="brawl"] .status,html[data-skin="brawl"] #day,html[data-skin="brawl"] .card{border:3px solid #120733;border-radius:18px}
  html[data-skin="brawl"] .chip{border:2px solid #120733;box-shadow:0 3px 0 #120733}
  html[data-skin="brawl"] .big .cls{font-weight:900;font-style:italic}

  /* кубічний конструктор: нахилені квадрати, чистий світлий інтерфейс */
  html[data-skin="roblox"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23C9CDD4' stroke-width='3'%3E%3Crect x='18' y='18' width='30' height='30' rx='4' transform='rotate(15 33 33)'/%3E%3Crect x='74' y='72' width='24' height='24' rx='4' transform='rotate(15 86 84)'/%3E%3C/g%3E%3C/svg%3E") 0 0/120px 120px,#E8EAEE}
  html[data-skin="roblox"] #clock{font-weight:800;letter-spacing:-.02em}
  html[data-skin="roblox"] #clock::before{content:"";display:inline-block;width:.42em;height:.42em;margin-right:.18em;vertical-align:.12em;
    border:.09em solid currentColor;border-radius:.06em;transform:rotate(15deg)}
  html[data-skin="roblox"] .status,html[data-skin="roblox"] #day,html[data-skin="roblox"] .card{border-radius:10px;border:1px solid #DADDE2}

  /* піксельний світ: хмари, трава з землею, сірі комірки інвентаря */
  html[data-skin="mine"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='140' viewBox='0 0 320 140' shape-rendering='crispEdges'%3E%3Cg fill='%23fff' opacity='.85'%3E%3Crect x='20' y='30' width='80' height='16'/%3E%3Crect x='36' y='18' width='40' height='12'/%3E%3Crect x='200' y='70' width='96' height='16'/%3E%3Crect x='216' y='58' width='56' height='12'/%3E%3C/g%3E%3C/svg%3E") 0 30px/320px 140px repeat-x,linear-gradient(180deg,#6FA2FF,#A9C9FF 70%,#CFE2FF)}
  html[data-skin="mine"] .wrap::before{content:"";display:block;height:28px;margin:-22px -16px 14px;image-rendering:pixelated;
    background:linear-gradient(90deg,#5BA032 0 8px,#4C8A2A 8px 16px,#66B23A 16px 24px,#4C8A2A 24px 32px) 0 0/32px 10px repeat-x,
      linear-gradient(90deg,#8B5A2B 0 8px,#6E4520 8px 16px,#9A6532 16px 24px,#7A4E25 24px 32px) 0 10px/32px 9px repeat-x,
      linear-gradient(90deg,#6E4520 0 8px,#8B5A2B 8px 16px,#7A4E25 16px 24px,#9A6532 24px 32px) 0 19px/32px 9px repeat-x}
  html[data-skin="mine"] #clock{color:#fff;font-size:44px;letter-spacing:0;text-shadow:4px 4px 0 #3F3F3F;margin:8px 0 4px}
  html[data-skin="mine"] .top #today{color:#1E1E1E;font-weight:600}
  html[data-skin="mine"] .status,html[data-skin="mine"] #day,html[data-skin="mine"] .card{border-radius:0;
    box-shadow:inset 3px 3px 0 #FFFFFF,inset -3px -3px 0 #555555,0 0 0 2px #1E1E1E}
  html[data-skin="mine"] .chip,html[data-skin="mine"] .ib,html[data-skin="mine"] .row .hwb{border-radius:0;box-shadow:inset 2px 2px 0 rgba(255,255,255,.5),inset -2px -2px 0 rgba(0,0,0,.35)}
  html[data-skin="mine"] .chip{background:#555;color:#fff;font-family:"Press Start 2P",monospace;font-size:8.5px;line-height:1.7}
  html[data-skin="mine"] .big .cls,html[data-skin="mine"] .big .left{font-family:var(--sys);font-weight:800}
  html[data-skin="mine"] .row{border-top-color:#8B8B8B}

  /* блоки: кольорові фігури на синьому полі */
  html[data-skin="blockblast"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg opacity='.22'%3E%3Crect x='14' y='20' width='26' height='26' rx='6' fill='%23FFC93C'/%3E%3Crect x='40' y='20' width='26' height='26' rx='6' fill='%23FFC93C'/%3E%3Crect x='40' y='46' width='26' height='26' rx='6' fill='%23FFC93C'/%3E%3Crect x='150' y='30' width='26' height='26' rx='6' fill='%23FF5C7A'/%3E%3Crect x='150' y='56' width='26' height='26' rx='6' fill='%23FF5C7A'/%3E%3Crect x='176' y='56' width='26' height='26' rx='6' fill='%23FF5C7A'/%3E%3Crect x='80' y='140' width='26' height='26' rx='6' fill='%2321C7F2'/%3E%3Crect x='106' y='140' width='26' height='26' rx='6' fill='%2321C7F2'/%3E%3Crect x='132' y='140' width='26' height='26' rx='6' fill='%2321C7F2'/%3E%3Crect x='20' y='170' width='26' height='26' rx='6' fill='%234CE07A'/%3E%3Crect x='46' y='170' width='26' height='26' rx='6' fill='%234CE07A'/%3E%3Crect x='180' y='160' width='26' height='26' rx='6' fill='%23B06CFF'/%3E%3C/g%3E%3C/svg%3E") 0 0/220px 220px,
    linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px) 0 0/26px 26px,linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px) 0 0/26px 26px,
    linear-gradient(180deg,#22327a,#14205a)}
  html[data-skin="blockblast"] #clock{color:#fff;font-weight:900;text-shadow:0 4px 0 #0c1440,0 0 22px rgba(33,199,242,.45)}
  html[data-skin="blockblast"] .status,html[data-skin="blockblast"] #day,html[data-skin="blockblast"] .card{border-radius:16px;border:2px solid #34489e}
  html[data-skin="blockblast"] .chip{background:#FFC93C;color:#14205a;box-shadow:inset 0 -3px 0 rgba(0,0,0,.18)}
  html[data-skin="blockblast"] .row .hwb:not(.ok){color:#14205a;box-shadow:inset 0 -3px 0 rgba(0,0,0,.2)}

  /* північ: гори в тумані, руни, жар */
  html[data-skin="valheim"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 140' preserveAspectRatio='none'%3E%3Cpath fill='%231a221d' d='M0 140V90l40-30 30 22 50-50 40 36 30-20 60 52 40-34 50 40 60-46v130z'/%3E%3Cpath fill='%230d110f' d='M0 140v-26l60-24 50 22 70-36 60 40 50-20 50 26 60-22v40z'/%3E%3Cpath fill='%23fff' opacity='.35' d='M120 32l-14 14 10-2 6 6 8-6 10 4zM330 64l-12 12 8-1 6 5 6-5 8 3z'/%3E%3C/svg%3E") 0 100%/100% 34vh no-repeat,
    radial-gradient(ellipse at 50% 100%,rgba(180,190,180,.12),transparent 60%),linear-gradient(180deg,#0b0e0d,#1a201c 60%,#101412)}
  html[data-skin="valheim"] body::after{content:"ᚠ ᚢ ᚦ ᚨ ᚱ ᚲ ᚷ ᚹ ᚺ ᚾ ᛁ ᛃ";position:fixed;left:0;right:0;top:calc(10px + env(safe-area-inset-top,0px));
    z-index:-1;pointer-events:none;text-align:center;letter-spacing:.35em;color:rgba(227,164,75,.35);font-size:15px}
  html[data-skin="valheim"] #clock{color:#EDE3CF;font-weight:400;text-shadow:0 0 18px rgba(255,122,61,.55)}
  html[data-skin="valheim"] .status,html[data-skin="valheim"] #day,html[data-skin="valheim"] .card{border-radius:6px;border:1px solid #5b4630}

  /* Зона: смуги небезпеки, знак радіації, екран КПК */
  html[data-skin="stalker"] body::before{background:repeating-linear-gradient(-45deg,#E0B228 0 14px,#151515 14px 28px) 0 0/100% 10px no-repeat,
    radial-gradient(ellipse at 30% 10%,rgba(120,130,100,.35),transparent 60%),linear-gradient(180deg,#3a3d33,#24261f 50%,#1b1c17)}
  html[data-skin="stalker"] body::after{content:"☢";position:fixed;right:-30px;bottom:40px;z-index:-1;pointer-events:none;font-size:260px;line-height:1;color:rgba(224,178,40,.07)}
  html[data-skin="stalker"] #clock{color:#D8E36A;font-weight:700;letter-spacing:.02em;text-shadow:0 0 14px rgba(216,227,106,.35)}
  html[data-skin="stalker"] .top #today{color:#A9B39A}
  html[data-skin="stalker"] .status,html[data-skin="stalker"] #day,html[data-skin="stalker"] .card{border-radius:8px;
    background-image:repeating-linear-gradient(0deg,rgba(200,242,180,.035) 0 1px,transparent 1px 3px)}
  html[data-skin="stalker"] .chip{background:#151515;color:#E0B228;border:1px solid #E0B228;border-radius:4px}

  /* місто на заході сонця: пальми, зелений колір району */
  html[data-skin="gta"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cg fill='%23160a1c'%3E%3Cpath d='M0 160V128l40-6 50 10 60-12 70 8 60-14 70 10 50-6v42z'/%3E%3Cpath d='M70 130c2-30 6-56 16-82l4 1c-8 26-12 52-12 81z'/%3E%3Cpath d='M88 48c-14-8-34-6-46 4 14-2 28 0 40 6-16 0-30 8-38 20 14-8 28-12 42-12-10 8-14 20-14 32 8-12 16-20 26-24 4 10 4 22 0 34 8-10 12-24 10-38 10 4 20 12 26 22 0-14-8-26-20-32 14-2 28 2 40 10-8-14-24-20-40-18 10-8 24-12 38-10-16-8-34-4-46 4z'/%3E%3Cpath d='M300 134c1-24 4-46 12-66l4 1c-6 20-9 42-9 65z'/%3E%3Cpath d='M314 68c-12-6-28-5-38 3 12-2 23 0 33 5-13 0-25 6-31 16 11-6 23-10 34-10-8 7-11 16-11 26 6-10 13-16 21-19 3 8 3 18 0 27 6-8 10-19 8-30 8 3 16 9 21 17 0-11-6-21-16-26 11-2 23 2 32 8-6-11-19-16-32-14 8-6 19-10 30-8-13-6-27-3-37 3z'/%3E%3Crect x='180' y='96' width='14' height='34'/%3E%3Crect x='198' y='80' width='18' height='50'/%3E%3Crect x='220' y='104' width='12' height='26'/%3E%3Crect x='236' y='90' width='16' height='40'/%3E%3C/g%3E%3C/svg%3E") 0 100%/100% 26vh no-repeat,
    radial-gradient(circle at 50% 62%,#FFD27A 0 6vh,transparent 6.2vh),linear-gradient(180deg,#2a1433,#7a2e5c 35%,#E2647A 58%,#FFB36B 74%,#FFD27A)}
  html[data-skin="gta"] #clock{color:#fff;font-size:46px;-webkit-text-stroke:1.5px #000;text-shadow:3px 3px 0 #000}
  html[data-skin="gta"] .status,html[data-skin="gta"] #day,html[data-skin="gta"] .card{border-radius:6px;border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
  html[data-skin="gta"] .big .cls,html[data-skin="gta"] .big .left{font-family:var(--sys);font-weight:800}
  html[data-skin="gta"] .chip{background:rgba(0,0,0,.45);color:#7FD36B}

  /* бігом по рейках: небо, графіті-плями, рейки внизу */
  html[data-skin="subway"] body::before{background:
    radial-gradient(circle at 8% 18%,rgba(255,61,46,.2) 0 34px,transparent 36px),radial-gradient(circle at 92% 30%,rgba(255,210,0,.5) 0 28px,transparent 30px),
    radial-gradient(circle at 85% 8%,rgba(178,92,255,.2) 0 22px,transparent 24px),
    linear-gradient(180deg,#3FB2F0,#9EDCFA 75%,#CFEFFF)}
  html[data-skin="subway"] body::after{content:"";position:fixed;left:0;right:0;bottom:0;height:46px;z-index:-1;pointer-events:none;
    background:linear-gradient(#8C9AAE,#8C9AAE) 0 10px/100% 5px no-repeat,linear-gradient(#8C9AAE,#8C9AAE) 0 30px/100% 5px no-repeat,
      repeating-linear-gradient(90deg,#7A4B2A 0 14px,transparent 14px 34px) 0 4px/100% 38px no-repeat,#A9B3C2}
  html[data-skin="subway"] #clock{color:#FFD200;-webkit-text-stroke:2px #1A2238;text-shadow:0 5px 0 #1A2238}
  html[data-skin="subway"] .top #today{color:#1A2238;font-weight:600}
  html[data-skin="subway"] .wrap{padding-bottom:70px}
  html[data-skin="subway"] .status,html[data-skin="subway"] #day,html[data-skin="subway"] .card{border:3px solid #1A2238;border-radius:18px}
  html[data-skin="subway"] .chip{background:#FFD200;color:#1A2238;border:2px solid #1A2238}

  /* ── нові ігрові скіни (листопад 2026): лише кольори, фактури й геометрія — без логотипів і персонажів ── */
  html:root[data-skin="rust"]{--bg:#1b1612;--surface:rgba(38,31,25,.95);--surface-2:#3a2e24;--text:#EDE4D8;--muted:#B5A694;--line:#4d3d2e;--accent:#CE6A2B;--accent-soft:rgba(206,106,43,.16);--fill:#8C3B1A;--live:#FF7043;--live-soft:rgba(255,112,67,.16);--note:rgba(206,106,43,.14);--note-line:#E08A4A;--warn:rgba(206,106,43,.16);--box:#3a2e24;--ok:rgba(140,190,90,.16);--ok-l:#9BCB6A;--no:rgba(255,112,67,.16);--no-l:#FF8A65;--shadow:0 3px 0 #0d0a08;--rounded:"Rubik Dirt",Rubik,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="gdash"]{--bg:#0a1a4a;--surface:#10287a;--surface-2:#1a3596;--text:#FFFFFF;--muted:#A9C4FF;--line:#2a4bb5;--accent:#7CFF00;--accent-soft:rgba(124,255,0,.15);--fill:#FFD600;--live:#FF2BD6;--live-soft:rgba(255,43,214,.18);--note:rgba(255,214,0,.14);--note-line:#FFD600;--warn:rgba(255,214,0,.16);--box:#1a3596;--ok:rgba(124,255,0,.16);--ok-l:#9DFF4A;--no:rgba(255,43,214,.18);--no-l:#FF6BE3;--shadow:0 4px 0 #000;--rounded:"Rubik Mono One",var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#5DB8FF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="mario"]{--bg:#5C94FC;--surface:#FFFFFF;--surface-2:#FFF4D6;--text:#1A1A1A;--muted:#5A5A5A;--line:#E8DFC8;--accent:#E52521;--accent-soft:rgba(229,37,33,.11);--fill:#43B047;--live:#E52521;--live-soft:rgba(229,37,33,.11);--note:rgba(251,208,0,.22);--note-line:#8A6100;--warn:rgba(251,208,0,.24);--box:#FFFFFF;--ok:rgba(67,176,71,.16);--ok-l:#1F7A23;--no:rgba(229,37,33,.11);--no-l:#B3140F;--shadow:0 4px 0 #000;--rounded:"Press Start 2P",monospace;--g2:#B25000;--g3:#C93400;--g4:#D70015;--g5:#1F7A36;--g6:#D30F45;--g7:#0066CC;--g8:#8944AB;--g9:#0071A4}
  html:root[data-skin="sonic"]{--bg:#0b3fbf;--surface:rgba(10,40,130,.93);--surface-2:#1a4fc9;--text:#FFFFFF;--muted:#BFD3FF;--line:#2d5fd6;--accent:#FFD000;--accent-soft:rgba(255,208,0,.16);--fill:#E8221B;--live:#FF4B4B;--live-soft:rgba(255,75,75,.18);--note:rgba(255,208,0,.14);--note-line:#FFD000;--warn:rgba(255,208,0,.16);--box:#1a4fc9;--ok:rgba(80,230,120,.18);--ok-l:#5BEA7E;--no:rgba(255,75,75,.18);--no-l:#FF7A7A;--shadow:0 4px 0 #061f66;--rounded:"Russo One",var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#7FC4FF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="dota"]{--bg:#0c0e10;--surface:rgba(22,24,28,.95);--surface-2:#23262c;--text:#E8E2D4;--muted:#A49E90;--line:#3a3833;--accent:#D4A94F;--accent-soft:rgba(212,169,79,.14);--fill:#A3241C;--live:#E0412E;--live-soft:rgba(224,65,46,.16);--note:rgba(212,169,79,.13);--note-line:#D4A94F;--warn:rgba(212,169,79,.15);--box:#23262c;--ok:rgba(111,191,59,.16);--ok-l:#7FCB4A;--no:rgba(224,65,46,.16);--no-l:#F0624F;--shadow:0 4px 14px rgba(0,0,0,.5);--rounded:"Alegreya SC",Georgia,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="cs2"]{--bg:#121417;--surface:rgba(28,31,36,.96);--surface-2:#262a31;--text:#E9ECEF;--muted:#9AA3AD;--line:#353a42;--accent:#F2A93B;--accent-soft:rgba(242,169,59,.14);--fill:#5B7BA6;--live:#E5533D;--live-soft:rgba(229,83,61,.16);--note:rgba(242,169,59,.12);--note-line:#F2A93B;--warn:rgba(242,169,59,.14);--box:#262a31;--ok:rgba(110,200,120,.15);--ok-l:#7FD68A;--no:rgba(229,83,61,.16);--no-l:#F27360;--shadow:none;--rounded:Jura,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#6FA8FF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="pubg"]{--bg:#1d1c16;--surface:rgba(36,34,26,.95);--surface-2:#3a3627;--text:#F2EBD3;--muted:#BDB497;--line:#4d4734;--accent:#F2A900;--accent-soft:rgba(242,169,0,.15);--fill:#6B7A3A;--live:#E2572B;--live-soft:rgba(226,87,43,.17);--note:rgba(242,169,0,.13);--note-line:#F2A900;--warn:rgba(242,169,0,.15);--box:#3a3627;--ok:rgba(150,190,80,.16);--ok-l:#A9CF5E;--no:rgba(226,87,43,.17);--no-l:#F07A50;--shadow:0 3px 0 #0c0b08;--rounded:Oswald,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="genshin"]{--bg:#EEF3F4;--surface:rgba(255,252,244,.9);--surface-2:#F3EAD6;--text:#3B3A4A;--muted:#7A7688;--line:#E5D8BA;--accent:#A27A2E;--accent-soft:rgba(162,122,46,.12);--fill:#3F97AD;--live:#C9485F;--live-soft:rgba(201,72,95,.11);--note:rgba(201,161,90,.18);--note-line:#8A6620;--warn:rgba(201,161,90,.2);--box:#FFFCF4;--ok:rgba(63,151,173,.14);--ok-l:#1F6F82;--no:rgba(201,72,95,.11);--no-l:#A12C43;--shadow:0 6px 22px rgba(120,100,60,.14);--rounded:Cormorant,Georgia,var(--sys);--g2:#B25000;--g3:#C93400;--g4:#D70015;--g5:#1F7A36;--g6:#D30F45;--g7:#0066CC;--g8:#8944AB;--g9:#0071A4}
  html:root[data-skin="stick"]{--bg:#FAFAF6;--surface:#FFFFFF;--surface-2:#F1F1EB;--text:#111111;--muted:#5F5F5F;--line:#D9D9D2;--accent:#111111;--accent-soft:rgba(0,0,0,.07);--fill:#E53935;--live:#E53935;--live-soft:rgba(229,57,53,.1);--note:rgba(255,214,0,.25);--note-line:#7A6200;--warn:rgba(255,214,0,.27);--box:#FFFFFF;--ok:rgba(46,160,67,.14);--ok-l:#1E7A33;--no:rgba(229,57,53,.1);--no-l:#B71C1C;--shadow:none;--rounded:Caveat,"Comic Sans MS",var(--sys);--g2:#B25000;--g3:#C93400;--g4:#D70015;--g5:#1F7A36;--g6:#D30F45;--g7:#0066CC;--g8:#8944AB;--g9:#0071A4}
  /* світлий акцент → темний текст на кнопках */
  html[data-skin="gdash"] .btn.main,html[data-skin="gdash"] .ib[aria-pressed="true"],html[data-skin="gdash"] .btn.invite,html[data-skin="gdash"] .row .hwb:not(.ok),
  html[data-skin="sonic"] .btn.main,html[data-skin="sonic"] .ib[aria-pressed="true"],html[data-skin="sonic"] .btn.invite,html[data-skin="sonic"] .row .hwb:not(.ok),
  html[data-skin="dota"] .btn.main,html[data-skin="dota"] .ib[aria-pressed="true"],html[data-skin="dota"] .btn.invite,html[data-skin="dota"] .row .hwb:not(.ok),
  html[data-skin="cs2"] .btn.main,html[data-skin="cs2"] .ib[aria-pressed="true"],html[data-skin="cs2"] .btn.invite,html[data-skin="cs2"] .row .hwb:not(.ok),
  html[data-skin="pubg"] .btn.main,html[data-skin="pubg"] .ib[aria-pressed="true"],html[data-skin="pubg"] .btn.invite,html[data-skin="pubg"] .row .hwb:not(.ok){color:#111}

  /* іржа: профнастил, плями іржі, заклепки */
  html[data-skin="rust"] body::before{background:
    radial-gradient(ellipse at 12% 18%,rgba(206,106,43,.28),transparent 34%),radial-gradient(ellipse at 88% 62%,rgba(140,59,26,.32),transparent 38%),
    radial-gradient(ellipse at 40% 92%,rgba(206,106,43,.18),transparent 40%),
    repeating-linear-gradient(90deg,#2a221b 0 9px,#221b15 9px 13px,#1a1511 13px 22px),#1b1612}
  html[data-skin="rust"] #clock{color:#E8DCCB;font-weight:400;letter-spacing:.02em;text-shadow:3px 3px 0 #8C3B1A,0 0 18px rgba(206,106,43,.35)}
  html[data-skin="rust"] .status,html[data-skin="rust"] #day,html[data-skin="rust"] .card{border-radius:4px;border:2px solid #5a4632;
    background-image:radial-gradient(circle at 9px 9px,#8a7860 0 2.5px,transparent 3.2px),radial-gradient(circle at calc(100% - 9px) 9px,#8a7860 0 2.5px,transparent 3.2px),
      radial-gradient(circle at 9px calc(100% - 9px),#8a7860 0 2.5px,transparent 3.2px),radial-gradient(circle at calc(100% - 9px) calc(100% - 9px),#8a7860 0 2.5px,transparent 3.2px)}
  html[data-skin="rust"] .chip{background:#2b221b;color:#E08A4A;border:1px dashed #CE6A2B;border-radius:3px}

  /* геометрія: неонова сітка, кубики, шипи внизу */
  html[data-skin="gdash"] body::before{background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke-width='3' opacity='.35'%3E%3Crect x='20' y='26' width='34' height='34' stroke='%237CFF00'/%3E%3Crect x='130' y='110' width='26' height='26' stroke='%23FF2BD6' transform='rotate(45 143 123)'/%3E%3Cpath d='M70 170l14-26 14 26z' stroke='%23FFD600'/%3E%3C/g%3E%3C/svg%3E") 0 0/200px 200px,
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px) 0 0/40px 40px,linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px) 0 0/40px 40px,
    linear-gradient(180deg,#1543d8,#0f2a8f 55%,#0a1a4a)}
  html[data-skin="gdash"] body::after{content:"";position:fixed;left:0;right:0;bottom:0;height:30px;z-index:-1;pointer-events:none;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='22' viewBox='0 0 40 22'%3E%3Cpath d='M2 22L12 2l10 20zM20 22L30 2l10 20z' fill='%23000' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") 0 0/40px 22px repeat-x,
      linear-gradient(#000,#000) 0 22px/100% 8px no-repeat}
  html[data-skin="gdash"] .wrap{padding-bottom:60px}
  html[data-skin="gdash"] #clock{color:#7CFF00;font-size:46px;-webkit-text-stroke:2px #000;text-shadow:0 4px 0 #000,0 0 22px rgba(124,255,0,.55)}
  html[data-skin="gdash"] .status,html[data-skin="gdash"] #day,html[data-skin="gdash"] .card{border:3px solid #000;border-radius:6px;box-shadow:inset 0 0 0 2px rgba(124,255,0,.35),0 4px 0 #000}
  html[data-skin="gdash"] .chip{background:#FFD600;color:#000;border:2px solid #000;border-radius:4px}

  /* платформер: небо з хмарами, цегла, монетки, земля внизу */
  html[data-skin="mario"] body::before{background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='170' viewBox='0 0 360 170' shape-rendering='crispEdges'%3E%3Cg fill='%23fff'%3E%3Crect x='30' y='40' width='72' height='14'/%3E%3Crect x='44' y='28' width='44' height='12'/%3E%3Crect x='230' y='96' width='88' height='14'/%3E%3Crect x='248' y='84' width='52' height='12'/%3E%3C/g%3E%3Cg fill='%23FBD000' stroke='%23B07A00' stroke-width='2'%3E%3Cellipse cx='170' cy='60' rx='7' ry='10'/%3E%3Cellipse cx='192' cy='60' rx='7' ry='10'/%3E%3C/g%3E%3C/svg%3E") 0 230px/360px 170px repeat-x,
    linear-gradient(180deg,#5C94FC,#8DB5FF 80%)}
  html[data-skin="mario"] .wrap::before{content:"";display:block;height:24px;margin:-18px -16px 14px;
    background:linear-gradient(#3a1a00,#3a1a00) 0 11px/100% 2px no-repeat,linear-gradient(90deg,#3a1a00 2px,transparent 2px) 0 0/24px 11px repeat-x,
      linear-gradient(90deg,#3a1a00 2px,transparent 2px) 12px 13px/24px 11px repeat-x,#C84C0C}
  html[data-skin="mario"] body::after{content:"";position:fixed;left:0;right:0;bottom:0;height:26px;z-index:-1;pointer-events:none;
    background:linear-gradient(#5CB82E,#5CB82E) 0 0/100% 6px no-repeat,repeating-linear-gradient(90deg,#B04A0E 0 22px,#8C3A08 22px 24px) 0 6px/100% 20px no-repeat}
  html[data-skin="mario"] .wrap{padding-bottom:50px}
  html[data-skin="mario"] #clock{color:#fff;font-size:40px;letter-spacing:0;text-shadow:4px 4px 0 #000;margin:8px 0 4px}
  html[data-skin="mario"] .top #today{color:#fff;font-weight:700;text-shadow:1px 1px 0 #000}
  html[data-skin="mario"] .status,html[data-skin="mario"] #day,html[data-skin="mario"] .card{border:3px solid #000;border-radius:8px}
  html[data-skin="mario"] .big .cls,html[data-skin="mario"] .big .left,html[data-skin="mario"] #soon .m,html[data-skin="mario"] .plist.grid b{font-family:var(--sys);font-weight:800}
  html[data-skin="mario"] .chip{background:#FBD000;color:#000;border:2px solid #000;border-radius:4px;font-family:"Press Start 2P",monospace;font-size:8.5px;line-height:1.7}

  /* швидкість: лінії руху, золоті кільця, шахова земля */
  html[data-skin="sonic"] body::before{background:
    radial-gradient(circle at 86% 14%,transparent 0 9px,#FFD000 10px 13px,transparent 14px),radial-gradient(circle at 76% 9%,transparent 0 7px,#FFD000 8px 10.5px,transparent 11.5px),
    radial-gradient(circle at 10% 34%,transparent 0 8px,rgba(255,208,0,.8) 9px 11.5px,transparent 12.5px),
    repeating-linear-gradient(100deg,rgba(255,255,255,.07) 0 2px,transparent 2px 46px),
    radial-gradient(ellipse at 30% 20%,#2f6cf0,transparent 60%),linear-gradient(180deg,#1452e0,#0b3fbf 60%,#082f8f)}
  html[data-skin="sonic"] body::after{content:"";position:fixed;left:0;right:0;bottom:0;height:34px;z-index:-1;pointer-events:none;
    background:linear-gradient(#3DBE3A,#3DBE3A) 0 0/100% 7px no-repeat,
      conic-gradient(#E58A2E 25%,#A3561B 0 50%,#E58A2E 0 75%,#A3561B 0) 0 7px/27px 27px}
  html[data-skin="sonic"] .wrap{padding-bottom:58px}
  html[data-skin="sonic"] #clock{color:#FFD000;font-style:italic;-webkit-text-stroke:2px #061f66;text-shadow:4px 4px 0 #061f66;transform:skewX(-8deg)}
  html[data-skin="sonic"] .status,html[data-skin="sonic"] #day,html[data-skin="sonic"] .card{border:3px solid #061f66;border-radius:20px}
  html[data-skin="sonic"] .chip{background:#FFD000;color:#061f66;border:2px solid #061f66;font-style:italic}

  /* арена: дві сторони (зелена й червона), камінь і золото */
  html[data-skin="dota"] body::before{background:
    radial-gradient(ellipse at 0% 100%,rgba(70,140,60,.32),transparent 50%),radial-gradient(ellipse at 100% 0%,rgba(170,40,30,.38),transparent 52%),
    repeating-linear-gradient(45deg,rgba(255,255,255,.018) 0 2px,transparent 2px 7px),linear-gradient(180deg,#14171a,#0c0e10)}
  html[data-skin="dota"] body::after{content:"";position:fixed;left:-10%;right:-10%;top:48%;height:2px;z-index:-1;pointer-events:none;transform:rotate(-24deg);
    background:linear-gradient(90deg,transparent,rgba(212,169,79,.35),transparent)}
  html[data-skin="dota"] #clock{color:#EAD9A6;font-weight:700;text-shadow:0 0 18px rgba(212,169,79,.45),0 2px 0 #000}
  html[data-skin="dota"] .status,html[data-skin="dota"] #day,html[data-skin="dota"] .card{border-radius:4px;border:1px solid #5c4a2a;box-shadow:inset 0 0 0 1px rgba(212,169,79,.18),0 6px 18px rgba(0,0,0,.45)}
  html[data-skin="dota"] .chip{background:#17191c;color:#D4A94F;border:1px solid #8a6d32;border-radius:3px}

  /* тактичний шутер: сталь, приціл, HUD */
  html[data-skin="cs2"] body::before{background:
    linear-gradient(rgba(242,169,59,.5),rgba(242,169,59,.5)) calc(100% - 46px) 120px/2px 26px no-repeat,
    linear-gradient(rgba(242,169,59,.5),rgba(242,169,59,.5)) calc(100% - 46px) 158px/2px 26px no-repeat,
    linear-gradient(90deg,rgba(242,169,59,.5),rgba(242,169,59,.5)) calc(100% - 82px) 154px/26px 2px no-repeat,
    linear-gradient(90deg,rgba(242,169,59,.5),rgba(242,169,59,.5)) calc(100% - 44px) 154px/26px 2px no-repeat,
    repeating-linear-gradient(-45deg,rgba(255,255,255,.022) 0 1px,transparent 1px 9px),linear-gradient(180deg,#1f242b,#121417 70%)}
  html[data-skin="cs2"] #clock{color:#fff;font-weight:700;letter-spacing:.05em;text-shadow:0 0 1px #000,0 2px 10px rgba(0,0,0,.6)}
  html[data-skin="cs2"] .status,html[data-skin="cs2"] #day,html[data-skin="cs2"] .card{border-radius:2px;border:1px solid #353a42;border-left:3px solid #F2A93B}
  html[data-skin="cs2"] .chip{background:rgba(242,169,59,.14);color:#F2A93B;border-radius:2px;text-transform:uppercase;letter-spacing:.05em}

  /* королівська битва: карта-рельєф, хакі, жовтий ящик з парашутом */
  html[data-skin="pubg"] body::before{background:
    repeating-radial-gradient(circle at 72% 26%,rgba(242,169,0,.07) 0 1px,transparent 1px 24px),
    repeating-radial-gradient(circle at 18% 78%,rgba(189,180,151,.07) 0 1px,transparent 1px 20px),
    linear-gradient(180deg,#3b3324,#25221a 40%,#1d1c16)}
  html[data-skin="pubg"] body::after{content:"🪂";position:fixed;right:18px;top:calc(70px + env(safe-area-inset-top,0px));z-index:-1;pointer-events:none;font-size:64px;opacity:.16;filter:grayscale(.3)}
  html[data-skin="pubg"] #clock{color:#F2A900;font-weight:700;letter-spacing:.02em;text-shadow:2px 2px 0 #000}
  html[data-skin="pubg"] .status,html[data-skin="pubg"] #day,html[data-skin="pubg"] .card{border-radius:4px;border:1px solid #4d4734;border-top:3px solid #F2A900}
  html[data-skin="pubg"] .chip{background:#F2A900;color:#1d1c16;border-radius:3px;font-weight:700}

  /* фентезі-світ: небо, хмари, зірочки, золоте оздоблення */
  html[data-skin="genshin"] body::before{background:
    radial-gradient(ellipse at 20% 12%,rgba(255,255,255,.95),transparent 30%),radial-gradient(ellipse at 78% 20%,rgba(255,255,255,.85),transparent 28%),
    radial-gradient(ellipse at 50% 100%,rgba(244,226,180,.7),transparent 55%),linear-gradient(180deg,#A9D8EC,#DCEFF3 45%,#F6EEDC)}
  html[data-skin="genshin"] body::after{content:"✦      ✧          ✦     ✧";position:fixed;left:0;right:0;top:calc(12px + env(safe-area-inset-top,0px));
    z-index:-1;pointer-events:none;text-align:center;white-space:pre;color:rgba(201,161,90,.75);font-size:18px;animation:twinkle 3.4s ease-in-out infinite}
  html[data-skin="genshin"] #clock{font-weight:700;background:linear-gradient(180deg,#E9C77B,#9C7428);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 0 rgba(255,255,255,.8))}
  html[data-skin="genshin"] .status,html[data-skin="genshin"] #day,html[data-skin="genshin"] .card{border-radius:14px;border:1px solid #E5D8BA;
    box-shadow:0 0 0 3px rgba(201,161,90,.12),0 6px 22px rgba(120,100,60,.12);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
  html[data-skin="genshin"] .big .cls{font-size:46px}html[data-skin="genshin"] .big .left{font-size:30px}
  html[data-skin="genshin"] .chip{background:rgba(255,252,244,.85);color:#8A6620;border:1px solid #D9C28E}

  /* стікмен: зошит у лінійку, чорнило, «намальовані від руки» рамки */
  html[data-skin="stick"] body::before{background:
    linear-gradient(90deg,transparent 34px,rgba(229,57,53,.45) 34px 36px,transparent 36px),
    repeating-linear-gradient(180deg,transparent 0 27px,#CFE0F3 27px 28px),#FAFAF6}
  html[data-skin="stick"] body::after{content:"";position:fixed;right:14px;bottom:18px;width:70px;height:110px;z-index:-1;pointer-events:none;opacity:.22;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 110' fill='none' stroke='%23111' stroke-width='4' stroke-linecap='round'%3E%3Ccircle cx='35' cy='16' r='11'/%3E%3Cpath d='M35 27v40M35 40l-20 12M35 40l22-16M35 67l-16 34M35 67l18 32'/%3E%3C/svg%3E") 0 0/contain no-repeat}
  html[data-skin="stick"] #clock{color:#111;font-size:64px;font-weight:700;transform:rotate(-2deg)}
  html[data-skin="stick"] .status,html[data-skin="stick"] #day,html[data-skin="stick"] .card{border:2.5px solid #111;border-radius:255px 18px 225px 18px/18px 225px 18px 255px}
  html[data-skin="stick"] .chip{background:#fff;color:#111;border:2px solid #111;border-radius:18px 6px 16px 6px/6px 16px 6px 18px}
  html[data-skin="stick"] .big .cls{font-size:50px}html[data-skin="stick"] .big .left{font-size:32px}

  /* вкладки шторки «Оформлення» */
  .sktabs{display:flex;gap:4px;padding:4px;margin:2px 0 12px;border-radius:12px;background:var(--surface-2)}
  .sktabs button{flex:1;border:0;border-radius:9px;padding:8px 10px;background:none;color:var(--muted);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
  .sktabs button[aria-selected="true"]{background:var(--surface);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.12)}
  .skins h3{grid-column:1/-1;margin:2px 0 -2px;font-size:11.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
  .skins .pv b{position:absolute;right:6px;bottom:4px;font-size:17px;line-height:1}
  .skins .pv{position:relative}

  /* ── Marvel (неофіційні теми за мотивами героїв: кольори й символи, без логотипів і зображень) ── */
  html:root[data-skin="ironman"]{--bg:#140405;--surface:rgba(42,8,10,.92);--surface-2:#3a1012;--text:#FFF4E6;--muted:#E0B9A8;--line:#5a1a1a;--accent:#F2B33D;--accent-soft:rgba(242,179,61,0.15);--fill:#B3121B;--live:#4FE3FF;--live-soft:rgba(79,227,255,0.17);--note:rgba(242,179,61,0.13);--note-line:#F2B33D;--warn:rgba(242,179,61,0.15);--box:#3a1012;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 0 0 1px rgba(242,179,61,.45),0 10px 28px rgba(0,0,0,.5);--rounded:"Russo One",var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="spider"]{--bg:#0d1640;--surface:#14205a;--surface-2:#1c2c74;--text:#FFFFFF;--muted:#B9C6F2;--line:#2a3a86;--accent:#FF3B4A;--accent-soft:rgba(255,59,74,0.15);--fill:#C8102E;--live:#FFD24A;--live-soft:rgba(255,210,74,0.17);--note:rgba(255,59,74,0.13);--note-line:#FF3B4A;--warn:rgba(255,59,74,0.15);--box:#1c2c74;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 0 0 2px #C8102E,0 10px 24px rgba(0,0,0,.4);--rounded:Rubik,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="thor"]{--bg:#121822;--surface:rgba(26,34,48,.93);--surface-2:#26324a;--text:#EEF3FA;--muted:#A9B7CC;--line:#33425e;--accent:#7FD3FF;--accent-soft:rgba(127,211,255,0.15);--fill:#B3202A;--live:#FFD84D;--live-soft:rgba(255,216,77,0.17);--note:rgba(127,211,255,0.13);--note-line:#7FD3FF;--warn:rgba(127,211,255,0.15);--box:#26324a;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 0 0 1px rgba(127,211,255,.3),0 10px 26px rgba(0,0,0,.5);--rounded:"Yeseva One",Georgia,serif;--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="hulk"]{--bg:#160d22;--surface:#22133a;--surface-2:#2f1c4f;--text:#F4FFEF;--muted:#C2B4DA;--line:#3e2864;--accent:#7BE04B;--accent-soft:rgba(123,224,75,0.15);--fill:#3E8E2E;--live:#FF7A3D;--live-soft:rgba(255,122,61,0.17);--note:rgba(123,224,75,0.13);--note-line:#7BE04B;--warn:rgba(123,224,75,0.15);--box:#2f1c4f;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 6px 0 #0b0614;--rounded:Rubik,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="strange"]{--bg:#07121f;--surface:rgba(12,30,48,.93);--surface-2:#14304a;--text:#F2F6FF;--muted:#A9BCD6;--line:#1f4566;--accent:#FFA235;--accent-soft:rgba(255,162,53,0.15);--fill:#C2410C;--live:#FFD27A;--live-soft:rgba(255,210,122,0.17);--note:rgba(255,162,53,0.13);--note-line:#FFA235;--warn:rgba(255,162,53,0.15);--box:#14304a;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 0 0 1px rgba(255,162,53,.35),0 0 26px rgba(255,162,53,.12);--rounded:Philosopher,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="doom"]{--bg:#101411;--surface:#1c221e;--surface-2:#2a322c;--text:#E6EBE7;--muted:#9DA8A0;--line:#3a443d;--accent:#4FB36A;--accent-soft:rgba(79,179,106,0.15);--fill:#2E6B3F;--live:#9BE36B;--live-soft:rgba(155,227,107,0.17);--note:rgba(79,179,106,0.13);--note-line:#4FB36A;--warn:rgba(79,179,106,0.15);--box:#2a322c;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:inset 0 0 0 1px #4a554d,0 10px 24px rgba(0,0,0,.5);--rounded:"Russo One",var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="cap"]{--bg:#14234f;--surface:#FFFFFF;--surface-2:#EEF2FA;--text:#13213F;--muted:#4E5B78;--line:#DCE3F0;--accent:#C8102E;--accent-soft:rgba(200,16,46,.10);--fill:#1B3A8A;--live:#C8102E;--live-soft:rgba(200,16,46,.10);--note:rgba(27,58,138,.10);--note-line:#1B3A8A;--warn:rgba(27,58,138,.12);--box:#FFFFFF;--ok:rgba(0,140,80,.14);--ok-l:#007A42;--no:rgba(200,16,46,.10);--no-l:#A50D25;--shadow:0 0 0 3px #C8102E,0 10px 26px rgba(0,0,0,.35);--rounded:Oswald,var(--sys);--g2:#B25000;--g3:#C93400;--g4:#D70015;--g5:#1F7A36;--g6:#D30F45;--g7:#0066CC;--g8:#8944AB;--g9:#0071A4}
  html:root[data-skin="rocket"]{--bg:#0c1220;--surface:#171f33;--surface-2:#222c45;--text:#FFF3E8;--muted:#C9B39C;--line:#33405e;--accent:#FF8A2A;--accent-soft:rgba(255,138,42,0.15);--fill:#B5531C;--live:#5FE0FF;--live-soft:rgba(95,224,255,0.17);--note:rgba(255,138,42,0.13);--note-line:#FF8A2A;--warn:rgba(255,138,42,0.15);--box:#222c45;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 0 0 1px rgba(255,138,42,.35),0 10px 24px rgba(0,0,0,.5);--rounded:"Russo One",var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="deadpool"]{--bg:#0b0b0b;--surface:#151515;--surface-2:#222;--text:#FFFFFF;--muted:#BDBDBD;--line:#3a1a1a;--accent:#FF2E3E;--accent-soft:rgba(255,46,62,0.15);--fill:#B0101C;--live:#FFD02E;--live-soft:rgba(255,208,46,0.17);--note:rgba(255,46,62,0.13);--note-line:#FF2E3E;--warn:rgba(255,46,62,0.15);--box:#222;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 0 0 2px #B0101C,5px 5px 0 #000;--rounded:Rubik,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="widow"]{--bg:#08080a;--surface:#121216;--surface-2:#1c1c22;--text:#F3F3F6;--muted:#A6A6B2;--line:#2a2a33;--accent:#E3172F;--accent-soft:rgba(227,23,47,0.15);--fill:#9E0E20;--live:#FF5A6E;--live-soft:rgba(255,90,110,0.17);--note:rgba(227,23,47,0.13);--note-line:#E3172F;--warn:rgba(227,23,47,0.15);--box:#1c1c22;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 0 0 1px rgba(227,23,47,.4),0 10px 26px rgba(0,0,0,.6);--rounded:Oswald,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="captmarvel"]{--bg:#0d1a45;--surface:#152660;--surface-2:#1e3278;--text:#FFFFFF;--muted:#B7C4EE;--line:#2b3f8c;--accent:#F4C430;--accent-soft:rgba(244,196,48,0.15);--fill:#C3242F;--live:#FFD86B;--live-soft:rgba(255,216,107,0.17);--note:rgba(244,196,48,0.13);--note-line:#F4C430;--warn:rgba(244,196,48,0.15);--box:#1e3278;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 0 0 1px rgba(244,196,48,.5),0 0 28px rgba(244,196,48,.18);--rounded:Oswald,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="scarlet"]{--bg:#14050c;--surface:rgba(40,8,22,.93);--surface-2:#3d0d24;--text:#FFEFF4;--muted:#E0A9BC;--line:#5c1634;--accent:#FF3B6B;--accent-soft:rgba(255,59,107,0.15);--fill:#A8123E;--live:#FF8AB0;--live-soft:rgba(255,138,176,0.17);--note:rgba(255,59,107,0.13);--note-line:#FF3B6B;--warn:rgba(255,59,107,0.15);--box:#3d0d24;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 0 0 1px rgba(255,59,107,.4),0 0 28px rgba(255,59,107,.18);--rounded:Philosopher,var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}
  html:root[data-skin="gotg"]{--bg:#140a26;--surface:rgba(28,14,52,.9);--surface-2:#2d1a52;--text:#FFF5EC;--muted:#D7BFE8;--line:#43276f;--accent:#FF8C1A;--accent-soft:rgba(255,140,26,0.15);--fill:#D9356F;--live:#5CE1FF;--live-soft:rgba(92,225,255,0.17);--note:rgba(255,140,26,0.13);--note-line:#FF8C1A;--warn:rgba(255,140,26,0.15);--box:#2d1a52;--ok:rgba(110,231,150,0.18);--ok-l:#6EE796;--no:rgba(255,122,138,0.18);--no-l:#FF7A8A;--shadow:0 0 0 1px rgba(255,140,26,.35),0 10px 26px rgba(0,0,0,.45);--rounded:"Rubik Mono One",var(--sys);--g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#409CFF;--g8:#DA8FFF;--g9:#5DE6FF}

  html[data-skin="ironman"] body::before{background:radial-gradient(circle at 50% 120px,rgba(79,227,255,.35) 0 34px,rgba(79,227,255,.08) 60px,transparent 120px),
    linear-gradient(180deg,#3a0a0c,#140405 55%),#140405}
  html[data-skin="ironman"] #clock{color:#F2B33D;text-shadow:0 0 18px rgba(79,227,255,.55),0 2px 0 #5a1a1a}
  html[data-skin="ironman"] .status,html[data-skin="ironman"] #day,html[data-skin="ironman"] .card{border-radius:10px;border:1px solid #F2B33D}
  html[data-skin="ironman"] .chip{background:rgba(242,179,61,.16);color:#F2B33D;border:1px solid rgba(242,179,61,.5)}

  html[data-skin="spider"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.10' stroke-width='1.4'%3E%3Cpath d='M200 0V400M0 200H400M59 59L341 341M341 59L59 341M200 0L0 400M200 0L400 400'/%3E%3Ccircle cx='200' cy='200' r='40'/%3E%3Ccircle cx='200' cy='200' r='90'/%3E%3Ccircle cx='200' cy='200' r='145'/%3E%3Ccircle cx='200' cy='200' r='200'/%3E%3C/g%3E%3C/svg%3E") 50% 0/560px 560px no-repeat,linear-gradient(155deg,#B30E28 0 34%,#0d1640 34.3%)}
  html[data-skin="spider"] #clock{color:#fff;font-weight:900;-webkit-text-stroke:2px #0d1640;text-shadow:0 4px 0 #0d1640}
  html[data-skin="spider"] .top #today{color:#fff}
  html[data-skin="spider"] .status,html[data-skin="spider"] #day,html[data-skin="spider"] .card{border-radius:16px}
  html[data-skin="spider"] .chip{background:#C8102E;color:#fff}

  html[data-skin="thor"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='260' viewBox='0 0 240 260'%3E%3Cg fill='none' stroke='%237FD3FF' stroke-opacity='.35' stroke-width='2.5' stroke-linejoin='round'%3E%3Cpath d='M40 0L22 60L46 64L18 140'/%3E%3Cpath d='M190 90L176 140L198 142L170 210'/%3E%3C/g%3E%3C/svg%3E") 0 0/240px 260px,radial-gradient(ellipse at 50% 0,rgba(127,211,255,.22),transparent 60%),
    linear-gradient(180deg,#26324a,#121822 60%)}
  html[data-skin="thor"] #clock{color:#E6EEF8;text-shadow:0 0 16px rgba(127,211,255,.7)}
  html[data-skin="thor"] .status,html[data-skin="thor"] #day,html[data-skin="thor"] .card{border-radius:8px;border-left:4px solid #B3202A}

  html[data-skin="hulk"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%237BE04B' stroke-opacity='.14' stroke-width='2'%3E%3Cpath d='M0 40L50 60L70 30L120 70L160 50'/%3E%3Cpath d='M260 180L200 170L180 210L130 190L100 230'/%3E%3Cpath d='M70 30L80 0M120 70L110 110L140 130'/%3E%3C/g%3E%3C/svg%3E") 0 0/260px 260px,linear-gradient(180deg,#2f1c4f,#160d22 55%)}
  html[data-skin="hulk"] #clock{color:#7BE04B;font-weight:900;font-size:68px;text-shadow:0 6px 0 #0b0614}
  html[data-skin="hulk"] .status,html[data-skin="hulk"] #day,html[data-skin="hulk"] .card{border-radius:12px;border:3px solid #3E8E2E}
  html[data-skin="hulk"] .chip{background:#3E8E2E;color:#F4FFEF}

  html[data-skin="strange"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cg fill='none' stroke='%23FFA235' stroke-opacity='.28'%3E%3Ccircle cx='150' cy='150' r='140' stroke-width='2'/%3E%3Ccircle cx='150' cy='150' r='118' stroke-width='1.2' stroke-dasharray='4 7'/%3E%3Ccircle cx='150' cy='150' r='96' stroke-width='2'/%3E%3Cpath d='M150 54L233 198H67Z M150 246L67 102H233Z' stroke-width='1.4'/%3E%3Ccircle cx='150' cy='150' r='40' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E") 50% 20px/360px 360px no-repeat,radial-gradient(circle at 50% 200px,rgba(255,162,53,.14),transparent 50%),
    linear-gradient(180deg,#0e2236,#07121f 60%)}
  html[data-skin="strange"] #clock{color:#FFD27A;text-shadow:0 0 14px rgba(255,162,53,.8)}
  html[data-skin="strange"] .status,html[data-skin="strange"] #day,html[data-skin="strange"] .card{border-radius:14px}

  html[data-skin="doom"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Crect width='60' height='60' fill='none' stroke='%23fff' stroke-opacity='.04'/%3E%3Ccircle cx='6' cy='6' r='2' fill='%23fff' fill-opacity='.08'/%3E%3C/svg%3E") 0 0/60px 60px,linear-gradient(180deg,#1E3B2A 0 140px,#101411 360px)}
  html[data-skin="doom"] #clock{color:#C9CFCB;text-shadow:0 2px 0 #000,0 0 14px rgba(79,179,106,.35)}
  html[data-skin="doom"] .status,html[data-skin="doom"] #day,html[data-skin="doom"] .card{border-radius:4px;border:2px solid #4a554d;
    background-image:linear-gradient(180deg,rgba(255,255,255,.04),transparent 40%)}
  html[data-skin="doom"] .chip{background:#2a322c;color:#4FB36A;border:1px solid #4a554d;border-radius:4px}

  html[data-skin="cap"] body::before{background:repeating-linear-gradient(180deg,#C8102E 0 10px,#fff 10px 20px) 0 0/100% 50px no-repeat,
    radial-gradient(circle at 50% 160px,rgba(255,255,255,.10) 0 90px,transparent 92px),linear-gradient(180deg,#1B3A8A,#14234f 60%)}
  html[data-skin="cap"] .wrap{padding-top:60px}
  html[data-skin="cap"] #clock{color:#fff;font-weight:700;letter-spacing:.01em;text-shadow:0 3px 0 #C8102E}
  html[data-skin="cap"] #clock::before{content:"★ ";font-size:.5em;vertical-align:.35em;color:#fff}
  html[data-skin="cap"] .top #today{color:#DCE3F0}
  html[data-skin="cap"] .who .pick b,html[data-skin="cap"] .who .pick span{color:#fff}
  html[data-skin="cap"] .status,html[data-skin="cap"] #day,html[data-skin="cap"] .card{border-radius:14px}
  html[data-skin="cap"] .chip{background:#fff;color:#1B3A8A}

  html[data-skin="rocket"] body::before{background:radial-gradient(1.5px 1.5px at 30px 40px,#fff,transparent) 0 0/120px 120px,
    radial-gradient(1px 1px at 80px 90px,#fff,transparent) 0 0/120px 120px,radial-gradient(ellipse at 80% 10%,rgba(255,138,42,.25),transparent 55%),#0c1220}
  html[data-skin="rocket"] #clock{color:#FF8A2A;text-shadow:0 0 16px rgba(255,138,42,.5)}
  html[data-skin="rocket"] .status,html[data-skin="rocket"] #day,html[data-skin="rocket"] .card{border-radius:8px;
    clip-path:polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%)}
  html[data-skin="rocket"] .chip{background:#E86A1C;color:#1a0f05}

  html[data-skin="deadpool"] body::before{background:repeating-linear-gradient(135deg,rgba(255,46,62,.10) 0 18px,transparent 18px 46px),
    linear-gradient(180deg,#B0101C 0 150px,#0b0b0b 330px)}
  html[data-skin="deadpool"] #clock{color:#fff;font-weight:900;font-style:italic;-webkit-text-stroke:2px #000;text-shadow:4px 4px 0 #000}
  html[data-skin="deadpool"] .top #today{color:#fff}
  html[data-skin="deadpool"] .status,html[data-skin="deadpool"] #day,html[data-skin="deadpool"] .card{border-radius:6px;transform:rotate(-.4deg)}
  html[data-skin="deadpool"] .chip{background:#000;color:#fff;border:2px solid #FF2E3E}

  html[data-skin="widow"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'%3E%3Cpath d='M10 0H90L54 66H46Z M46 74H54L90 140H10Z' fill='%23E3172F' fill-opacity='.09'/%3E%3C/svg%3E") 50% 170px/170px 240px no-repeat,linear-gradient(180deg,#141418,#08080a 60%)}
  html[data-skin="widow"] #clock{color:#F3F3F6;font-weight:700;letter-spacing:.03em}
  html[data-skin="widow"] .status,html[data-skin="widow"] #day,html[data-skin="widow"] .card{border-radius:4px;border-top:3px solid #E3172F}
  html[data-skin="widow"] .chip{background:transparent;color:#E3172F;border:1px solid #E3172F}

  html[data-skin="captmarvel"] body::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0L58 38L96 30L64 52L88 84L52 64L50 100L44 64L10 84L36 52L4 30L42 38Z' fill='%23F4C430' fill-opacity='.13'/%3E%3C/svg%3E") 50% 30px/260px 260px no-repeat,
    radial-gradient(circle at 50% 160px,rgba(244,196,48,.25),transparent 45%),linear-gradient(180deg,#C3242F 0 6px,#1e3278 6px,#0d1a45 60%)}
  html[data-skin="captmarvel"] #clock{color:#F4C430;font-weight:700;text-shadow:0 0 20px rgba(244,196,48,.7)}
  html[data-skin="captmarvel"] .status,html[data-skin="captmarvel"] #day,html[data-skin="captmarvel"] .card{border-radius:12px;border:1px solid #F4C430}
  html[data-skin="captmarvel"] .chip{background:#C3242F;color:#fff}

  html[data-skin="scarlet"] body::before{background:radial-gradient(ellipse at 20% 15%,rgba(255,59,107,.35),transparent 45%),
    radial-gradient(ellipse at 85% 35%,rgba(168,18,62,.45),transparent 50%),radial-gradient(ellipse at 40% 90%,rgba(255,59,107,.22),transparent 50%),#14050c}
  html[data-skin="scarlet"] #clock{color:#FF8AB0;text-shadow:0 0 12px #FF3B6B,0 0 30px rgba(255,59,107,.6)}
  html[data-skin="scarlet"] .status,html[data-skin="scarlet"] #day,html[data-skin="scarlet"] .card{border-radius:18px}

  html[data-skin="gotg"] body::before{background:radial-gradient(1.5px 1.5px at 20px 30px,#fff,transparent) 0 0/110px 110px,
    radial-gradient(ellipse at 15% 20%,rgba(255,140,26,.30),transparent 45%),radial-gradient(ellipse at 85% 30%,rgba(217,53,111,.35),transparent 50%),
    radial-gradient(ellipse at 50% 90%,rgba(92,225,255,.18),transparent 50%),#140a26}
  html[data-skin="gotg"] #clock{font-size:46px;color:#FF8C1A;text-shadow:3px 3px 0 #D9356F,6px 6px 0 rgba(92,225,255,.5)}
  html[data-skin="gotg"] .big .cls,html[data-skin="gotg"] .big .left{font-family:var(--sys);font-weight:800}
  html[data-skin="gotg"] .status,html[data-skin="gotg"] #day,html[data-skin="gotg"] .card{border-radius:14px}
  html[data-skin="gotg"] .chip{background:linear-gradient(90deg,#FF8C1A,#D9356F);color:#fff}
  @media (max-width:370px){html[data-skin="gotg"] #clock{font-size:34px!important}html[data-skin="hulk"] #clock{font-size:54px!important}}


  /* «Своє фото»: фон — фото з телефона (зберігається лише на пристрої), кольори — з фото */
  html:root[data-skin="photo"]{--bg:#0b0b0e;--surface:rgba(16,16,20,.72);--surface-2:rgba(255,255,255,.13);--text:#FFFFFF;
    --muted:rgba(255,255,255,.74);--line:rgba(255,255,255,.15);--accent:var(--paccent,#8FB8FF);
    --accent-soft:color-mix(in srgb,var(--paccent,#8FB8FF) 24%,transparent);--fill:color-mix(in srgb,var(--paccent,#8FB8FF) 70%,#000);
    --live:#FF7A88;--live-soft:rgba(255,122,136,.2);--note:rgba(255,200,80,.16);--note-line:#FFD27A;--warn:rgba(255,200,80,.18);
    --box:rgba(255,255,255,.08);--ok:rgba(110,231,150,.2);--ok-l:#7EEBA3;--no:rgba(255,122,136,.2);--no-l:#FF9AA5;
    --shadow:0 10px 30px rgba(0,0,0,.35);--rounded:var(--sys);
    --g2:#FFD426;--g3:#FFB340;--g4:#FF6961;--g5:#30DB5B;--g6:#FF6482;--g7:#8FC1FF;--g8:#DA8FFF;--g9:#5DE6FF}
  html[data-skin="photo"] body::before{background:var(--photo) center/cover no-repeat,#000;filter:blur(var(--pblur,0px));transform:scale(1.08)}
  html[data-skin="photo"] body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:rgba(0,0,0,var(--pdim,.45))}
  html[data-skin="photo"] .status,html[data-skin="photo"] #day,html[data-skin="photo"] .card,html[data-skin="photo"] .chip{
    backdrop-filter:blur(12px) saturate(1.2);-webkit-backdrop-filter:blur(12px) saturate(1.2)}
  html[data-skin="photo"] .chip{background:rgba(0,0,0,.35);color:#fff}
  html[data-skin="photo"] #clock{color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.55)}
  html[data-skin="photo"] .top #today,html[data-skin="photo"] .who .pick b,html[data-skin="photo"] .who .pick span{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.6)}
  html[data-skin="photo"] .row .hwb:not(.ok){color:#111}

  .ph-pick{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:150px;margin:4px 0 12px;
    border:2px dashed var(--line);border-radius:18px;background:var(--surface-2);color:var(--text);font-weight:700;font-size:15px;cursor:pointer;text-align:center;padding:16px}
  .ph-pick b{font-size:34px;line-height:1}
  .ph-pick small{font-weight:500;color:var(--muted);font-size:12.5px}
  .ph-prev{position:relative;height:150px;border-radius:18px;overflow:hidden;margin:4px 0 12px;background:#000 center/cover no-repeat}
  .ph-prev::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,var(--pdim,.45))}
  .ph-prev span{position:absolute;z-index:1;left:14px;bottom:12px;color:#fff;font:700 34px/1 var(--sys);text-shadow:0 2px 12px rgba(0,0,0,.5)}
  .ph-prev em{position:absolute;z-index:1;right:12px;top:12px;font-style:normal;font-size:12px;font-weight:800;padding:4px 9px;border-radius:99px;background:var(--accent);color:#111}
  .ph-sl{display:grid;grid-template-columns:96px 1fr 44px;align-items:center;gap:8px;margin:6px 0;font-size:13.5px;font-weight:700}
  .ph-sl input{width:100%;accent-color:var(--accent)}
  .ph-sl output{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}
  .ph-acc{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}
  .ph-acc button{width:34px;height:34px;border-radius:50%;border:3px solid transparent;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(127,127,127,.35)}
  .ph-acc button.cur{border-color:var(--text)}
  .ph-acc button.auto{width:auto;border-radius:99px;padding:0 12px;font:inherit;font-size:12.5px;font-weight:800;color:#111}
  .ph-row{display:flex;gap:8px;margin-top:4px}
  .ph-row>*{flex:1;text-align:center}
  .ph-err{background:var(--no);color:var(--no-l);border-radius:12px;padding:10px 12px;font-size:13px;font-weight:600;margin-bottom:10px}

  /* кнопка й шторка вибору оформлення */
  #skinbtn{position:absolute;left:0;top:4px}
  #skinbtn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;max-width:none;margin:0}
  .skins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 14px}
  .skins button{position:relative;display:block;padding:0;border:2px solid transparent;border-radius:12px;overflow:hidden;
    background:var(--surface-2);cursor:pointer;text-align:left;font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}
  .skins button.cur{border-color:var(--accent)}
  .skins button.cur::after{content:"✓";position:absolute;top:5px;right:5px;width:18px;height:18px;border-radius:50%;
    background:var(--accent);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800;box-shadow:0 0 0 2px #fff}
  .skins .pv{display:block;height:50px;padding:8px}
  .skins .pv i{display:block;height:7px;border-radius:3px;margin-bottom:4px}
  .skins .pv i:nth-child(1){width:46%;height:11px}
  .skins .pv i:nth-child(2){width:84%}
  .skins .pv i:nth-child(3){width:60%}
  .skins .nm{display:block;padding:6px 7px 8px;font-size:12px;font-weight:700;line-height:1.2}
  .skins .nm small{display:block;margin-top:2px;font-size:10px;font-weight:500;line-height:1.25;color:var(--muted)}

