:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f6f1e8;--surface:#fffaf2;--surface-2:#efe7d9;--surface-sunken:#e8decd;--text:#2a241d;--text-muted:#6b5f50;--border:#ddd1bd;--border-strong:#c3b398;--accent:#8a5a1c;--accent-hover:#744a14;--accent-contrast:#fffaf2;--accent-soft:#f0e2c8;--danger:#a3352b;--danger-soft:#f6dcd7;--success:#3d6b3a;--success-soft:#dcead6;--focus:#1f6fb2;--overlay:#14100c8c;--card-stage-bg:#1b1712;--font-body:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-display:"Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;--font-mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--text-xs:.8125rem;--text-sm:.9375rem;--text-md:1.0625rem;--text-lg:1.25rem;--text-xl:1.625rem;--text-2xl:2.125rem;--leading:1.55;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--space-7:3rem;--radius-sm:8px;--radius:14px;--radius-lg:22px;--radius-pill:999px;--shadow-sm:0 1px 2px #3c281414;--shadow:0 4px 16px #3c28141f;--shadow-lg:0 12px 40px #1e140a40;--tap:44px;--page-max:40rem;--nav-h:64px;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--bottom-reserve:calc(var(--nav-h) + var(--safe-bottom));--ease:cubic-bezier(.2, .7, .2, 1);--dur-fast:.12s;--dur:.22s;--dur-slow:.42s;--z-nav:20;--z-fab:30;--z-sheet:40;--z-fullscreen:50;--z-toast:60}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#16130f;--surface:#211c16;--surface-2:#2a241c;--surface-sunken:#110e0b;--text:#efe6d8;--text-muted:#b3a690;--border:#3a3227;--border-strong:#554a3a;--accent:#d9a85a;--accent-hover:#e6b96e;--accent-contrast:#1b150d;--accent-soft:#3a2e1c;--danger:#ef8a7d;--danger-soft:#4a2420;--success:#9ccc8f;--success-soft:#24361f;--focus:#7cb8f0;--overlay:#000000a6;--shadow-sm:0 1px 2px #0006;--shadow:0 4px 16px #00000073;--shadow-lg:0 12px 40px #0009}}@media (prefers-reduced-motion:reduce){:root{--dur-fast:0s;--dur:0s;--dur-slow:0s}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent;background:var(--bg)}body{background:var(--bg);min-height:100dvh;color:var(--text);font-family:var(--font-body);font-size:var(--text-md);line-height:var(--leading);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;margin:0}#root{min-height:100dvh}h1,h2,h3{font-family:var(--font-display);text-wrap:balance;margin:0;font-weight:600;line-height:1.2}h1{font-size:var(--text-2xl)}h2{font-size:var(--text-xl)}h3{font-size:var(--text-lg)}p{text-wrap:pretty;margin:0}a{color:var(--accent);text-underline-offset:.15em}img,svg,canvas{max-width:100%;display:block}button,input,textarea,select{font:inherit;color:inherit}ul,ol{margin:0;padding:0}label{font-weight:600;font-size:var(--text-sm)}input[type=text],input[type=email],input[type=time],input[type=number],input[type=search],input:not([type]),textarea,select{width:100%;min-height:var(--tap);padding:var(--space-2) var(--space-3);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);font-size:max(16px, var(--text-md))}textarea{resize:vertical;line-height:var(--leading)}::placeholder{color:var(--text-muted);opacity:.8}:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:4px}hr{border:0;border-top:1px solid var(--border);margin:var(--space-5) 0}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.app-shell{min-height:100dvh}.page{width:100%;max-width:var(--page-max);padding:calc(var(--space-5) + var(--safe-top)) calc(var(--space-4) + var(--safe-right)) calc(var(--space-6) + var(--bottom-reserve)) calc(var(--space-4) + var(--safe-left));margin:0 auto}.page:not(.page-bare){padding-bottom:calc(var(--space-6) + var(--bottom-reserve) + var(--tap) + var(--space-4))}.page-bare{--bottom-reserve:var(--safe-bottom)}.bottom-nav{z-index:var(--z-nav);height:calc(var(--nav-h) + var(--safe-bottom));padding:0 var(--safe-right) var(--safe-bottom) var(--safe-left);background:color-mix(in srgb, var(--surface) 92%, transparent);border-top:1px solid var(--border);-webkit-backdrop-filter:blur(12px);justify-content:space-around;display:flex;position:fixed;inset:auto 0 0}.bottom-nav__item{min-width:var(--tap);min-height:var(--tap);color:var(--text-muted);font-size:var(--text-xs);flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:2px;font-weight:500;text-decoration:none;display:flex}.bottom-nav__item.active{color:var(--accent)}.bottom-nav__item.active svg{stroke-width:2.2px}.center-screen{min-height:100dvh;padding:calc(var(--space-5) + var(--safe-top)) var(--space-5) calc(var(--space-5) + var(--safe-bottom));text-align:center;place-items:center;display:grid}.brand-mark{background:var(--accent);width:72px;height:72px;color:var(--accent-contrast);font-family:var(--font-display);animation:breathe 1.8s var(--ease) infinite alternate;border-radius:22px;place-items:center;font-size:2.5rem;display:grid}@keyframes breathe{0%{opacity:.55;transform:scale(.97)}to{opacity:1;transform:scale(1)}}.fullscreen{z-index:var(--z-fullscreen);background:var(--card-stage-bg);color:#f3ead9;padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);flex-direction:column;display:flex;position:fixed;inset:0}.card-stage{min-height:0;padding:var(--space-4);flex:1;place-items:center;display:grid}.card-frame{aspect-ratio:3/5;border-radius:var(--radius-lg);width:auto;max-width:100%;height:100%;max-height:100%;box-shadow:var(--shadow-lg);background:var(--surface-2);overflow:hidden}@supports not (aspect-ratio:3 / 5){.card-frame{width:min(100%,60vh);height:auto}}.card-frame>img{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;width:100%;height:100%}.card-thumb{aspect-ratio:3/5;border-radius:var(--radius);width:min(100%,22rem);box-shadow:var(--shadow);background:var(--surface-2);margin-inline:auto;overflow:hidden}.card-thumb>img{object-fit:cover;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;width:100%;height:100%}.fab{right:calc(var(--space-4) + var(--safe-right));bottom:calc(var(--bottom-reserve) + var(--space-4));z-index:var(--z-fab);position:fixed}.page-bare~.fab,.fab.on-bare{bottom:calc(var(--safe-bottom) + var(--space-4))}.sheet-backdrop{z-index:var(--z-sheet);background:var(--overlay);justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:var(--page-max);background:var(--surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;max-height:90dvh;padding:var(--space-5) calc(var(--space-4) + var(--safe-right)) calc(var(--space-5) + var(--safe-bottom)) calc(var(--space-4) + var(--safe-left));box-shadow:var(--shadow-lg);overflow:auto}@media (min-width:48rem){.sheet-backdrop{align-items:center}.sheet{border-radius:var(--radius-lg)}}@media (orientation:landscape) and (max-height:32rem){:root{--nav-h:52px}.bottom-nav__item span{display:none}}.stack{gap:var(--space-5);flex-direction:column;display:flex}.stack-sm{gap:var(--space-2);flex-direction:column;display:flex}.row{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.row.between{justify-content:space-between}.narrow{max-width:26rem;margin-inline:auto}.muted{color:var(--text-muted)}.small{font-size:var(--text-sm)}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.btn{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--tap);min-width:var(--tap);padding:var(--space-2) var(--space-4);border:1px solid var(--border-strong);border-radius:var(--radius-pill);background:var(--surface);color:var(--text);font-weight:600;font-size:var(--text-md);cursor:pointer;touch-action:manipulation;transition:background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);text-decoration:none;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn:active{transform:scale(.98)}.btn:disabled,.btn[aria-disabled=true]{opacity:.5;cursor:not-allowed;transform:none}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.btn-primary:hover{background:var(--accent-hover)}.btn-quiet{color:var(--accent);background:0 0;border-color:#0000}.btn-quiet:hover{background:var(--accent-soft)}.btn-danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn-block{width:100%}.btn-lg{min-height:56px;font-size:var(--text-lg);padding-inline:var(--space-5)}.btn-icon{width:var(--tap);border-radius:50%;padding:0}.card-surface{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:var(--space-4);box-shadow:var(--shadow-sm)}.list{gap:var(--space-3);flex-direction:column;list-style:none;display:flex}.notice{padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);background:var(--accent-soft);border:1px solid var(--border)}.notice.error{background:var(--danger-soft);color:var(--text);border-color:var(--danger)}.notice.success{background:var(--success-soft);border-color:var(--success)}.notice:empty{display:none}.table-wrap{-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:var(--radius-sm);overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:var(--text-sm)}.table th,.table td{padding:var(--space-2) var(--space-3);text-align:left;border-bottom:1px solid var(--border);white-space:nowrap}.table th{background:var(--surface-2);font-weight:600;position:sticky;top:0}.table td.num,.table th.num{text-align:right;font-variant-numeric:tabular-nums}.code-input{font-family:var(--font-mono);letter-spacing:.4em;text-align:center;font-size:1.75rem!important}.fine-print{font-size:var(--text-sm);color:var(--text-muted)}.btn.tell-joel-fab{box-shadow:var(--shadow);background:var(--surface);color:var(--accent);border-color:var(--border-strong);padding-inline:var(--space-3) var(--space-4)}.btn.fab.tell-joel-fab--over{z-index:calc(var(--z-fullscreen) + 1);top:calc(var(--safe-top) + var(--space-2));right:calc(var(--safe-right) + var(--space-3));width:var(--tap);height:var(--tap);border-radius:50%;padding:0;bottom:auto}.tell-joel-fab--over .tell-joel-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.sheet-backdrop.tell-joel-backdrop{z-index:calc(var(--z-fullscreen) + 2)}.tell-joel-title{font-size:var(--text-lg);margin:0}@media print{.tell-joel-fab{display:none}}.signin{padding-top:var(--space-6)}.signin__header{text-align:center;align-items:center}.signin__mark{background:var(--accent);width:64px;height:64px;color:var(--accent-contrast);font-family:var(--font-display);border-radius:20px;place-items:center;font-size:2.25rem;line-height:1;display:grid}.signin__email{overflow-wrap:anywhere}.signin__status:empty{display:none}.signin__privacy{margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border)}.signin__privacy-title{font-family:var(--font-body);font-size:var(--text-sm);color:var(--text);font-weight:600}.consent{padding-top:var(--space-6)}.consent__text{font-size:var(--text-lg);line-height:1.5}.setup{padding-top:var(--space-5)}.setup__progress{letter-spacing:.02em;font-weight:600}.setup__title:focus{outline:none}.setup__steps{gap:var(--space-2);flex-direction:column;padding-left:1.4em;display:flex}.setup__inline-icon{vertical-align:-.25em;color:var(--accent);display:inline-block}.setup__time{font-variant-numeric:tabular-nums;max-width:12rem}.setup__dots{justify-content:center;gap:var(--space-2);margin-top:var(--space-2);list-style:none;display:flex}.setup__dots li{background:var(--border-strong);width:8px;height:8px;transition:background var(--dur) var(--ease);border-radius:50%}.setup__dots li.is-done{background:var(--accent-soft)}.setup__dots li.is-current{background:var(--accent)}.flip-card{aspect-ratio:3/5;color:inherit;font:inherit;cursor:pointer;perspective:1600px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border-radius:var(--radius);background:0 0;border:0;padding:0;display:block;position:relative}.flip-card--thumb{width:min(70%,16rem,36dvh);margin-inline:auto}.viewer-fit{place-self:stretch stretch;place-items:center;min-width:0;min-height:0;display:grid;container-type:size}.flip-card--full{border-radius:var(--radius-lg);width:min(100cqw,60cqh)}@supports not (aspect-ratio:3 / 5){.flip-card--thumb{height:calc(1.66667*min(70vw,16rem))}.flip-card--full{height:calc(1.66667*min(100cqw,60cqh))}}.flip-card:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.flip-card__inner{transform-style:preserve-3d;transition:transform var(--dur-slow) var(--ease);position:absolute;inset:0}.flip-card.is-flipped .flip-card__inner{transform:rotateY(180deg)}.flip-card__face{border-radius:var(--radius);background:var(--surface-2);box-shadow:var(--shadow);backface-visibility:hidden;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.flip-card--full .flip-card__face{border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}.flip-card__face--back{transform:rotateY(180deg)}.flip-card__face img{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;pointer-events:none;width:100%;height:100%}.flip-card__loading{border-radius:inherit;background:linear-gradient(110deg, var(--surface-2) 30%, var(--surface) 50%, var(--surface-2) 70%);background-size:250% 100%;animation:1.6s linear infinite card-shimmer;position:absolute;inset:0}@keyframes card-shimmer{0%{background-position:100% 0}to{background-position:-150% 0}}@media (prefers-reduced-motion:reduce){.flip-card__loading{animation:none}}.flip-card__message{gap:var(--space-2);padding:var(--space-4);text-align:center;color:var(--text-muted);font-size:var(--text-sm);flex-direction:column;display:flex}.flip-card__retry{color:var(--accent);font-weight:600}.home-card{align-items:center;gap:var(--space-4);flex-direction:column;display:flex}.home-card .row{justify-content:center}.explore-list{gap:var(--space-3);grid-template-columns:1fr;list-style:none;display:grid}@media (min-width:30rem){.explore-list{grid-template-columns:1fr 1fr}}.explore-link{gap:var(--space-1);min-height:var(--tap);height:100%;padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm);transition:background var(--dur-fast) var(--ease);flex-direction:column;text-decoration:none;display:flex}.explore-link:hover{background:var(--surface-2)}.explore-link strong{color:var(--accent);font-size:var(--text-md)}.explore-link span{color:var(--text-muted);font-size:var(--text-sm)}.library-grid{gap:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(7.5rem,1fr));list-style:none;display:grid}.library-item{gap:var(--space-2);color:var(--text);font-size:var(--text-sm);text-align:center;flex-direction:column;text-decoration:none;display:flex}.library-thumb{aspect-ratio:3/5;border-radius:var(--radius-sm);background:var(--surface-2);width:100%;box-shadow:var(--shadow-sm);display:block;position:relative;overflow:hidden}.library-thumb img{object-fit:cover;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%}.viewer-bar{justify-content:space-between;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);min-height:calc(var(--tap) + var(--space-4));display:flex}.viewer-bar h1{font-size:var(--text-md);color:inherit;text-align:center;text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;font-weight:600;overflow:hidden}.viewer-btn{color:#f3ead9;background:#ffffff14;border-color:#ffffff40}.viewer-btn:hover{background:#ffffff29}.viewer-spacer{width:var(--tap);flex:none}.viewer-footer{align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-4) var(--space-4);flex-direction:column;display:flex}.viewer-note{font-size:var(--text-sm);color:#f3ead9bf;text-align:center;margin:0}.viewer-message{text-align:center;gap:var(--space-4);flex-direction:column;align-items:center;max-width:22rem;display:flex}.dice-board{gap:var(--space-4);padding:var(--space-4) var(--space-2);border-radius:var(--radius-lg);background:radial-gradient(120% 90% at 50% 0%, var(--surface) 0%, var(--surface-sunken) 100%);border:1px solid var(--border);flex-direction:column;display:flex}.dice-row{justify-content:center;gap:var(--space-6);display:flex}.dice-grid{gap:var(--space-3) var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));justify-items:center;display:grid}.die{--die-size:clamp(76px, 24vw, 104px);align-items:center;gap:var(--space-1);min-width:var(--tap);min-height:var(--tap);padding:var(--space-1);border-radius:var(--radius);color:var(--text);cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:opacity var(--dur) var(--ease);background:0 0;border:0;flex-direction:column;display:flex;position:relative}.die:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.die:not(.is-selected){opacity:.38}.die__body{width:var(--die-size);height:var(--die-size);filter:drop-shadow(0 3px 4px #1e140a47);place-items:center;display:grid;position:relative}.die__shape{width:100%;height:100%;position:absolute;inset:0}.die__fill{fill:var(--die-color);stroke:#00000047;stroke-width:1.5px}.die__facet{fill:none;stroke:#00000029;stroke-width:1.2px}.die__outline{fill:none;stroke:#00000047;stroke-width:1.5px}.die--white .die__fill{stroke:#b9ad98}.die--clear .die__fill{stroke:var(--text-muted);stroke-width:2px}.die--clear .die__facet,.die--clear .die__outline{stroke:var(--text-muted);stroke-opacity:.55}.die--clear .die__body{filter:drop-shadow(0 2px 3px #1e140a2e)}.die__label{max-width:62%;color:var(--die-ink);text-align:center;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;text-wrap:balance;font-size:clamp(.7rem,3.1vw,.85rem);font-weight:700;line-height:1.15;position:relative}.die--d12 .die__label{max-width:66%;font-size:clamp(.62rem,2.75vw,.8rem)}.die--colored .die__label{text-shadow:0 1px 1px #00000040}.die__name{font-size:var(--text-xs);color:var(--text-muted);line-height:1.2}.die__check{background:var(--accent);width:22px;height:22px;color:var(--accent-contrast);transition:transform var(--dur) var(--ease);border-radius:50%;place-items:center;display:grid;position:absolute;top:0;right:0;transform:scale(0)}.die__check svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.die.is-selected .die__check{transform:scale(1)}.die.is-rolling .die__body{animation:die-tumble .75s var(--ease) var(--tumble-delay) both}@keyframes die-tumble{0%{transform:translate(0)rotate(0)scale(1)}25%{transform:translate(var(--tumble-drift), -18px) rotate(calc(var(--tumble-spin) * .45)) scale(1.06)}60%{transform:translate(calc(var(--tumble-drift) * -.5), 4px) rotate(calc(var(--tumble-spin) * .85)) scale(.97)}80%{transform:translate(0, -3px) rotate(calc(var(--tumble-spin) * .97))}to{transform:translate(0, 0) rotate(var(--tumble-spin))}}.dice-board.is-shaking .die.is-selected .die__body{animation:.12s linear infinite alternate die-jiggle}@keyframes die-jiggle{0%{transform:translate(-2px,1px)rotate(-4deg)}to{transform:translate(2px,-1px)rotate(4deg)}}@media (prefers-reduced-motion:reduce){.die.is-rolling .die__body,.dice-board.is-shaking .die.is-selected .die__body{animation:none}}.dice-shake-hint{text-align:center}.dice-result-heading{font-size:var(--text-lg)}.dice-results{gap:var(--space-2);flex-direction:column;list-style:none;display:flex}.dice-results li{column-gap:var(--space-2);grid-template-columns:auto 1fr;align-items:baseline;display:grid}.dice-results li>strong{grid-column:2}.dice-results__swatch{border:1px solid var(--border-strong);border-radius:3px;align-self:center;width:12px;height:12px}.dice-settings>summary{min-height:var(--tap);cursor:pointer;color:var(--accent);align-items:center;font-weight:600;display:flex}.dice-toggle{align-items:center;gap:var(--space-3);min-height:var(--tap);cursor:pointer;display:flex}.dice-toggle input{width:22px;height:22px;accent-color:var(--accent);flex:none}@media (min-width:30rem){.dice-grid{gap:var(--space-4) var(--space-3)}}.settings h2{font-size:var(--text-lg)}.settings__email{overflow-wrap:anywhere}.settings__time{font-variant-numeric:tabular-nums;max-width:12rem}.settings [role=status]:empty{display:none}.friends__item{justify-content:space-between;align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.friends__email{overflow-wrap:anywhere;min-width:0}.friends__status{font-size:var(--text-xs);padding:2px var(--space-2);border-radius:var(--radius-pill);background:var(--surface-2);color:var(--text-muted);font-weight:600}.friends__status.is-approved{background:var(--success-soft);color:var(--text)}.friends-page [role=status]:empty{display:none}
