/* Watch styles shared by builder.html and holding.html (2026-10-18). */
/* size: everything on the dial is a fraction of --d */
.stage .wt { width: var(--d); } .stage .case { width: var(--d); }
.bun { width: calc(var(--d) * var(--bw)); height: calc(var(--d) * var(--bw) * 1.14); }
.wt > .bun, [data-fob] .bun { --d: 260px; }
.casewrap { position: relative; }
.case { overflow: hidden; }
.case > * { z-index: 1; }

/* hangers */
.chain.box i { display: block; width: 5px; height: 6px; margin: 0; border: 1px solid var(--dim); border-radius: 1px; }
.chain.box i:nth-child(even) { rotate: 45deg; scale: .8; }
.chain.rope { width: 3px; background: repeating-linear-gradient(35deg, var(--fg) 0 2px, #444 2px 4px); border-radius: 2px; }
.chain.dbl { width: 14px; } .chain.dbl i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--dim); }
.chain.dbl i:first-child { left: 0; rotate: -4deg; transform-origin: 50% 100%; } .chain.dbl i:last-child { right: 0; rotate: 4deg; transform-origin: 50% 100%; }
.c-none .bowr { opacity: .5; }

/* bow */
.bowr.bow-oval { width: 28px; height: 18px; }
.bowr.bow-double { box-shadow: 0 0 0 3px #000, 0 0 0 4px var(--line); }
.bowr.bow-square { border-radius: 4px; width: 18px; height: 18px; }
/* crown */
.crown.cr-onion { width: 16px; height: 14px; border-radius: 50% 50% 30% 30%; background: repeating-linear-gradient(90deg, transparent 0 2px, rgba(241,241,239,.2) 2px 3px); }
.crown.cr-flat { width: 18px; height: 6px; background: none; border-radius: 2px; }

/* cases */
.f-single .case::before { display: none; }
.f-bezel .case { border: 7px solid #1c1c1c; box-shadow: 0 0 0 1px var(--dim), inset 0 0 0 1px var(--line); }
.f-fluted .case { border: 0; box-shadow: 0 0 0 1px var(--dim); }
.f-fluted .case::before { inset: 0; border: 8px solid transparent; background: repeating-conic-gradient(rgba(241,241,239,.22) 0 1.5deg, transparent 1.5deg 4deg) border-box;
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 8px), #000 calc(100% - 7px)); mask: radial-gradient(circle closest-side, transparent calc(100% - 8px), #000 calc(100% - 7px)); }
.f-coin .case { box-shadow: 0 0 0 3px #000, 0 0 0 5px transparent; }
.f-coin .casewrap::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: repeating-conic-gradient(var(--dim) 0 .8deg, transparent .8deg 2.4deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(circle closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); }
.lid { position: absolute; left: 0; right: 0; bottom: 92%; height: calc(var(--d) * .32); border: 1px solid var(--dim); border-radius: 50%; background: radial-gradient(ellipse, #111, #050505); }
.f-hunter .crown, .f-hunter .bowr { position: relative; z-index: 2; }
.glass { position: absolute; inset: 0; border-radius: 50%; z-index: 4; pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 34% 22%, rgba(255,255,255,.12), transparent 70%), radial-gradient(circle at 50% 50%, transparent 62%, rgba(255,255,255,.05) 70%, transparent 72%); }
.f-smoke .case { background: radial-gradient(circle at 50% 40%, #2a2a2a, #0c0c0c 75%); }
.f-enamel .case { background: #efeee9; border-color: var(--dim); }
.f-enamel .case::before { border-color: rgba(0,0,0,.15); }
.f-enamel .tk, .f-enamel .hdot { background: rgba(0,0,0,.4); } .f-enamel .tk.hr { background: #0b0b0b; }
.f-enamel .num, .f-enamel .rr, .f-enamel .word, .f-enamel .date { color: #0b0b0b; } .f-enamel .num.sm { color: rgba(0,0,0,.6); }
.f-enamel .suit { color: #0b0b0b; }
.f-enamel .hand { background: #0b0b0b; --hbg: #efeee9; } .f-enamel .s, .f-enamel .s::after { background: #9a3b2e; }
.f-enamel .pin { background: #0b0b0b; box-shadow: 0 0 0 2px #efeee9, 0 0 0 2.6px rgba(0,0,0,.4); }
.f-enamel .case .bun, .f-enamel .runner .suit { color: #0b0b0b; }
.f-enamel .sub { border-color: rgba(0,0,0,.18); } .f-enamel .sub .hand.ss { background: #0b0b0b; }
.f-enamel .tex { opacity: .5; filter: invert(1); }

/* dial textures */
.tex { position: absolute; inset: 0; border-radius: 50%; z-index: 0 !important; pointer-events: none; }
.tex-sunburst { background: repeating-conic-gradient(rgba(241,241,239,.035) 0 1deg, transparent 1deg 3deg); }
.tex-guilloche { background: repeating-radial-gradient(circle at 50% 50%, rgba(241,241,239,.05) 0 1px, transparent 1px 5px), repeating-conic-gradient(rgba(241,241,239,.025) 0 4deg, transparent 4deg 8deg);
  -webkit-mask: radial-gradient(circle, #000 60%, transparent 61%); mask: radial-gradient(circle, #000 60%, transparent 61%); }
.tex-linen { background: repeating-linear-gradient(0deg, rgba(241,241,239,.03) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(241,241,239,.03) 0 1px, transparent 1px 3px); }
.tex-pattern { display: grid; grid-template-columns: repeat(12, 1fr); place-items: center; padding: 10%; color: rgba(241,241,239,.07);
  -webkit-mask: radial-gradient(circle, transparent 22%, #000 24%, #000 68%, transparent 70%); mask: radial-gradient(circle, transparent 22%, #000 24%, #000 68%, transparent 70%); }
.tex-pattern .suit { width: 7px; height: 7px; color: inherit; }

/* numerals and indices */
.num.sans { font: 200 12px/1 var(--sans); }
.num.it { font: italic 300 22px/1 var(--serif); }
.rr { font: 400 6px/1 var(--sans); color: var(--dim); letter-spacing: .04em; }
.hdot { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--fg); }
.case .suit.q { width: 13px; height: 13px; } .case .suit.ring { width: 9px; height: 9px; opacity: .8; }
.case .suit.big { width: 22px; height: 22px; } .case .suit.ctr { width: 9px; height: 9px; opacity: .5; }
.case .suit.trk { width: 4px; height: 4px; opacity: .45; } .case .suit.sig { width: 11px; height: 11px; }
.word.sig { font-size: 18px; }
.date { right: 15%; z-index: 2; }
.dn { position: absolute; left: 50%; top: 16%; width: 40%; height: 20%; translate: -50% 0; overflow: hidden; border-radius: 100px 100px 0 0; border: 1px solid var(--line); border-bottom: 0; background: rgba(0,0,0,.4); }
.dn .disc { position: absolute; left: 50%; top: 100%; width: 100%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; }
.dn .moon { position: absolute; left: 50%; bottom: 10%; width: 12px; height: 12px; translate: -50% 0; border-radius: 50%; border: 1px solid var(--fg); }
.sub { width: 23%; height: 23%; margin-left: -11.5%; top: 64%; }
.runner { position: absolute; width: 12px; height: 12px; translate: -50% -50%; z-index: 3; } .runner .suit { width: 100%; height: 100%; }

/* hands */
.hand { --hbg: #050505; }
.h-baton .h { width: 5px; margin-left: -2.5px; } .h-baton .m { width: 3.5px; margin-left: -1.75px; }
.h-lance .h, .h-lance .m { clip-path: polygon(50% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); } .h-lance .h { width: 6px; margin-left: -3px; } .h-lance .m { width: 4px; margin-left: -2px; }
.h-leaf .h, .h-leaf .m { border-radius: 50% 50% 50% 50% / 90% 90% 10% 10%; } .h-leaf .h { width: 7px; margin-left: -3.5px; } .h-leaf .m { width: 5px; margin-left: -2.5px; }
.h-breg .h::after, .h-breg .m::after { content: ""; position: absolute; left: 50%; top: 10%; width: 8px; height: 8px; translate: -50% 0; border-radius: 50%; border: 1px solid currentColor; background: var(--hbg); box-shadow: 0 0 0 .5px var(--fg); }
.h-hollow .h, .h-hollow .m { background: none !important; box-shadow: inset 0 0 0 1px var(--fg); } .h-hollow .h { width: 7px; margin-left: -3.5px; } .h-hollow .m { width: 5px; margin-left: -2.5px; }
.f-enamel.h-hollow .h, .f-enamel.h-hollow .m { box-shadow: inset 0 0 0 1px #0b0b0b; }

.panel #ctl { display: grid; gap: 16px; }
