/* Maschera: a dark Renaissance night. Umber shadow, a break of sky-blue heaven, gold leaf, lacquer red.
   Panels are varnished panels with gilt edges; buttons are gold leaf or wax seals; something always moves. */
@font-face { font-family: "Cormorant"; src: url(../fonts/cormorant-garamond-latin-wght-normal.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(../fonts/cormorant-garamond-latin-wght-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(../fonts/spectral-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(../fonts/spectral-latin-300-italic.woff2) format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(../fonts/spectral-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(../fonts/spectral-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url(../fonts/cinzel-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Pinyon"; src: url(../fonts/pinyon-script-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Mono"; src: url(../fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); font-display: swap; }

:root {
  --umber: #140d09; --umber2: #1f150e; --wood: #2b1d12; --cream: #f1e6cd; --cream2: #d9c8a6; --dim: #b4a07c;
  --gold: #d1a54e; --gold-hi: #fff1c6; --gold-lo: #7a5520; --sky: #8fb8dc; --sky-hi: #cfe3f4; --lapis: #2a4f86; --lacquer: #a3322a;
  --gilt: linear-gradient(180deg, #fff3c9 0%, #e9c46f 42%, #b88a33 56%, #e9c46f 78%, #a67a2a 100%);
  --display: "Cormorant", Georgia, serif; --body: "Spectral", Georgia, serif; --hand: "Pinyon", cursive; --roman: "Cinzel", Georgia, serif; --mono: "Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--umber); color: var(--cream); font: 400 18px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
canvas.night { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
main, .top, .foot { position: relative; z-index: 1; }
a { color: var(--sky); }
a:hover { color: var(--sky-hi); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--cream); margin: 0; line-height: 1; }
h2 { font-size: clamp(38px, 5vw, 64px); text-align: center; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
h3 { font-size: 26px; font-weight: 600; }
p { margin: 0; }
.mono, code { font-family: var(--mono); font-size: .82em; }
.small { font-size: 15px; color: var(--dim); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--cream); color: var(--umber); padding: 8px 14px; }

/* header: a gilt cartouche */
.top { display: flex; align-items: center; gap: 20px; padding: 18px clamp(18px, 4vw, 56px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand span { font-family: var(--roman); font-weight: 600; font-size: 22px; letter-spacing: .14em; background: var(--gilt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand img { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); animation: sway 9s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(-7deg) translateY(-2px); } }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px 10px; border-radius: 999px; background: rgba(20, 13, 9, .55); box-shadow: 0 0 0 1px rgba(209, 165, 78, .35) inset; backdrop-filter: blur(6px); }
.top nav a { color: var(--cream2); text-decoration: none; font-family: var(--display); font-size: 19px; font-weight: 600; padding: 6px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.top nav a:hover { color: var(--gold-hi); background: rgba(209, 165, 78, .12); }
.net { font: 13px var(--mono); color: var(--dim); padding: 6px 12px; }
.net.on { color: var(--sky-hi); }
.net.on::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); margin-right: 8px; box-shadow: 0 0 10px var(--sky); }

/* hero */
.hero { min-height: min(900px, 94vh); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 20px clamp(18px, 5vw, 80px) 60px; }
.flourish { font-family: var(--hand); font-size: 34px; color: var(--gold); text-shadow: 0 2px 14px rgba(0, 0, 0, .6); margin-bottom: 6px; }
.hero h1 { font-size: clamp(60px, 8.6vw, 128px); line-height: .9; letter-spacing: -.015em; font-weight: 500; text-shadow: 0 6px 60px rgba(0, 0, 0, .7); }
.hero h1 .scr { color: var(--gold); opacity: .7; }
.lede { margin-top: 26px; max-width: 34ch; font-size: 21px; font-weight: 300; color: var(--cream2); text-shadow: 0 2px 16px rgba(0, 0, 0, .7); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.mask-stage { position: relative; margin: 0; height: 520px; perspective: 900px; display: grid; place-items: center; }
.halo { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 190, .34), rgba(143, 184, 220, .16) 45%, transparent 70%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.mask-float { position: relative; transform-style: preserve-3d; will-change: transform; }
.mask-float img { width: min(560px, 42vw); height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }
.mask-float::after { content: ""; position: absolute; inset: 10% 6%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side at var(--shine, 50%) 30%, rgba(255, 248, 220, .35), transparent 70%); mix-blend-mode: overlay; }
.ribbon-text { position: absolute; bottom: 30px; font-family: var(--hand); font-size: 30px; color: var(--gold); opacity: .85; animation: drift 8s ease-in-out infinite; text-shadow: 0 2px 10px #000; }
@keyframes drift { 50% { transform: translateY(-6px) rotate(-1.5deg); } }
.ca { max-width: 100%; display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 10px 8px 22px; border-radius: 999px; background: rgba(20, 13, 9, .7); box-shadow: 0 0 0 1px rgba(209, 165, 78, .5) inset; }
.ca span { font-family: var(--display); font-weight: 700; color: var(--gold); white-space: nowrap; }
.ca code { color: var(--cream2); word-break: break-all; min-width: 0; }
.ca button { font: 600 16px var(--display); border: 0; border-radius: 999px; padding: 4px 14px; background: var(--gilt); color: #2b1a08; cursor: pointer; }

/* buttons */
.btn { --p: 0; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px; font: 600 20px var(--display); letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s, filter .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.gilt { color: #2b1a08; background: var(--gilt); box-shadow: 0 0 0 1px #7a5520 inset, 0 0 0 1px rgba(255, 241, 198, .6), 0 14px 34px -12px rgba(209, 165, 78, .55); }
.btn.gilt::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-18deg); animation: glint 5.5s ease-in-out infinite; z-index: -1; }
@keyframes glint { 0%, 62% { left: -60%; } 100% { left: 140%; } }
.btn.gilt:hover { filter: brightness(1.07); }
.btn.veil { color: var(--cream); background: rgba(31, 21, 14, .7); box-shadow: 0 0 0 1px rgba(209, 165, 78, .55) inset; backdrop-filter: blur(4px); }
.btn.veil:hover { color: var(--gold-hi); background: rgba(43, 29, 18, .85); }
/* the wax seal: hold it and red wax fills it */
.btn.seal { width: 100%; min-height: 60px; color: var(--gold-hi); background: radial-gradient(circle at 30% 25%, #5a3a1c, #2b1d12 70%); box-shadow: 0 0 0 1px var(--gold) inset, 0 0 0 4px rgba(20, 13, 9, .8), 0 0 0 5px rgba(209, 165, 78, .4); }
.btn.seal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 38% 32%, #d0574a, #8e1f1a 60%, #5e1210); clip-path: circle(calc(var(--p) * 75%) at 50% 50%); }
.btn.seal span { position: relative; }
.btn.seal:hover { box-shadow: 0 0 0 1px var(--gold-hi) inset, 0 0 0 4px rgba(20, 13, 9, .8), 0 0 0 5px rgba(209, 165, 78, .7), 0 0 30px rgba(163, 50, 42, .35); }
.link { background: none; border: 0; color: var(--sky); font: italic 15px var(--body); cursor: pointer; padding: 0; }

/* frames: varnished panels with a double gilt edge */
.frame { position: relative; padding: 30px; border-radius: 6px; background: radial-gradient(140% 100% at 30% 0%, rgba(58, 40, 24, .94), rgba(28, 19, 12, .96) 70%);
  box-shadow: 0 0 0 1px rgba(209, 165, 78, .65), 0 0 0 5px rgba(20, 13, 9, .9), 0 0 0 6px rgba(209, 165, 78, .3), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.frame::before { content: ""; position: absolute; inset: 8px; border-radius: 3px; pointer-events: none; border: 1px solid rgba(209, 165, 78, .16); }
.frame.arch { border-radius: 260px 260px 8px 8px / 90px 90px 8px 8px; padding-top: 56px; }
.frame.arch::before { border-radius: 250px 250px 4px 4px / 84px 84px 4px 4px; }

/* stats as gilt medallions */
.stats { display: flex; justify-content: center; gap: clamp(18px, 4vw, 56px); flex-wrap: wrap; padding: 10px 20px 90px; }
.medal { position: relative; width: 210px; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; padding: 22px;
  background: radial-gradient(circle at 50% 35%, #3a2818, #1a110a 72%); box-shadow: 0 0 0 4px #a97c33, 0 0 0 5px #4e3510, 0 0 0 10px rgba(20, 13, 9, .7), 0 0 0 11px rgba(209, 165, 78, .35), 0 24px 40px -14px #000; }
.medal::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; border: 1px dashed rgba(209, 165, 78, .45); animation: turn 70s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.medal .k { font-family: var(--hand); font-size: 21px; color: var(--gold); line-height: 1.1; }
.medal b { font: 600 50px/1 var(--display); color: var(--cream); margin: 6px 0; }
.medal .s { font-size: 13px; color: var(--dim); }

/* the three acts: scrolls hung at different heights */
.acts { padding: 40px clamp(18px, 5vw, 80px) 100px; }
.acts ol { list-style: none; padding: 0; margin: 50px auto 0; max-width: 1180px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; align-items: start; }
.act { position: relative; padding: 46px 30px 34px; text-align: center; border-radius: 160px 160px 10px 10px / 60px 60px 10px 10px;
  background: linear-gradient(180deg, rgba(143, 184, 220, .14), rgba(31, 21, 14, .92) 38%), radial-gradient(120% 80% at 50% 0%, #3a2818, #1a110a);
  box-shadow: 0 0 0 1px rgba(209, 165, 78, .6), 0 0 0 5px rgba(20, 13, 9, .9), 0 0 0 6px rgba(209, 165, 78, .25), 0 30px 50px -20px #000; animation: hover 7s ease-in-out infinite; }
.act:nth-child(2) { margin-top: 60px; animation-delay: -2.3s; }
.act:nth-child(3) { margin-top: 20px; animation-delay: -4.6s; }
@keyframes hover { 50% { transform: translateY(-9px); } }
.numeral { display: block; font: 600 46px/1 var(--roman); background: var(--gilt); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.act h3 { font-size: 32px; margin-bottom: 12px; }
.act p { color: var(--cream2); font-size: 17px; }
.coda { text-align: center; margin: 46px auto 0; max-width: 40ch; font: italic 300 21px var(--body); color: var(--cream2); }

/* the app */
.app-wrap { padding: 20px clamp(14px, 4vw, 60px) 100px; max-width: 1280px; margin: 0 auto; }
.gate { max-width: 680px; margin: 0 auto; text-align: center; }
.gate h2 { font-size: 46px; margin-bottom: 18px; }
.gate p { color: var(--cream2); max-width: 46ch; margin: 0 auto; }
.gate-btns { display: flex; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.app { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 34px; align-items: start; }
.side { display: grid; gap: 28px; }
.side h3 { margin-bottom: 12px; }
.card-h { display: flex; justify-content: space-between; align-items: baseline; }
.rows { list-style: none; margin: 10px 0 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(209, 165, 78, .16); }
.rows li:first-child { border-top: 0; }
.rows .amt { font: 600 24px var(--display); color: var(--gold-hi); }
.rows .sub { display: block; font-size: 13px; color: var(--dim); }
.rows .empty { color: var(--dim); font-style: italic; font-size: 15px; }
.rows button { font: 600 15px var(--display); border: 0; border-radius: 999px; padding: 4px 14px; background: rgba(143, 184, 220, .16); color: var(--sky-hi); cursor: pointer; }
.rows button.go { background: var(--gilt); color: #2b1a08; }
.rows button:disabled { background: transparent; color: var(--dim); cursor: default; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 auto 30px; padding: 6px; border-radius: 999px; background: rgba(12, 8, 5, .6); box-shadow: 0 0 0 1px rgba(209, 165, 78, .3) inset; width: fit-content; }
.tabs button { font: 600 18px var(--display); color: var(--cream2); background: none; border: 0; padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: color .2s, background .2s; }
.tabs button[aria-selected="true"] { background: var(--gilt); color: #2b1a08; }
.panel { display: grid; gap: 20px; max-width: 620px; margin: 0 auto; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.intro { color: var(--cream2); font-size: 17px; }
.field { display: grid; gap: 8px; font: italic 300 16px var(--body); color: var(--dim); }
.field input, .field select { width: 100%; min-height: 54px; padding: 0 18px; border: 0; border-radius: 4px; font: 400 18px var(--body); color: var(--cream); background: rgba(10, 7, 4, .65); box-shadow: inset 0 0 0 1px rgba(209, 165, 78, .45), inset 0 3px 10px rgba(0, 0, 0, .5); transition: box-shadow .2s; }
.field input.mono { font: 15px var(--mono); }
.field input:focus, .field select:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 4px rgba(209, 165, 78, .2); }
.field select option { background: var(--wood); }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.check { font: 14px var(--body); font-style: normal; min-height: 1.2em; }
.check.good { color: #a8d5a0; } .check.warn { color: #f0b48c; }
.drops { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.drops legend { font: italic 300 16px var(--body); color: var(--dim); margin-bottom: 8px; }
.drops label { cursor: pointer; }
.drops input { position: absolute; opacity: 0; }
.drops label { padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(209, 165, 78, .4); color: var(--cream2); font: 600 17px var(--display); transition: all .2s; }
.drops label:has(input:checked) { background: rgba(143, 184, 220, .2); box-shadow: inset 0 0 0 1px var(--sky); color: var(--sky-hi); }
.drops label:has(input:focus-visible) { outline: 2px solid var(--sky); }
.quote { padding: 16px 20px; border-radius: 4px; background: rgba(143, 184, 220, .08); box-shadow: inset 0 0 0 1px rgba(143, 184, 220, .25); font-size: 17px; color: var(--cream2); }
.quote strong { color: var(--sky-hi); font-weight: 500; }
.tick { display: flex; gap: 10px; align-items: baseline; font-size: 16px; color: var(--cream2); }
.tick input { accent-color: var(--gold); }
.hint { color: var(--dim); font-size: 14px; }
.row-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.addr { display: block; word-break: break-all; padding: 14px 16px; border-radius: 4px; background: rgba(10, 7, 4, .65); box-shadow: inset 0 0 0 1px rgba(209, 165, 78, .35); color: var(--cream2); }

/* masks made this visit: little cards that flip in */
.mask-cards { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; perspective: 700px; }
.mask-cards li { padding: 14px 16px; border-radius: 6px; background: linear-gradient(135deg, rgba(143, 184, 220, .2), rgba(31, 21, 14, .8)); box-shadow: inset 0 0 0 1px rgba(209, 165, 78, .45); animation: flip .9s var(--ease); transform-origin: 50% 0; }
@keyframes flip { from { transform: rotateX(-90deg); opacity: 0; } }
.mask-cards b { display: block; font: 13px var(--mono); color: var(--sky-hi); }
.mask-cards span { font-size: 14px; color: var(--cream2); }
.mask-cards .empty { background: none; box-shadow: none; color: var(--dim); font-style: italic; font-size: 15px; padding: 0; animation: none; }

.work { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 60; display: flex; gap: 14px; align-items: center; padding: 14px 24px; border-radius: 999px; background: rgba(20, 13, 9, .94); box-shadow: 0 0 0 1px var(--gold), 0 20px 40px #000; font-size: 16px; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(209, 165, 78, .25); border-top-color: var(--gold); animation: turn 1s linear infinite; }

/* tips, seen, risks, contracts */
.tips, .risks, .contracts { max-width: 980px; margin: 0 auto 90px; }
.tips h2, .risks h2, .contracts h2 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 22px; }
.tips ul, .risks ul { margin: 0; padding: 0 0 0 4px; list-style: none; display: grid; gap: 14px; }
.tips li, .risks li { position: relative; padding-left: 30px; color: var(--cream2); }
.tips li::before, .risks li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.tips b, .risks b { color: var(--cream); font-weight: 500; }
.seen { padding: 0 clamp(18px, 5vw, 80px) 90px; }
.seen .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; max-width: 980px; margin: 40px auto 0; }
.seen ul { margin: 14px 0 0; padding-left: 20px; color: var(--cream2); display: grid; gap: 8px; }
.seen .hidden-col { background: radial-gradient(140% 100% at 30% 0%, rgba(42, 79, 134, .55), rgba(20, 30, 48, .95) 70%); }
.seen .hidden-col h3 { color: var(--sky-hi); }
.addrs { display: grid; gap: 10px; margin: 0 0 16px; }
.addrs div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; }
.addrs dt { color: var(--dim); font-style: italic; }
.addrs dd { margin: 0; word-break: break-all; }

.foot { padding: 40px clamp(18px, 5vw, 80px) 60px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.foot p { max-width: 64ch; font-size: 14px; font-style: italic; color: var(--dim); }
.foot .brand span { font-size: 18px; }

.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; gap: 10px; }
.toast { max-width: 380px; padding: 14px 18px; border-radius: 6px; background: rgba(31, 21, 14, .96); box-shadow: 0 0 0 1px rgba(209, 165, 78, .6), 0 16px 30px #000; font-size: 15px; animation: rise .4s var(--ease); }
.toast.good { box-shadow: 0 0 0 1px #8fc78a, 0 16px 30px #000; }
.toast.bad { box-shadow: 0 0 0 1px var(--lacquer), 0 16px 30px #000; }
.spark { position: fixed; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: radial-gradient(circle, #fff3cf, #d1a54e); pointer-events: none; z-index: 90; animation: spark .6s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 0; }
  .mask-stage { height: 340px; order: -1; }
  .mask-float img { width: min(440px, 86vw); }
  .halo { width: 360px; height: 360px; }
  .acts ol, .seen .cols { grid-template-columns: 1fr; }
  .act:nth-child(n) { margin-top: 0; }
  .app { grid-template-columns: 1fr; }
  .addrs div { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .top nav a { padding: 6px 8px; font-size: 17px; }
  .two { grid-template-columns: 1fr; }
  .medal { width: 160px; } .medal b { font-size: 38px; }
  .frame { padding: 22px; }
  .frame.arch { border-radius: 140px 140px 8px 8px / 50px 50px 8px 8px; padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.tips.frame, .risks.frame, .contracts.frame { border-radius: 300px 300px 8px 8px / 70px 70px 8px 8px; padding-top: 50px; }
.tips.frame::before, .risks.frame::before, .contracts.frame::before { border-radius: 290px 290px 4px 4px / 64px 64px 4px 4px; }
.seen .frame { border-radius: 200px 200px 8px 8px / 56px 56px 8px 8px; padding-top: 44px; }
.seen .frame::before { border-radius: 190px 190px 4px 4px / 50px 50px 4px 4px; }
@media (max-width: 560px) { .tips.frame, .risks.frame, .contracts.frame, .seen .frame { border-radius: 120px 120px 8px 8px / 40px 40px 8px 8px; } }
@media (max-width: 640px) {
  .top { flex-wrap: wrap; gap: 10px; padding-bottom: 6px; }
  .top nav { margin-left: 0; width: 100%; justify-content: space-between; flex-wrap: nowrap; padding: 4px 8px; }
  .top nav a[href="#seen"] { display: none; }
  .net { padding: 4px 6px; font-size: 12px; }
}
