:root {
  color-scheme: light;
  --sky: #a4d4ff;
  --paper: #eef6ff;
  --panel: #fffdf7;
  --sage: #d8ebfc;
  --forest: #172e6a;
  --display: "Archivo Black", "Arial Black", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", Arial, sans-serif;
  --ink: #172e6a;
  --secondary: #405575;
  --rule: #93b8d8;
  --orange: #ff8241;
  --focus: #234c93;
  font-family: "DM Sans", "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100dvh; display: flex; flex-direction: column; }
button, input, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.symbols { width: 0; height: 0; overflow: hidden; position: absolute; pointer-events: none; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.wrap { width: min(100% - 96px, 1144px); margin-inline: auto; }
.masthead { background: var(--panel); border-bottom: 1px solid var(--rule); }
.nav-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: 88px; height: auto; }
.help-link { display: inline-flex; align-items: center; gap: 7px; padding: 10px 0; text-decoration: none; font-size: .89rem; font-weight: 520; color: var(--secondary); }
.help-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.help-link .icon { width: 16px; height: 16px; }
.generator-link { color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.generator-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.language-control { display: flex; align-items: center; position: relative; }
.language-control .icon { position: absolute; left: 10px; width: 16px; height: 16px; pointer-events: none; color: var(--secondary); }
.language-control select { min-height: 38px; width: auto; padding: 7px 27px 7px 33px; background-position: right 8px center; background-color: transparent; border-color: var(--rule); font-size: .88rem; cursor: pointer; }
main { flex: 1; }
.workspace { max-width: 760px; margin-inline: auto; padding: clamp(38px, 5vw, 74px) 0; }
.tool, .example { min-width: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(3.35rem, 5.9vw, 5.3rem); line-height: 1.08; letter-spacing: -.065em; font-weight: 830; overflow-wrap: anywhere; text-wrap: balance; }
h1:lang(zh) { word-break: keep-all; }
.intro { max-width: 32em; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.8; color: var(--secondary); margin-top: 20px; }
.service-note { max-width: 46ch; margin-top: 8px; color: var(--secondary); font-size: .89rem; line-height: 1.5; }
#resolve-form { margin-top: clamp(26px, 3vw, 45px); }
label { display: block; font-weight: 650; font-size: .94rem; margin-bottom: 10px; }
.input-shell { min-height: 58px; display: flex; align-items: center; gap: 11px; padding: 7px 8px 7px 16px; background: #fffefa; border: 1.5px solid #84877f; border-radius: 7px; }
.input-shell:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(29,32,29,.12); }
.input-shell:has([aria-invalid="true"]) { border-color: #ab3423; }
.input-icon { width: 18px; height: 18px; color: var(--secondary); }
#url-input { padding: 6px 0; border: 0; background: transparent; width: 0; min-width: 0; flex: 1; outline: 0; font-size: 1rem; }
#url-input::placeholder { color: #72766c; opacity: 1; }
.paste-button { display: inline-flex; justify-content: center; align-items: center; gap: 5px; border: 0; border-left: 1px solid var(--rule); padding: 5px 9px 5px 12px; background: transparent; font-size: .88rem; font-weight: 600; }
.paste-button:hover { color: var(--focus); }
.paste-button .icon { width: 16px; height: 16px; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 11px 20px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; font-size: 1rem; }
.primary { width: 100%; margin-top: 12px; background: var(--orange); color: #23180f; }
.primary:hover { background: #f17b51; }
.primary:active { background: #ea5b2b; }
.button:disabled { cursor: progress; }
.button[aria-busy="true"] .icon { display: none; }
.button[aria-busy="true"]::before { content: ""; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status { font-size: .91rem; line-height: 1.6; color: var(--secondary); }
.status:not(:empty) { margin-top: 12px; }
.status.error { color: #9a311d; }
.task-notice { margin-top: 14px; padding: 10px 14px; border-inline-start: 3px solid var(--orange); border-radius: 3px; background: #fff0e7; color: #572c1c; font-size: .94rem; line-height: 1.55; font-weight: 550; }
.queue-cancel { min-height: 32px; padding: 4px 0; border: 0; background: transparent; color: var(--focus); font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.example { margin-top: 20px; }
.sample-card { padding: 13px 0 2px 16px; border-inline-start: 2px solid #b9bfa7; }
.sample-credit { display: flex; align-items: center; gap: 7px; color: var(--secondary); font-size: .83rem; }
.sample-credit .icon { width: 17px; height: 17px; }
.sample-card h2 { margin: 4px 0; font-size: 1.03rem; line-height: 1.35; font-weight: 650; }
.sample-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px; }
.sample-button, #sample-source { min-height: 36px; display: inline-flex; align-items: center; background: none; border: none; color: var(--forest); padding: 3px 0; font-size: .88rem; text-decoration: underline; text-underline-offset: .19em; }
.sample-button { font-weight: 700; }
.sample-button:disabled { opacity: .55; }
.tool:has(#result:not([hidden])) { align-self: start; }
#result { border-top: 1px solid var(--rule); margin-top: 25px; padding-top: 20px; }
.result-top { margin-bottom: 21px; }
#result-title { line-height: 1.4; font-size: 1.3rem; overflow-wrap: anywhere; font-weight: 720; }
.meta { color: var(--secondary); font-size: .88rem; margin-bottom: 6px; overflow-wrap: anywhere; }
#format { min-inline-size: 0; margin: 0 0 12px; padding: 0; border: 0; }
#format legend { margin-bottom: 8px; padding: 0; font-size: .94rem; font-weight: 650; }
#format-options { display: grid; gap: 7px; }
.format-choice { display: flex; align-items: flex-start; gap: 11px; margin: 0; padding: 11px 13px; border: 1px solid var(--rule); border-radius: 6px; background: #fcfbf7; cursor: pointer; }
.format-choice:has(:checked) { border-color: var(--focus); background: #fff4ec; }
.format-choice input { width: 17px; height: 17px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--focus); }
.format-choice strong, .format-hint { line-height: 1.45; }
.format-hint { display: inline-block; margin-inline-start: 8px; color: var(--focus); font-size: .87rem; }
.format-facts { display: block; margin-top: 3px; color: var(--secondary); font-size: .84rem; font-weight: 400; line-height: 1.55; }
#playback { margin-top: 11px; }
#playback summary { width: fit-content; min-height: 34px; padding-block: 6px; cursor: pointer; font-size: .94rem; font-weight: 600; }
#playback video { display: block; width: 100%; max-height: 25rem; margin-top: 5px; background: #141713; border-radius: 5px; }
select { appearance: none; width: 100%; min-height: 50px; border: 1px solid #84877f; border-radius: 5px; padding: 10px 36px 10px 12px; font-size: 1rem; background: #fffefa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%232a2d27' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 13px center; }
.download { background: var(--ink); color: var(--paper); min-height: 50px; white-space: nowrap; }
.download:hover { background: #393e35; }
.guide, .platforms, .faq { scroll-margin-top: 24px; border-top: 1px solid var(--rule); padding: 31px 0 46px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 14px; margin-bottom: 19px; }
h2 { font-size: 1.42rem; letter-spacing: -.045em; line-height: 1.4; }
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.platform-card { display: flex; gap: 13px; align-items: center; min-width: 0; padding: 18px; border: 1px solid var(--rule); border-radius: 7px; background: #fcfbf7; }
.platform-logo { display: inline-grid; place-items: center; width: 43px; height: 43px; border: 1px solid #d5d6cb; border-radius: .7rem; background: #f2f1ea; flex-shrink: 0; }
.platform-logo .icon { width: 24px; height: 24px; stroke-width: 1.9; }
.platform-info { min-width: 0; }
h3 { font-size: 1.08rem; letter-spacing: -.025em; }
.platform-info p { color: var(--secondary); font-size: .88rem; line-height: 1.5; margin-top: 2px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; }
.steps li { list-style-position: inside; padding-inline-end: 12px; }
.steps li::marker { font-weight: 700; color: var(--focus); font-variant-numeric: tabular-nums; }
.steps h3 { display: inline; }
.steps p, .faq-list p { margin-top: 8px; color: var(--secondary); line-height: 1.65; font-size: .96rem; }
.faq { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr); column-gap: 30px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--rule); }
.faq-list summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 4px; cursor: pointer; list-style: none; font-weight: 650; line-height: 1.45; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 8px; height: 8px; flex: 0 0 8px; align-self: center; margin-inline: 4px; border: solid var(--focus); border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list p { max-width: 68ch; margin: 0 4px 10px; }
.faq-list p:last-child { margin-bottom: 18px; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 20px 24px; border-top: 1px solid var(--rule); color: var(--secondary); }
.signature { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: .95rem; font-weight: 650; }
.footer p { font-size: .82rem; line-height: 1.55; }
.locale-links { display: flex; flex-wrap: wrap; flex-basis: 100%; gap: 0 20px; align-items: baseline; font-size: .84rem; }
.locale-links a { display: inline-block; padding-block: 5px; text-underline-offset: .22em; }
.locale-links a[aria-current="page"] { font-weight: 700; color: var(--ink); }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .platform-card { padding: 14px; gap: 10px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); max-width: 550px; }
  .nav-inner { min-height: 62px; gap: 10px; }
  .nav-actions { gap: 12px; }
  .help-link { padding: 10px 3px; }
  .help-link span { display: none; }
  .brand img { width: 73px; }
  .workspace { padding: 38px 0 30px; }
  h1 { font-size: clamp(2.9rem, 10vw, 3.65rem); }
  .intro { margin-top: 13px; }
  #resolve-form { margin-top: 23px; }
  .guide, .platforms, .faq { padding: 23px 0 28px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps li { padding: 0; }
  .steps p { margin-top: 4px; }
  .faq { display: block; }
  .section-head { display: block; margin-bottom: 13px; }
  .platform-grid { grid-template-columns: 1fr; gap: 9px; }
  .platform-card { min-height: 73px; }
  .download { width: 100%; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 28px); }
  .nav-inner { flex-wrap: wrap; padding-block: 8px; }
  .language-control select { padding-left: 6px; }
  .language-control .icon { display: none; }
  .platform-card { padding: 10px; gap: 7px; }
  .platform-logo { width: 32px; height: 36px; }
  .platform-info p { font-size: .81rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
}
.pocket-policy .masthead { background: var(--sky); }
.policy-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; font-size: .88rem; }
.policy-nav a { display: inline-flex; align-items: center; min-height: 32px; }
.policy-nav a, .policy-content a { text-underline-offset: .2em; }
.policy-nav a[aria-current="page"] { font-weight: 700; }
.policy-content { width: min(100% - 40px, 68ch); margin: clamp(34px, 6vw, 76px) auto; line-height: 1.65; }
.policy-content h1 { font: 800 clamp(2.25rem, 5vw, 3.6rem)/1.15 var(--display); letter-spacing: -.045em; overflow-wrap: anywhere; }
.policy-content time { display: block; margin-block: .7rem 1.35rem; font-size: .88rem; color: var(--secondary); }
.policy-content .policy-intro { font-size: 1.14rem; }
.policy-content section { margin-block-start: 1.9rem; }
.policy-content p { margin-block: .65rem; }
.policy-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .84rem; }
.policy-links a { padding-block: 5px; text-underline-offset: .22em; }

@media (max-width: 420px) {
  .masthead .nav-inner { flex-wrap: wrap; gap: 5px 10px; }
  .nav-actions { flex-wrap: wrap; justify-content: flex-end; flex: 1; gap: 6px 9px; }
  .generator-link { font-size: .82rem; }
}

.tool h1, .gen-intro h1 {
  font-family: var(--display); font-weight: 500; letter-spacing: -.045em;
}
.tool h1:lang(zh), .gen-intro h1:lang(zh), .tool h1:lang(ja), .gen-intro h1:lang(ja) {
  letter-spacing: -.045em; line-height: 1.2;
}
.tool .intro { margin-top: 14px; line-height: 1.55; }
.tool #resolve-form { margin-top: clamp(18px, 2vw, 28px); }
.generator-link { padding: 8px 12px; border: 1px solid #bdc7b8; border-radius: 24px; background: #f0f3e8; color: var(--forest); }
.studio-feature { min-width: 0; margin: 0; border-radius: 18px; overflow: hidden; background: var(--sage); border: 1px solid #c7cdbb; }
.studio-preview { background: #dfcaab; overflow: hidden; }
.studio-preview video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.studio-caption { font-size: .8rem; font-weight: 600; color: var(--forest); }
.studio-action { display: inline-flex; align-items: center; gap: .6em; min-height: 42px; color: var(--forest); font-size: .91rem; font-weight: 700; text-decoration: underline; text-underline-offset: .24em; }
.studio-action:hover { color: var(--focus); }
.studio-action span[aria-hidden] { font-family: system-ui, sans-serif; font-size: 1.15em; }
.primary { border-radius: 9px; background: var(--forest); color: var(--panel); }
.primary:hover { background: #365d49; }
.primary:active { background: #183627; }
.input-shell, .platform-card { border-radius: 10px; }
.section-head h2 { color: var(--forest); }
@media (max-width: 700px) {
  .workspace { padding-top: 32px; }
  .generator-link { padding: 5px 9px; }
}

.studio-preview { position: relative; }
.studio-play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; padding: 0; background: #dfcaab; }
.studio-play img { display: block; width: 100%; height: 100%; object-fit: contain; }
.studio-play span { position: absolute; bottom: 14px; left: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--panel); color: var(--forest); box-shadow: 0 2px 8px #29211930; }
.studio-play span::after { content: ""; width: 0; height: 0; margin-left: 3px; border-block: 6px solid transparent; border-left: 10px solid currentColor; }
.studio-play:hover span { background: var(--forest); color: var(--panel); }
.studio-play:focus-visible { outline-offset: -4px; }
@media (max-width: 700px) {
  .gen-feature .studio-play span { width: 34px; height: 34px; bottom: 7px; left: 7px; }
}

/* Pocket camera downloader */
.pocket-home .wrap { width: min(1180px, calc(100% - clamp(48px, 10vw, 152px))); max-width: none; }
.pocket-home .masthead { background: var(--sky); border: 0; }
.pocket-home .nav-inner { min-height: 80px; border-bottom: 1px solid #689dcc70; }
.pocket-home .brand { flex: none; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding-block: 6px; text-decoration: none; }
.pocket-home .brand img { width: 132px; }
.pocket-home .brand-subtitle { max-width: 230px; color: #294875; font-size: .79rem; font-weight: 650; line-height: 1.2; }
.pocket-home .nav-actions { gap: 16px; }
.pocket-home .pocket-nav { display: flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #93b7dc; border-radius: 32px; background: #c5e2fc; }
.pocket-home .pocket-nav a { display: grid; align-content: center; min-height: 39px; padding: 7px 17px; border: 0; border-radius: 24px; background: transparent; font-size: .9rem; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.2; }
.pocket-home .pocket-nav a:hover { background: #d8edff; }
.pocket-home .pocket-nav a[aria-current] { color: white; background: var(--ink); }
.pocket-home .language-control select { border-radius: 24px; border-color: #749ec5; }
.pocket-home .skip-link { position: fixed; z-index: 3; top: 10px; left: 10px; transform: translateY(-160%); padding: 8px 15px; background: var(--panel); }
.pocket-home .skip-link:focus { transform: none; }
.pocket-home .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pocket-home .workspace { max-width: none; padding: 0; background: var(--sky); overflow: clip; }
.pocket-home .tool {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .96fr); grid-template-areas: "head photo" "form photo";
  align-content: center; gap: 0 clamp(24px, 5vw, 88px); padding-block: clamp(46px, 5vw, 78px) clamp(45px, 5vw, 72px);
}
.pocket-home .hero-copy { container-type: inline-size; grid-area: head; align-self: end; }
.pocket-home .hero-copy h1 { font: 900 clamp(1.3rem, 14.3cqi, 6.4rem)/1.03 var(--display); letter-spacing: -.075em; overflow-wrap: normal; text-wrap: initial; }
.pocket-home .hero-copy h1:lang(zh), .pocket-home .hero-copy h1:lang(ja) { font-size: clamp(2rem, 20cqi, 7rem); letter-spacing: -.08em; line-height: 1.07; }
.pocket-home .hero-copy h1 > span { display: table; }
.pocket-home .hero-accent { position: relative; isolation: isolate; }
.pocket-home .hero-accent::after { content: ""; position: absolute; z-index: -1; height: .15em; background: #ff984d; inset: auto .38em .04em .06em; border-radius: 100% 18% 65% 27%; transform: rotate(-3deg); }
.pocket-home .hero-copy .intro { margin-top: 19px; max-width: 30em; font-size: clamp(1rem, 1.5vw, 1.36rem); color: var(--ink); font-weight: 600; line-height: 1.5; letter-spacing: -.028em; }
.pocket-home .camera-print {
  grid-area: photo; align-self: center; min-width: 0; margin: 0 9px 0 4px; padding: 12px 12px 0;
  position: relative; background: var(--panel); border: 1px solid #88898760; box-shadow: 7px 8px 0 #457eb244; transform: rotate(5deg);
}
.pocket-home .camera-print::before {
  content: ""; position: absolute; top: -13px; left: 33%; z-index: 1; width: 31%; height: 27px; background: #ff8d48; transform: rotate(-10deg);
  clip-path: polygon(1% 0,100% 4%,99% 25%,100% 44%,98% 64%,99% 100%,0 92%,2% 63%,0 41%,2% 25%);
}
.pocket-home .camera-print img { display: block; width: 100%; height: auto; aspect-ratio: 1.19; object-fit: cover; background: #58acde; }
.pocket-home .camera-print figcaption { padding: 13px 3px 15px; font: italic 800 clamp(.85rem, 1.72vw, 1.55rem)/1 "Bricolage Grotesque", "Helvetica Neue", sans-serif; letter-spacing: -.07em; }
.pocket-home .download-block { grid-area: form; align-self: start; margin-top: 26px; min-width: 0; }
.pocket-home #resolve-form { margin: 0; }
.pocket-home .download-field-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; }
.pocket-home #resolve-form label { margin: 0; font-size: .84rem; font-weight: 750; }
.pocket-home .download-stat { display: flex; align-items: baseline; gap: 7px; margin: 0; color: var(--ink); font-size: .84rem; font-weight: 600; }
.pocket-home .download-stat dd { margin: 0; padding: 1px 7px; border-radius: 5px; background: var(--panel); font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pocket-home .input-shell { min-height: 60px; gap: 7px; padding: 6px 6px 6px 13px; background: var(--panel); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); }
.pocket-home .input-shell:focus-within { outline: 3px solid #366abb; outline-offset: 3px; }
.pocket-home .input-shell:has([aria-invalid="true"]) { border-color: #9a311d; }
.pocket-home #url-input { color: var(--ink); font-size: .94rem; }
.pocket-home #url-input::placeholder { color: #53647a; }
.pocket-home .paste-button { border: 0; min-height: 42px; padding-inline: 7px; }
.pocket-home .paste-button span { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.pocket-home .primary { flex: 0 1 auto; width: auto; min-height: 46px; margin: 0; gap: 8px; padding: 9px 15px; border-radius: 10px; background: var(--ink); color: #fff; line-height: 1.18; }
.pocket-home .primary .icon { width: 17px; }
.pocket-home .primary:hover, .pocket-home .download:hover { background: #294891; }
.pocket-home .sample-actions { margin-top: 9px; gap: 3px 14px; }
.pocket-home .sample-actions > :is(a,button) { min-height: 32px; line-height: 1.35; font-size: .8rem; }
.pocket-home #sample-source { color: var(--secondary); }
.pocket-home .sample-button { gap: 4px; color: var(--ink); }
.pocket-home .task-notice { max-width: 62ch; margin-top: 9px; padding: 4px 0 4px 10px; border-radius: 0; background: transparent; color: var(--ink); font-size: .81rem; line-height: 1.48; font-weight: 500; }
.pocket-home #result { grid-column: 1 / -1; width: min(100%, 760px); justify-self: center; margin-top: 36px; padding: clamp(18px, 3.2vw, 32px); border: 2px solid var(--ink); border-radius: 18px; background: var(--panel); box-shadow: 0 4px 0 var(--ink); }
.pocket-home .format-choice { background: #fff; }
.pocket-home .format-choice:has(:checked) { background: #e4f2ff; border-color: var(--ink); }
.pocket-home .download { border-radius: 10px; }
.pocket-home .platforms { padding-top: clamp(25px, 3vw, 43px); border-top: 0; }
.pocket-home .section-head h2 { font-size: clamp(1.38rem, 2.4vw, 2.1rem); line-height: 1.15; font-weight: 800; }
.pocket-home .platforms .section-head { display: flex; justify-content: flex-start; margin-bottom: 14px; }
.pocket-home .platforms .section-head > span { font-size: .78rem; color: var(--secondary); }
.pocket-home .platform-grid { gap: 0; border-block: 1px solid var(--rule); }
.pocket-home .platform-item { min-width: 0; padding: 17px 20px; }
.pocket-home .platform-item:first-child { padding-left: 0; }
.pocket-home .platform-item + .platform-item { border-inline-start: 1px solid var(--rule); }
.pocket-home .platform-item summary { position: relative; display: grid; padding-right: 20px; gap: 4px; list-style: none; cursor: pointer; }
.pocket-home .platform-item summary::-webkit-details-marker { display: none; }
.pocket-home .platform-item summary::after { position: absolute; right: 0; top: .6em; content: "+"; font-weight: 700; color: var(--focus); }
.pocket-home .platform-item[open] summary::after { content: "−"; }
.pocket-home .platform-item summary strong { font: 800 clamp(1.4rem, 2.25vw, 2.2rem)/1.13 "Bricolage Grotesque", "Helvetica Neue", sans-serif; letter-spacing: -.055em; }
.pocket-home .platform-item summary small { font-size: .55em; letter-spacing: 0; }
.pocket-home .platform-item summary span, .pocket-home .platform-item p, .pocket-home .download-facts { font-size: .86rem; color: var(--secondary); line-height: 1.55; }
.pocket-home .platform-item p { margin-top: 7px; }
.pocket-home .download-facts { display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; gap: 20px; padding-top: 19px; }
@media (max-width: 840px) {
  .pocket-home .wrap { width: calc(100% - 48px); }
  .pocket-home .tool { column-gap: 28px; }
  .pocket-home .input-shell { gap: 3px; padding-left: 8px; }
  .pocket-home .primary { padding-inline: 10px; }
  .pocket-home .camera-print { padding: 8px 8px 0; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .pocket-home .brand-subtitle { max-width: 178px; }
  .pocket-home .help-link { display: none; }
}
@media (max-width: 700px) {
  .pocket-home .wrap { width: calc(100% - 36px); }
  .pocket-home .nav-inner { min-height: 64px; padding-block: 6px; flex-wrap: nowrap; }
  .pocket-home .brand img { width: 112px; }
  .pocket-home .brand-subtitle { max-width: 165px; font-size: .74rem; }
  .pocket-home .nav-actions { flex-wrap: nowrap; gap: 6px; }
  .pocket-home .help-link { display: none; }
  .pocket-home .pocket-nav { padding: 2px; gap: 0; }
  .pocket-home .pocket-nav a { min-height: 36px; padding: 6px 10px; font-size: .8rem; }
  .pocket-home .language-control .icon { display: block; width: 19px; height: 19px; left: 8px; }
  .pocket-home .language-control select { width: 35px; padding: 0; color: transparent; background: transparent; border: 0; border-radius: 8px; }
  .pocket-home .language-control option { color: var(--ink); }
  .pocket-home .tool { grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); grid-template-areas: "head photo" "form form"; gap: 22px 4px; padding-block: 34px 26px; }
  .pocket-home .hero-copy { align-self: center; }
  .pocket-home .hero-copy h1:lang(zh), .pocket-home .hero-copy h1:lang(ja) { font-size: clamp(2rem, 23cqi, 4rem); }
  .pocket-home .hero-copy .intro { max-width: 16em; margin-top: 12px; padding-inline-end: 7px; font-size: .85rem; }
  .pocket-home .camera-print { margin: 0 3px 0 5px; padding: 5px 5px 0; box-shadow: 4px 5px 0 #457eb244; }
  .pocket-home .camera-print img { aspect-ratio: .98; }
  .pocket-home .camera-print figcaption { font-size: clamp(.62rem, 2.9vw, .85rem); padding: 8px 2px; }
  .pocket-home .camera-print::before { height: 15px; top: -7px; }
  .pocket-home .download-block { margin: 0; }
  .pocket-home .input-shell { min-height: 55px; }
  .pocket-home #url-input { font-size: 1rem; }
  .pocket-home .primary { min-height: 41px; font-size: .88rem; }
  .pocket-home #result { margin-top: 0; }
  .pocket-home .platform-item, .pocket-home .platform-item:first-child { padding: 13px 2px; }
  .pocket-home .platform-item + .platform-item { border-inline-start: 0; border-top: 1px solid #bbd1e4; }
  .pocket-home .platform-item summary { grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
  .pocket-home .platform-item summary::after { top: .3em; }
  .pocket-home .platform-item summary span { text-align: right; }
  .pocket-home .download-facts { grid-template-columns: 1fr; gap: 6px; padding-top: 14px; }
}
@media (max-width: 490px) {
  .pocket-home .nav-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand language" "tools tools"; gap: 4px 10px; padding-block: 7px 10px;
  }
  .pocket-home .brand { grid-area: brand; justify-self: start; gap: 1px; }
  .pocket-home .brand-subtitle { max-width: none; }
  .pocket-home .nav-actions { display: contents; }
  .pocket-home .language-control { grid-area: language; }
  .pocket-home .language-control select { width: 76px; padding: 5px 2px 5px 26px; color: var(--ink); font-size: .75rem; }
  .pocket-home .language-control .icon { left: 3px; }
  .pocket-home .pocket-nav { grid-area: tools; justify-self: start; }
}
@media (max-width: 370px) {
  .pocket-home .wrap { width: calc(100% - 24px); }
  .pocket-home .pocket-nav a { padding-inline: 7px; }
  .pocket-home .input-icon { display: none; }
}
