/* Liquid metal / orbital theme. Presentation only. */
:root{--bg:#09090d;--bg2:#141018;--card:#121216;--card-strong:#1b1920;--line:#ffffff20;--text:#f3eff5;--muted:#aaa3b1;--blue:#c4a5c6;--blue2:#edc7e4;--glow:#db9ec522;--auth-bg:#09090d;--auth-bg2:#19121c;--auth-card:#141217;--auth-text:#f3eff5;--auth-muted:#aaa3b1;--auth-input:#0d0c10;--auth-line:#ffffff26;--auth-blue:#c4a5c6;--auth-blue2:#edc7e4}
html.theme-light{--bg:#eeebf0;--bg2:#e2dce6;--card:#f8f6f9;--card-strong:#fff;--line:#34203924;--text:#211d26;--muted:#6c6072;--blue:#805280;--blue2:#805280;--glow:#80528018;--auth-bg:#eeebf0;--auth-bg2:#e2dce6;--auth-card:#f8f6f9;--auth-text:#211d26;--auth-muted:#6c6072;--auth-input:#fff;--auth-line:#34203924}
body,#physics-login{background:radial-gradient(ellipse at 80% 0%,#aa668519,transparent 46%),radial-gradient(ellipse at 0% 85%,#7d5f9820,transparent 48%),var(--bg);background-attachment:fixed}
body:before,body:after{display:none}
.top,.card,.tabs,.physics-login-card{backdrop-filter:none;-webkit-backdrop-filter:none;background:linear-gradient(135deg,#ffffff04,transparent 60%),var(--card);border:1px solid var(--line);box-shadow:inset 0 1px #ffffff09,0 12px 35px #00000014}
.top{background:var(--card);border-radius:20px;padding:18px;top:12px}.top h1{font-size:25px;font-weight:550;letter-spacing:-1px}.top .subtitle{font-size:12px;letter-spacing:.03em}.card{border-radius:18px}.choice{min-height:108px;padding:24px;gap:20px}.title{font-size:16px;font-weight:550}.meta{font-size:12px}.arrow{font-size:24px;color:var(--blue2)}
.ico,.history-icon,.physics-logo{background:linear-gradient(135deg,#e9e5ed 0%,#93909b 17%,#fdf8ff 31%,#514b5b 49%,#c5b7cb 70%,#eee8f0 84%,#8b8394 100%);color:#211b27;border:1px solid #ffffff50;box-shadow:inset 0 1px #fff9,0 4px 18px #dca5ce12;border-radius:50%}
.ico{font-size:22px}.physics-logo{font-size:38px}
.button,.answer button,.physics-login-card button:not(.physics-login-theme),.tabs .on,.nav .cur{background:linear-gradient(170deg,#faf4fa 0%,#d8d1dd 27%,#aaa1b1 48%,#c8bfce 52%,#f2e5ef 100%);color:#251d2b;border:1px solid #eae0ef;box-shadow:inset 0 1px #fff,0 5px 18px #0002;font-weight:600;text-shadow:0 1px #ffffff55}
.button{border-radius:12px}.button.secondary,.back,.theme-toggle,.small,.score-btn,.nav button:not(.cur),.physics-login-theme{background:linear-gradient(150deg,#ffffff08,#ffffff02),var(--card);color:var(--text);border:1px solid var(--line);box-shadow:inset 0 1px #ffffff0a;text-shadow:none}.button.danger{background:#652738;color:#ffeaf0;border-color:#dc8da733;text-shadow:none}
.tabs{border-radius:14px;padding:5px;gap:6px}.tabs button{border-radius:9px;color:var(--muted);font-weight:500}.tabs .on{color:#251d2b}
input,textarea,select,.physics-login-card input{background:var(--auth-input,#0d0c10);color:var(--text);border-color:var(--line);border-radius:10px;box-shadow:inset 0 2px 6px #0000000a}html.theme-light input,html.theme-light textarea,html.theme-light select{background:white}
.notice,.self-score,.timer{background:#b896be08;border-color:var(--line)}.progress{height:4px;background:#ffffff10}.progress i,.import-progressbar i{background:linear-gradient(90deg,#8c7a9a,#f7cde9,#dcd6e5);box-shadow:0 0 16px #eac3e144}.task-points,.history-count{background:#d6b6d50b;border-color:#d6b6d52a;color:var(--blue2);border-radius:7px}.history-score strong{color:var(--text);font-weight:500}.history-open{color:var(--blue2)}.score{font-weight:500}.badge.yes{background:#276451}.result{border-color:var(--line)}.physics-login-card{border-radius:24px}.physics-login-card h1{font-weight:500}
@media(hover:hover){.choice:hover,.history-link:hover{background:linear-gradient(120deg,#d9a9d00a,transparent),var(--card);border-color:#dcb7d350;box-shadow:inset 0 1px #ffffff14,0 8px 30px #0002}.button:hover:not(:disabled){filter:brightness(1.07);box-shadow:inset 0 1px #fff,0 6px 24px #e9c7e018}.secondary:hover,.small:hover,.back:hover,.theme-toggle:hover{background:var(--card-strong);border-color:#dcb7d350}}
@media(max-width:700px){.top{top:6px;padding:13px}.top h1{font-size:23px}.choice{padding:19px;gap:14px;min-height:96px}.card{border-radius:16px}.ico{width:42px;height:42px;flex-basis:42px}}
.top h1:before{content:"";display:inline-block;width:30px;height:30px;background:url("orbit.svg") center/contain no-repeat;vertical-align:-6px;margin-right:10px;filter:drop-shadow(0 0 6px #f2b4d533)}.choice .ico{font-size:15px;font-weight:600;letter-spacing:-.05em}
/* Neutral chrome: barely perceptible colour in reflections. */
:root{--bg:#09090b;--bg2:#121215;--card:#121215;--card-strong:#1b1b20;--text:#f0eff2;--muted:#a9a7ae;--blue:#b7b5bf;--blue2:#d9d7df;--glow:#c6bdcc0c;--auth-bg:#09090b;--auth-bg2:#141316;--auth-card:#141417;--auth-text:#f0eff2;--auth-muted:#a9a7ae;--auth-input:#0d0d10;--auth-blue:#b7b5bf;--auth-blue2:#d9d7df}
html.theme-light{--bg:#eeeef0;--bg2:#e0dfe3;--card:#f8f8fa;--card-strong:#fff;--text:#232329;--muted:#68676e;--blue:#65616e;--blue2:#65616e;--glow:#6e65760a;--auth-bg:#eeeef0;--auth-bg2:#e0dfe3;--auth-card:#f8f8fa;--auth-text:#232329;--auth-muted:#68676e}
body,#physics-login{background:radial-gradient(ellipse at 80% 0%,#b09ba606,transparent 46%),radial-gradient(ellipse at 0% 85%,#8d829d07,transparent 48%),var(--bg);background-attachment:fixed}
.ico,.history-icon,.physics-logo{background:linear-gradient(135deg,#e8e8ec 0%,#93939b 17%,#fafafd 31%,#505057 49%,#bdbbc3 70%,#eae9ed 84%,#85848d 100%);color:#222228;box-shadow:inset 0 1px #fff9,0 4px 18px #c9c5ce08}
.button,.answer button,.physics-login-card button:not(.physics-login-theme),.tabs .on,.nav .cur{background:linear-gradient(170deg,#f6f6f9 0%,#d4d4da 27%,#a6a5ae 48%,#c4c3cb 52%,#eae8ee 100%);color:#242329;border-color:#e4e3e9}
.notice,.self-score,.timer{background:#c1bdc805}.task-points,.history-count{background:#c5c1ce06;border-color:#c5c1ce24;color:var(--blue2)}.progress i,.import-progressbar i{background:linear-gradient(90deg,#85828e,#dad6e0,#eeedf3);box-shadow:0 0 12px #d1c4d414}.top h1:before{filter:grayscale(.9) drop-shadow(0 0 4px #c7becb10)}
@media(hover:hover){.choice:hover,.history-link:hover{background:linear-gradient(120deg,#c7bfce05,transparent),var(--card);border-color:#c7c3cf45}.button:hover:not(:disabled){box-shadow:inset 0 1px #fff,0 6px 24px #d0cad80a}.secondary:hover,.small:hover,.back:hover,.theme-toggle:hover{border-color:#c7c3cf45}}
/* Explicit light palette for the neutral metal theme. */
html.theme-light{--auth-input:#fff;--auth-line:#29273329;--line:#29273324;--auth-blue:#66636f;--auth-blue2:#97939f}
html.theme-light body,html.theme-light #physics-login{background:radial-gradient(ellipse at 80% 0%,#c8c3d116,transparent 46%),linear-gradient(145deg,#f2f2f5,#e5e4e9);background-attachment:fixed}
html.theme-light .top,html.theme-light .card,html.theme-light .tabs,html.theme-light .physics-login-card{background:linear-gradient(135deg,#ffffffaa,transparent 70%),var(--card);border-color:var(--line);box-shadow:inset 0 1px #fff,0 10px 30px #2823340a}
html.theme-light input,html.theme-light textarea,html.theme-light select,html.theme-light .physics-login-card input{background:#fff;color:var(--text);border-color:#29273329}
html.theme-light .button.secondary,html.theme-light .small,html.theme-light .score-btn,html.theme-light .back,html.theme-light .theme-toggle,html.theme-light .physics-login-theme,html.theme-light .nav button:not(.cur){background:linear-gradient(145deg,#fff,#ecebf0);color:var(--text);border-color:#29273329;box-shadow:inset 0 1px #fff}
html.theme-light .notice,html.theme-light .self-score,html.theme-light .timer,html.theme-light .task-points,html.theme-light .history-count{background:#66617107;color:var(--text);border-color:var(--line)}
html.theme-light .progress,html.theme-light .import-progressbar{background:#29273312}html.theme-light .progress i,html.theme-light .import-progressbar i{background:linear-gradient(90deg,#77737f,#a7a2b0,#77737f);box-shadow:none}
html.theme-light .top h1:before{filter:grayscale(1) brightness(.48)}html.theme-light .solved-label{color:#187354}html.theme-light .loader{color:var(--muted)}
html.theme-light .import-box{background:var(--card-strong);color:var(--text)}html.theme-light .close{background:#fff;color:#232329}
@media(hover:hover){html.theme-light .choice:hover,html.theme-light .history-link:hover{background:#fff;border-color:#77717e66}html.theme-light .secondary:hover,html.theme-light .small:hover{background:#e5e3eb}}
/* Soft orbital glow and glass, retaining the silver controls. */
:root{--bg:#101016;--card:rgba(36,34,44,.69);--card-strong:#25222d;--line:rgba(225,214,236,.2);--muted:#b5aebf;--blue2:#e6d2e1}
body,#physics-login{background:radial-gradient(ellipse at 12% 12%,rgba(137,115,168,.18),transparent 48%),radial-gradient(ellipse at 88% 52%,rgba(192,139,169,.13),transparent 44%),radial-gradient(ellipse at 30% 100%,rgba(117,129,167,.12),transparent 48%),linear-gradient(145deg,#111118,#18151e);background-attachment:fixed}
.top,.card,.tabs,.physics-login-card{background:linear-gradient(130deg,rgba(255,255,255,.065),rgba(255,255,255,.008) 65%),var(--card);border:1px solid var(--line);box-shadow:inset 0 1px rgba(255,255,255,.14),inset 0 -1px rgba(255,255,255,.025),0 15px 40px #00000024;-webkit-backdrop-filter:blur(22px) saturate(120%);backdrop-filter:blur(22px) saturate(120%)}
.top{background:rgba(37,33,46,.86)}.card{border-radius:23px}.tabs{border-radius:17px}.choice .ico{font-size:23px;letter-spacing:0;background:linear-gradient(145deg,#ffffff12,#d1b2d307);border:1px solid var(--line);box-shadow:inset 0 1px #ffffff20,0 5px 18px #0000000c;border-radius:16px}.button.secondary{background:linear-gradient(135deg,#ffffff10,#d4b7d506),var(--card);border-color:var(--line)}.button,.answer button,.tabs .on,.nav .cur{background:linear-gradient(170deg,#f4f1f7 0%,#d6cfdc 27%,#aaa1b0 48%,#c8bfce 52%,#eee2eb 100%)}.progress i{background:linear-gradient(90deg,#9f8eae,#e5c9de,#dad5e6);box-shadow:0 0 15px #e0bcd32a}.top h1:before{filter:grayscale(.55) drop-shadow(0 0 7px #e8bbd132)}
html.theme-light{--card:rgba(255,255,255,.66);--card-strong:#f8f5fa;--line:rgba(91,70,107,.19);--blue2:#756078}
html.theme-light body,html.theme-light #physics-login{background:radial-gradient(ellipse at 12% 10%,rgba(169,151,198,.2),transparent 48%),radial-gradient(ellipse at 90% 60%,rgba(211,166,191,.17),transparent 46%),linear-gradient(145deg,#f3f0f6,#e9e6ef);background-attachment:fixed}
html.theme-light .top,html.theme-light .card,html.theme-light .tabs,html.theme-light .physics-login-card{background:linear-gradient(135deg,#ffffff66,#ffffff08 65%),var(--card);border-color:var(--line);box-shadow:inset 0 1px #fff,0 14px 38px #51405e0b;-webkit-backdrop-filter:blur(22px) saturate(120%);backdrop-filter:blur(22px) saturate(120%)}html.theme-light .top{background:rgba(248,245,251,.88)}html.theme-light .choice .ico{background:linear-gradient(145deg,#ffffffb0,#cab4d418);border-color:var(--line)}html.theme-light .button.secondary{background:linear-gradient(135deg,#ffffffa0,#d9c4df13),var(--card)}
@media(hover:hover){.choice:hover,.history-link:hover{background:linear-gradient(125deg,#e2c7e010,transparent),var(--card);border-color:#dfc7e04d;box-shadow:inset 0 1px #ffffff20,0 16px 40px #00000020}html.theme-light .choice:hover,html.theme-light .history-link:hover{background:rgba(255,255,255,.84);border-color:#9f83aa55}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.top,.card,.tabs,.physics-login-card{background:var(--card-strong)}}
@media(max-width:700px){.card,.tabs,html.theme-light .card,html.theme-light .tabs{-webkit-backdrop-filter:none;backdrop-filter:none}.card{border-radius:19px}.choice .ico{font-size:22px}}
@media(prefers-reduced-transparency:reduce){.top,.card,.tabs,.physics-login-card,html.theme-light .top,html.theme-light .card,html.theme-light .tabs,html.theme-light .physics-login-card{background:var(--card-strong);-webkit-backdrop-filter:none;backdrop-filter:none}}
/* Decorative surface stays behind all interactive content. */
#app{position:relative;z-index:1}.top{z-index:4}#mercury-surface{visibility:visible!important}
/* Polished chrome, with quieter editorial typography. */
.top h1,.physics-login-card h1{font-weight:500;letter-spacing:-.055em;line-height:1.15}.top h1{font-size:28px}.title{font-weight:500;font-size:17px;letter-spacing:-.025em}h2{font-weight:500;letter-spacing:-.035em}.button,.tabs button,.answer button{font-weight:550;letter-spacing:-.015em}.meta,.subtitle{letter-spacing:.015em;line-height:1.65}.history-score strong,.score{font-weight:450;letter-spacing:-.055em}
.button:not(.secondary):not(.danger),.answer button,.physics-login-card button:not(.physics-login-theme),.tabs .on,.nav .cur{background:linear-gradient(174deg,#ffffff 0%,#d8d8e0 16%,#f4f3f8 30%,#9896a3 48%,#b3afbd 50%,#e8e3ec 65%,#fff9fd 84%,#bbb8c5 100%);border:1px solid #eeeaf5;box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #6d687c88,0 4px 15px #0002;color:#26232c;text-shadow:0 1px #ffffff70}
.card,.top,.tabs{border-top-color:#f2eafa52;border-left-color:#d8cde933;border-right-color:#b9adc526;border-bottom-color:#8b80952e;box-shadow:inset 0 1px #ffffff15,inset 0 -1px #00000012,0 14px 36px #00000020}
.back,.theme-toggle,.small,.score-btn,.button.secondary{background:linear-gradient(150deg,#ffffff13 0%,#ffffff05 35%,#a399b30c 50%,#ffffff0b 100%),var(--card);border-top-color:#eee7f447;box-shadow:inset 0 1px #ffffff10,inset 0 -1px #00000020}
.choice .ico{border:1px solid #dbd4e14d;background:linear-gradient(145deg,#f7f2ff28,#87809014 42%,#eae0f21a 62%,#ffffff0b);box-shadow:inset 0 1px #ffffff42,inset 0 -1px #0002,0 4px 12px #00000012}
html.theme-light .card,html.theme-light .top,html.theme-light .tabs{border-top-color:#fff;border-left-color:#fff9;border-right-color:#8f849e35;border-bottom-color:#8f849e42;box-shadow:inset 0 1px #fff,0 12px 34px #51405e0b}html.theme-light .choice .ico{background:linear-gradient(145deg,#fff,#d8d3df66 45%,#ffffffbb);border-color:#aaa1b547;box-shadow:inset 0 1px #fff,inset 0 -1px #a69aaf33}
@media(max-width:700px){.top h1{font-size:24px}.title{font-size:16px}.solve-task-heading .title{font-size:16px}}
/* Neutral fallback and translucent panels over the continuous metal sheet. */
body{background:linear-gradient(135deg,#17191f,#555861 45%,#1c1f26 70%,#393d46)}html.theme-light body{background:linear-gradient(135deg,#e8e9ed,#b9bdc5 48%,#eceef1)}.card,.tabs{--card:rgba(24,24,30,.78)}html.theme-light .card,html.theme-light .tabs{--card:rgba(250,250,253,.78)}
/* Explicit typography across hosted and local entry points. */
html{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body,#physics-login{font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;font-weight:450;font-optical-sizing:none}
.top h1{font-size:28px;font-weight:550}.title{font-size:17px;font-weight:550}.meta,.subtitle,.top .subtitle{font-size:13px;font-weight:450;color:var(--muted)}
button,input,textarea,select{font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-optical-sizing:none}
.button,.tabs button,.answer button{font-size:16px;font-weight:600}.small{font-size:13px;font-weight:500}.nav button{font-size:15px;font-weight:500}
@media(max-width:700px){.top h1{font-size:24px}.title,.solve-task-heading .title{font-size:16px}.tabs button{font-size:14px}}
