:root{font-family:Arial,Helvetica,sans-serif;color:#303432;background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.app{min-height:100svh;display:flex;flex-direction:column;padding:0 5.2%}.topbar{height:92px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #c9cbc5}.brand{display:flex;align-items:center;gap:9px;color:#303432;text-decoration:none;font-size:14px;font-weight:800;letter-spacing:.12em}.brand-mark{width:16px;height:16px;border:2px solid #303432;border-radius:50%;position:relative}.brand-mark:after{content:"";position:absolute;left:6px;top:2px;width:4px;height:5px;border-left:1.5px solid;border-bottom:1.5px solid}.brand-period{color:#bc9c4a;margin-left:-8px}.selector-wrap{display:flex;align-items:center;gap:17px}.selector-wrap label,.eyebrow,footer{font-size:10px;letter-spacing:.16em;font-weight:700}.selector-wrap label{color:#747a73}.select-box{position:relative}select{appearance:none;border:1px solid #c4c7c0;background:transparent;color:#303432;border-radius:2px;padding:12px 42px 12px 14px;font-size:13px;min-width:190px;cursor:pointer}.chevron{position:absolute;right:16px;top:15px;width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);pointer-events:none}main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px 0 32px}.intro{text-align:center}.eyebrow{color:#797f76;margin:0 0 15px}.eyebrow span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#c7a54d;vertical-align:2px;margin-right:7px}h1{font-family:Georgia,serif;font-size:clamp(28px,3.2vw,43px);font-weight:400;letter-spacing:-.035em;margin:0}#clock-description{color:#7a7e77;font-size:14px;margin:10px 0 0}.clock-stage{width:min(49vh,420px,80vw);margin:30px auto 23px}.clock{filter:drop-shadow(9px 14px 14px rgba(43,46,41,.16));aspect-ratio:1}.clock svg{display:block;width:100%;height:100%}.face{fill:#efefea;stroke:#d9dbd4;stroke-width:10}.inner-rim{fill:#e7e8e2;stroke:#bfc2bb;stroke-width:2}.marker{stroke:#626860;stroke-width:1.3}.numeral{fill:#5a605a;font-family:Arial,sans-serif;font-size:30px;text-anchor:middle;dominant-baseline:central;font-weight:300}#hour-hand,#minute-hand{stroke:#383c39;stroke-linecap:round;stroke-width:9}#minute-hand{stroke-width:6}#second-hand{stroke:#f82524;stroke-linecap:round;stroke-width:3}.pin{fill:#c4a346;stroke:#343a34;stroke-width:2}.time-info{text-align:center}#digital-time{font-size:17px;letter-spacing:.13em;font-variant-numeric:tabular-nums;margin:0 0 7px}#date{font-size:12px;color:#858a82;margin:0}.its-time .grid{display:none}.its-time .face{fill:#dadddf;stroke:#a4a9aa;stroke-width:8}.its-time .inner-rim{fill:#e7e9e9;stroke:#8d9697;stroke-width:3}.its-time .marker{stroke:#404348;stroke-width:5;stroke-linecap:square;stroke-linejoin:round}.its-time #hour-hand,.its-time #minute-hand{stroke:#3d4045;stroke-width:5;stroke-linecap:square}.its-time #second-hand{stroke:#f82524;stroke-width:3;stroke-linecap:round}.its-time .pin{fill:#3d4045;stroke:none}footer{display:flex;justify-content:space-between;padding:22px 0;border-top:1px solid #c9cbc5;color:#858a82;font-size:9px}.footer-dot{color:#b99b50;font-size:8px;margin-left:6px}@media(max-width:600px){.app{padding:0 6%}.topbar{height:78px}.selector-wrap{gap:0}.selector-wrap label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}select{min-width:160px;font-size:12px;padding-left:10px}.clock-stage{width:min(78vw,390px);margin:35px auto 27px}main{padding:42px 0}footer{font-size:8px;letter-spacing:.12em}}

/* Clock settings */
.controls{display:flex;align-items:center;gap:14px;margin-top:25px;padding:7px;background:#f8f8f6;border:1px solid #d9dbd5;border-radius:16px;box-shadow:0 2px 4px #3034320a;color:#515650}
.theme-control{display:flex;padding:3px;background:#e9eae6;border-radius:10px}.controls button{font:inherit;font-size:13px;color:inherit;cursor:pointer;border:0}.theme-control button{padding:9px 14px;background:transparent;border-radius:8px}.theme-control button[aria-pressed="true"]{background:#fff;box-shadow:0 1px 3px #0002;color:#303432}.control-divider{width:1px;height:26px;background:#dedfda}.sound-toggle{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:9px;background:#e9eae6;white-space:nowrap}.sound-toggle[aria-pressed="true"]{background:#e4dfcd;color:#49422f}.volume-control{display:flex;align-items:center;gap:9px;padding-right:8px}.volume-control label,.volume-control output{font-size:12px;color:#737a72}.volume-control input{width:92px;accent-color:#b4974c;cursor:pointer}.controls button:focus-visible,.controls input:focus-visible,select:focus-visible{outline:2px solid #aa8734;outline-offset:3px}
html[data-theme="dark"]{color-scheme:dark;background:#1d211f;color:#f0f1eb}html[data-theme="dark"] .topbar,html[data-theme="dark"] footer{border-color:#444b45}html[data-theme="dark"] .brand{color:#f0f1eb}html[data-theme="dark"] .brand-mark{border-color:#f0f1eb}html[data-theme="dark"] select{color:#f0f1eb;border-color:#59615a}html[data-theme="dark"] .selector-wrap label,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] #clock-description,html[data-theme="dark"] #date,html[data-theme="dark"] footer{color:#b1b9ae}html[data-theme="dark"] .controls{background:#303632;border-color:#4a524b;color:#e4e8e1}html[data-theme="dark"] .theme-control,html[data-theme="dark"] .sound-toggle{background:#454d46}html[data-theme="dark"] .theme-control button[aria-pressed="true"]{background:#e6e9df;color:#303432}html[data-theme="dark"] .sound-toggle[aria-pressed="true"]{background:#766b49;color:#fff}html[data-theme="dark"] .control-divider{background:#5c655c}html[data-theme="dark"] .volume-control label,html[data-theme="dark"] .volume-control output{color:#c4ccc1}
@media(max-width:600px){.controls{max-width:100%;flex-wrap:wrap;justify-content:center;gap:8px}.volume-control{padding:4px 8px}.clock-stage{margin-bottom:20px}}

.topbar{justify-content:flex-end}

:root, h1, .numeral, select, button, input, output{font-family:Inter, Arial, sans-serif}

#digital-time{font-family:Orbitron, monospace;font-weight:500;letter-spacing:.08em}
#clock-title{font-size:20px;font-weight:700;letter-spacing:.03em}


.hour-marker{stroke-width:3}


/* Soft glass controls */
.controls{gap:12px;padding:8px 12px 8px 8px;border:1px solid rgba(177,184,180,.4);border-radius:999px;background:linear-gradient(155deg,rgba(255,255,255,.94),rgba(237,240,237,.7) 48%,rgba(250,251,249,.85));box-shadow:inset 0 1px 1px rgba(255,255,255,.98),inset 0 -1px 2px rgba(185,192,186,.18),0 10px 24px rgba(42,48,43,.12),0 2px 5px rgba(42,48,43,.08);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);color:#343b36}
.theme-control{padding:3px;border:1px solid rgba(255,255,255,.75);border-radius:999px;background:rgba(211,218,212,.42);box-shadow:inset 0 1px 3px rgba(56,65,57,.09)}
.theme-control button{border-radius:999px;transition:background .18s,box-shadow .18s}
.theme-control button[aria-pressed="true"]{background:linear-gradient(160deg,rgba(255,255,255,.98),rgba(242,245,241,.9));box-shadow:0 2px 5px rgba(40,46,40,.14),inset 0 1px 1px #fff}
.sound-toggle{border:1px solid rgba(255,255,255,.65)!important;border-radius:999px;background:rgba(217,223,216,.54);box-shadow:inset 0 1px 2px rgba(255,255,255,.7);transition:background .18s,box-shadow .18s}
.sound-toggle[aria-pressed="true"]{background:linear-gradient(145deg,#eae5d4,#dcd2b6);color:#49422f;box-shadow:inset 0 1px 2px #fff9,0 2px 5px #4a412b1c}
.controls button:hover{filter:brightness(.97)}
.control-divider{background:rgba(124,135,125,.25)}
html[data-theme="dark"] .controls{color:#edf1ec;border-color:rgba(207,218,207,.2);background:linear-gradient(155deg,rgba(91,103,94,.7),rgba(43,51,45,.8) 55%,rgba(69,79,71,.7));box-shadow:inset 0 1px 1px rgba(255,255,255,.2),inset 0 -1px 2px rgba(0,0,0,.16),0 12px 26px rgba(0,0,0,.28)}
html[data-theme="dark"] .theme-control{border-color:rgba(255,255,255,.12);background:rgba(25,31,26,.36)}
html[data-theme="dark"] .theme-control button[aria-pressed="true"]{background:linear-gradient(150deg,#f4f6f1,#dce2d9);color:#252c26;box-shadow:0 2px 5px #0004,inset 0 1px #fff}
html[data-theme="dark"] .sound-toggle{border-color:rgba(255,255,255,.12)!important;background:rgba(161,177,163,.2);box-shadow:inset 0 1px 2px #ffffff18}
html[data-theme="dark"] .sound-toggle[aria-pressed="true"]{background:linear-gradient(145deg,#83764f,#665b3d);color:#fff}
html[data-theme="dark"] .control-divider{background:rgba(224,235,225,.22)}
@media(max-width:600px){.controls{border-radius:24px;padding:8px;gap:8px}.volume-control{padding:4px 8px}}

/* Glass clock selector */
.select-box select{border:1px solid rgba(177,184,180,.48);border-radius:999px;background:linear-gradient(155deg,rgba(255,255,255,.96),rgba(235,239,235,.76) 52%,rgba(250,251,249,.9));box-shadow:inset 0 1px 1px rgba(255,255,255,.98),inset 0 -1px 2px rgba(185,192,186,.2),0 6px 15px rgba(42,48,43,.1),0 2px 4px rgba(42,48,43,.06);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);padding:13px 44px 13px 18px;color:#303832;transition:box-shadow .18s,border-color .18s}
.select-box select:hover{border-color:rgba(146,157,148,.65);box-shadow:inset 0 1px 1px #fff,0 8px 18px rgba(42,48,43,.14)}
.select-box .chevron{right:19px;top:16px;color:#535e55}
.select-box select option{background:#f8faf7;color:#303832}
html[data-theme="dark"] .select-box select{color:#edf1ec;border-color:rgba(207,218,207,.24);background:linear-gradient(155deg,rgba(91,103,94,.72),rgba(43,51,45,.82) 55%,rgba(69,79,71,.72));box-shadow:inset 0 1px 1px rgba(255,255,255,.2),0 7px 18px rgba(0,0,0,.24)}
html[data-theme="dark"] .select-box .chevron{color:#e2e9e1}
html[data-theme="dark"] .select-box select option{background:#303832;color:#f0f3ef}
.sound-toggle[aria-pressed="true"],html[data-theme="dark"] .sound-toggle[aria-pressed="true"]{background:#EBF19F;color:#303832}
.volume-control input{accent-color:#EBF19F}
.clock:not(.its-time) .pin{fill:#EBF19F}
.fullscreen-toggle{display:inline-flex;align-items:center;gap:8px;margin-right:12px;padding:12px 16px;border:1px solid rgba(177,184,180,.48);border-radius:999px;background:linear-gradient(155deg,rgba(255,255,255,.96),rgba(235,239,235,.76) 52%,rgba(250,251,249,.9));box-shadow:inset 0 1px 1px #fff,0 6px 15px rgba(42,48,43,.1);color:#303832;font-size:13px;cursor:pointer;white-space:nowrap}.fullscreen-toggle[hidden]{display:none}.fullscreen-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.fullscreen-toggle:focus-visible{outline:2px solid #aa8734;outline-offset:3px}html[data-theme="dark"] .fullscreen-toggle{color:#edf1ec;border-color:rgba(207,218,207,.24);background:linear-gradient(155deg,rgba(91,103,94,.72),rgba(43,51,45,.82) 55%,rgba(69,79,71,.72));box-shadow:inset 0 1px 1px rgba(255,255,255,.2),0 7px 18px rgba(0,0,0,.24)}@media(max-width:450px){.fullscreen-toggle{padding:12px;margin-right:8px}.fullscreen-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
