* { box-sizing: border-box; }
html {
  color-scheme: light;
  --blue: #0060aa;
  --deep: #063968;
  --pink: #df2478;
  --ink: #142c43;
  --muted: #526678;
  --line: #d6e2ec;
  --surface: #fff;
  background: #f4f7fb;
  color: var(--ink);
  font: 16px/1.65 "Segoe UI", Tahoma, Arial, sans-serif;
}
body { margin: 0; min-height: 100vh; }
.wrap { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
header { background: white; border-bottom: 1px solid var(--line); }
.head, .brand, .section-head, summary, footer, .example { display: flex; align-items: center; }
.head { min-height: 90px; justify-content: space-between; gap: 14px; }
.brand { gap: 17px; }
.logo-frame { display: grid; place-content: center; width: 106px; height: 84px; overflow: hidden; }
.logo-frame img { display: block; width: 164px; height: 164px; max-width: none; }
.brand-divider { height: 30px; border-inline-start: 1px solid var(--line); }
.brand-caption { color: var(--deep); font-size: 1.09rem; font-weight: 650; }
.demo-tag { font-size: .86rem; color: #7f2050; border-radius: 20px; background: #fff1f7; padding: 3px 12px; border: 1px solid #f1cede; }
.hero {
  isolation: isolate; position: relative; overflow: hidden; display: flex; align-items: center;
  background: linear-gradient(108deg,#07558e 0%,#06497f 42%,#063768 100%);
  border-radius: 20px; color: white; margin: 25px 0 22px; min-height: 163px;
}
.hero-copy { position: relative; padding: 22px 36px; }
.hero-line { display: block; width: 34px; height: 4px; margin-bottom: 5px; background: #ff75af; border-radius: 4px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2rem,4vw,3rem); line-height: 1.35; }
.hero p { color: #e3effa; margin-top: 2px; font-size: 1.03rem; }
.broadcast { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 46%; overflow: hidden; mask-image: linear-gradient(90deg,#000 50%,transparent 100%); }
.broadcast span { display: block; position: absolute; border: 2px solid #71bfee70; border-radius: 38px; transform: rotate(-30deg); }
.broadcast span:nth-child(1){width: 121px;height: 224px;left: 12px;bottom:-130px;}
.broadcast span:nth-child(2){width: 165px;height: 268px;left:-10px;bottom:-152px;}
.broadcast span:nth-child(3){width: 209px;height: 312px;left:-32px;bottom:-174px;}
.broadcast span:nth-child(4){width: 253px;height: 356px;left:-54px;bottom:-196px;}
.broadcast span:nth-child(5){width: 11px;height: 11px;border:0;background:#ff74b0;left:104px;bottom:112px;box-shadow:0 0 0 6px #ff74b018;}
.layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(250px,1fr); gap: 22px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 16px #062e5a07; }
button, input { font: inherit; } button { cursor: pointer; }
button:disabled { cursor: default; opacity: .7; }
:where(button,input,summary,a):focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; border-bottom: 1px solid var(--line); padding: 11px; }
nav button { background: transparent; border: 1px solid transparent; border-radius: 10px; display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 43px; color: var(--muted); font-weight: 650; }
nav button[aria-pressed=true] { background: #e8f3fd; border-color: #bedaf1; color: #065389; }
i { display: inline-flex; vertical-align: middle; align-items: center; justify-content: center; }
i svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.formbody { padding: 21px 28px 19px; }
.formbody h2 { font-size: 1.52rem; } .formbody>p { color: var(--muted); margin: 0 0 17px; }
label { display: block; font-weight: 650; margin: 12px 0 5px; }
input { width: 100%; height: 48px; border: 1px solid #abbaC9; border-radius: 9px; background: #fcfdff; padding: 8px 14px; color: var(--ink); text-align: right; font-size: 1.05rem; }
input:focus { border-color: var(--blue); background: #fff; } input::placeholder { color: #627487; font-size: .95rem; }
.code-wrap { position: relative; } .code-wrap input { padding-left: 68px; }
.show-code { position: absolute; left: 4px; top: 5px; bottom: 5px; color: var(--blue); font-weight: 600; border: 0; background: transparent; padding: 0 9px; }
.example { font-size: .88rem; color: var(--muted); justify-content: space-between; gap: 6px; flex-wrap: wrap; margin: 12px 0 15px; }
.example button,.quiet { border: 0; background: transparent; color: var(--blue); font-weight: 650; padding: 3px 0; text-decoration: underline; text-underline-offset: 3px; }
.primary { background: var(--blue); color: white; border: 0; border-radius: 10px; width: 100%; min-height: 49px; font-weight: 700; }
.primary:hover:not(:disabled) { background: #054c86; } .quiet { font-size: .88rem; display: block; margin: 8px auto 0; }
.account,.history { padding: 20px 22px; } .section-head,summary { gap: 11px; }
.section-head h2,summary { font-size: 1.17rem; font-weight: 700; }
.icon-box { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; background: #e9f3fc; color: var(--blue); }
.account #account,#receipts { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); }
.history { margin-top: 13px; } .history summary { cursor: pointer; list-style: none; }
.history summary::-webkit-details-marker { display: none; } .history summary>i:last-child { margin-inline-start: auto; }
.history[open] summary>i:last-child { transform: rotate(180deg); }
.entry { padding: 7px 0; border-bottom: 1px solid var(--line); } .entry:last-child { border: 0; }
.entry small { display: block; color: var(--muted); } #account strong { display: block; color: var(--ink); font-size: 1.1rem; }
#notice { margin-top: 12px; padding: 10px 13px; border-inline-start: 3px solid var(--blue); background: #edf5fe; border-radius: 5px; }
#notice[data-kind=success] { background: #e7f5ee; border-color: #267753; color: #1e523d; }
#notice[data-kind=error] { background: #fff0f3; border-color: #ba3654; color: #812c44; }
.skip { position: absolute; top: -100px; } .skip:focus { top: 0; z-index: 4; background: #fff; }
footer { justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); margin-top: 24px; padding: 13px 2px 22px; font-size: .85rem; }
[hidden] { display: none!important; }
@media(max-width:720px) {
  .wrap { width: calc(100% - 28px); } .head { min-height: 74px; gap: 7px; }
  .brand { gap: 10px; } .brand-caption { font-size: .93rem; } .brand-divider { height: 23px; }
  .logo-frame { width: 85px; height: 70px; } .logo-frame img { width: 132px; height: 132px; }
  .hero { min-height: 116px; margin: 15px 0; border-radius: 15px; } .hero-copy { padding: 15px 19px; }
  .hero p { font-size: .92rem; } .broadcast { width: 35%; opacity: .72; }
  .layout { grid-template-columns: 1fr; gap: 14px; } .formbody { padding: 15px 18px 18px; }
  .account,.history { padding: 15px 18px; } nav { padding: 6px; gap: 2px; }
  nav button { font-size: .9rem; gap: 4px; padding: 4px 1px; } nav i svg { width: 17px; }
  .demo-tag { font-size: .8rem; padding: 3px 9px; } footer { margin-top: 17px; }
}
@media(prefers-reduced-motion:no-preference) { button { transition: background-color .15s; } }
