/* Y2Kify landing page. Hand-written CSS, no frameworks, no external fonts or
 * requests: system fonts only, so it loads instantly and looks right if
 * nothing else does. Palette: teal desktop, ivory page, navy + magenta + gold. */
:root {
  --comic: "Comic Sans MS", "Comic Sans", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
  --serif: "Times New Roman", Times, "Liberation Serif", Georgia, serif;
  --navy: #000080; --mag: #cc00cc; --gold: #ffcc00; --ivory: #fffff0; --teal: #008080;
  --rainbow: linear-gradient(90deg, #f00, #f90, #ff0, #0c0, #0cf, #00f, #c0f);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 12px 8px 40px; color: #000; font: 17px/1.5 var(--serif);
  background-color: var(--teal);
  background-image: radial-gradient(#fff 1px, transparent 1.5px), radial-gradient(#ffff66 1px, transparent 1.5px);
  background-size: 37px 37px, 61px 61px; background-position: 0 0, 18px 24px;
}
a { color: #0000cc; } a:visited { color: #551a8b; } a:hover { color: #f00; background: #ff9; }
h2, h3, .tagline, .gif-btn, .themebar button, .dl, .copy-btn, summary { font-family: var(--comic); }
h2 { margin: 0 0 8px; font-size: 28px; color: var(--navy); text-shadow: 2px 2px 0 #ffcc00; }
h3 { margin: 0 0 6px; font-size: 20px; color: var(--mag); }
code { font: 0.9em "Courier New", monospace; background: #e8e8d0; padding: 0 4px; border: 1px solid #bba; }
small, .small { font-size: 14px; }
.note, .small { color: #333; }
.note { margin: 8px 0 0; font-style: italic; }

.page {
  max-width: 880px; margin: 0 auto; padding: 14px 18px 20px; background: var(--ivory);
  border: 4px ridge #c0c0c0; box-shadow: 6px 6px 0 rgba(0, 0, 0, .45);
}
.rainbow { border: 0; height: 6px; margin: 22px 0; background: var(--rainbow); }

/* ---- masthead ---- */
.masthead { text-align: center; }
.tiny { margin: 0; font: 14px var(--comic); color: var(--mag); }
.logo {
  margin: 0; font: bold 86px/1 var(--comic); letter-spacing: -3px; position: relative; display: inline-block;
  text-shadow: 3px 3px 0 #000;
}
.logo .c1{color:#f22}.logo .c2{color:#f90}.logo .c3{color:#fd0}.logo .c4{color:#2c2}.logo .c5{color:#0bf}.logo .c6{color:#c3f}
.logo .new {
  position: absolute; top: -4px; right: -64px; padding: 1px 5px; font: bold 14px var(--comic); letter-spacing: 0;
  color: #ff0; background: #f00; text-shadow: none; transform: rotate(12deg); animation: blink 1s steps(1) infinite;
}
.tagline { margin: 2px 0 8px; font-size: 24px; color: var(--navy); }
.ticker { overflow: hidden; white-space: nowrap; background: var(--navy); color: #ff0; border: 2px inset #888; font: bold 14px/22px var(--comic); }
.ticker span { display: inline-block; padding-right: 100%; animation: scroll 30s linear infinite; }
.topnav { margin: 10px 0 0; padding: 4px; border-top: 2px solid #808080; border-bottom: 2px solid #fff; font: 16px var(--comic); }
.topnav a { padding: 0 6px; }
@keyframes blink { 50% { visibility: hidden; } }
@keyframes scroll { to { transform: translateX(-100%); } }

/* ---- buttons that look like 88x31 gifs ---- */
.btnrow { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 14px 0; }
.gif-btn {
  display: inline-block; min-width: 150px; padding: 10px 22px; text-align: center; text-decoration: none; line-height: 1.15;
  font-weight: bold; font-size: 28px; color: #c00; background: linear-gradient(#fff27a, #ffcc00 55%, #f0a800);
  border: 4px outset #ffe680; text-shadow: 1px 1px 0 #fff; cursor: grab;
}
.gif-btn small { display: block; margin-top: 2px; font: 13px var(--comic); color: #000; text-shadow: none; }
.gif-btn.alt { color: #fff; background: linear-gradient(#4a4aff, #000080); border-color: #8888ff; text-shadow: 1px 1px 0 #000; }
.gif-btn.alt small { color: #ff0; }
.gif-btn:hover { color: #f00; background: linear-gradient(#fff9b0, #ffd633 55%, #f5b400); }
.gif-btn.alt:hover { color: #ff0; background: linear-gradient(#6a6aff, #0000a0); }
.gif-btn:active { border-style: inset; }
.lede { text-align: center; font-size: 19px; }
.dl, .copy-btn, .themebar button {
  display: inline-block; padding: 6px 14px; font-size: 16px; font-weight: bold; color: #000; text-decoration: none; cursor: pointer;
  background: #c0c0c0; border: 3px outset #fff; border-radius: 0;
}
.dl:hover, .copy-btn:hover, .themebar button:hover { background: #d4d4d4; color: #000; }
.dl:active, .copy-btn:active { border-style: inset; }
.copy-btn { font-size: 14px; padding: 2px 8px; }

/* ---- demo ---- */
.themebar { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.themebar button[aria-pressed="true"] { background: var(--navy); color: #ff0; border-style: inset; }
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demos figure { margin: 0; min-width: 0; }
.demos figcaption { margin-bottom: 4px; font: bold 14px var(--comic); color: var(--navy); }
@media (max-width: 760px) { .demos { grid-template-columns: 1fr; } }
.demo { border: 2px solid #444; overflow: hidden; font-size: 13px; line-height: 1.4; position: relative; }
.np-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 10px; }
.np-logo { font-weight: bold; font-size: 18px; }
.np-nav { display: flex; gap: 10px; flex: 1; }
.np-search { display: flex; gap: 4px; }
.np-search input { width: 90px; padding: 3px 5px; font: inherit; }
.np-main { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; padding: 0 10px 8px; }
@media (max-width: 420px) { .np-main { grid-template-columns: 1fr; } }
.np h3 { margin: 0 0 3px; font-size: 17px; line-height: 1.2; text-shadow: none; }
.np h4 { margin: 8px 0 3px; font-size: 13px; }
.np p { margin: 4px 0; }
.np ul, .np ol { margin: 0; padding-left: 18px; }
.np table { width: 100%; border-collapse: collapse; }
.np .meta { font-size: 11px; color: #777; }
.np-img { height: 70px; margin: 4px 0; background: linear-gradient(135deg, #ff4f9a, #3d9bff); }
.np-foot { padding: 5px 10px; font-size: 11px; }
.np button { margin-top: 6px; font: inherit; }

/* before: flat, modern, rounded */
.demo.modern { background: #fff; color: #222; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; border-radius: 10px; border-color: #ccc; }
.modern .np-head { border-bottom: 1px solid #e6e6e6; }
.modern .np-logo { color: #d90429; letter-spacing: .5px; }
.modern .np-nav a, .modern a { color: #222; text-decoration: none; font-weight: 600; }
.modern .np-search input { border: 1px solid #ccc; border-radius: 16px; }
.modern button { background: #d90429; color: #fff; border: 0; border-radius: 16px; padding: 5px 12px; }
.modern .np-img { border-radius: 8px; }
.modern .np-side { background: #f6f6f6; border-radius: 8px; padding: 4px 8px 8px; }
.modern th, .modern td { text-align: left; padding: 2px 4px; border-bottom: 1px solid #e6e6e6; }
.modern .np-foot { color: #888; }

/* after: four hand-made skins (the real extension's CSS is in extension/themes.css) */
.t-homepage98 {
  background: #000033 radial-gradient(#fff 1px, transparent 1.6px) 0 0 / 34px 34px; color: #ff9; font-family: var(--comic); border: 3px ridge #f0f;
}
.t-homepage98 a { color: #0ff; } .t-homepage98 a:visited { color: #f9f; }
.t-homepage98 .np-logo { color: #f6f; text-shadow: 2px 2px #30c; font-size: 22px; }
.t-homepage98 .np-logo::before, .t-homepage98 .np-logo::after { content: "\2605"; color: #ff0; }
.t-homepage98 h3, .t-homepage98 h4 { color: #f6f; text-shadow: 2px 2px #30c; }
.t-homepage98 .np-head { border-bottom: 4px solid; border-image: var(--rainbow) 1; }
.t-homepage98 .np-img { outline: 3px ridge #f0f; }
.t-homepage98 .np-search input { background: #fff; border: 2px inset #ccc; border-radius: 0; }
.t-homepage98 button { background: #c0c0c0; border: 3px outset #fff; border-radius: 0; color: #000; padding: 3px 10px; }
.t-homepage98 .np-foot { background: repeating-linear-gradient(45deg, #fc0 0 10px, #111 10px 20px); color: #ff0; text-align: center; text-shadow: 1px 1px #000; font-weight: bold; }
.t-homepage98 .np-side { border: 2px dotted #f0f; padding: 0 8px 8px; }
.t-homepage98 th { color: #0f0; }

.t-gray98 { background: #c0c0c0; color: #000; font-family: Tahoma, "MS Sans Serif", Arial, "Liberation Sans", sans-serif; border: 2px solid; border-color: #fff #404040 #404040 #fff; }
.t-gray98 a { color: #000080; }
.t-gray98 .np-head { background: linear-gradient(90deg, #000080, #1084d0); color: #fff; }
.t-gray98 .np-head a { color: #fff; }
.t-gray98 h3, .t-gray98 h4 { background: #000080; color: #fff; padding: 2px 5px; margin-right: 0; }
.t-gray98 .np-img { border: 2px inset #808080; }
.t-gray98 .np-search input { background: #fff; border: 2px inset #808080; border-radius: 0; }
.t-gray98 button { background: #c0c0c0; border: 2px outset #fff; border-radius: 0; color: #000; padding: 3px 10px; }
.t-gray98 .np-side { border: 2px outset #fff; padding: 0 6px 8px; }
.t-gray98 th, .t-gray98 td { text-align: left; padding: 1px 5px; }
.t-gray98 .np-foot { border-top: 2px groove #fff; background: #c0c0c0; }

.t-news97 { background: #fff; color: #000; font-family: var(--serif); border: 1px solid #000; }
.t-news97 a { color: #0000cc; text-decoration: underline; }
.t-news97 .np-head { background: #003399; color: #fff; border-bottom: 4px solid #fc0; }
.t-news97 .np-head a { color: #cff; }
.t-news97 h3 { border-top: 5px solid #c00; border-bottom: 1px solid #000; padding: 2px 0; }
.t-news97 h4 { background: #fc0; border-left: 8px solid #c00; padding: 0 6px; }
.t-news97 .np-img { border: 1px solid #000; }
.t-news97 .np-search input { border: 1px solid #000; border-radius: 0; }
.t-news97 button { background: #ddd; border: 2px outset #fff; border-radius: 0; color: #000; padding: 3px 10px; }
.t-news97 table, .t-news97 th, .t-news97 td { border: 1px solid #aaa; text-align: left; padding: 1px 4px; }
.t-news97 .np-foot { border-top: 2px solid #c00; background: #eee; }

.t-friend05 { background: #fff; color: #000; font-family: Verdana, Geneva, Tahoma, "DejaVu Sans", sans-serif; border: 1px solid #6698cb; }
.t-friend05 a { color: #003399; }
.t-friend05 .np-head { background: #6698cb; color: #fff; border-bottom: 3px solid #036; }
.t-friend05 .np-head a { color: #fff; }
.t-friend05 .np-logo { text-transform: lowercase; }
.t-friend05 h3 { background: #6698cb; color: #fff; padding: 2px 6px; border: 1px solid #036; }
.t-friend05 h4 { background: #b1d0f0; color: #036; padding: 1px 6px; }
.t-friend05 .np-img { outline: 2px solid #b1d0f0; }
.t-friend05 .np-search input { border: 1px solid #6698cb; }
.t-friend05 button { background: #b1d0f0; border: 1px solid #6698cb; border-radius: 3px; color: #036; font-weight: bold; padding: 3px 10px; }
.t-friend05 .np-side { border: 1px solid #b1d0f0; padding: 0 6px 8px; }
.t-friend05 .np-foot { background: #b1d0f0; color: #036; }

/* ---- install ---- */
.detected { font: 15px var(--comic); color: var(--navy); }
.primary:empty { display: none; }
.primary { margin: 10px 0 16px; padding: 12px 16px; background: #ffffcc; border: 3px double var(--navy); }
.primary .path { border: 0; padding: 0; margin: 0; background: none; }
.primary .pick { display: inline-block; margin-bottom: 6px; padding: 1px 8px; font: bold 13px var(--comic); color: #fff; background: #c00; }
details#others { margin: 12px 0; border: 2px solid #808080; background: #f4f4e4; }
details#others > summary { padding: 8px 12px; font-size: 18px; font-weight: bold; color: var(--navy); cursor: pointer; background: #dcdcc8; }
.path { margin: 0; padding: 12px 16px; border-top: 1px dashed #999; }
.path ol, .path ul { margin: 6px 0; padding-left: 24px; }
.path li { margin: 5px 0; }
.honest { padding: 5px 8px; background: #fff; border-left: 5px solid #c00; }
.codebox { width: 100%; font: 12px "Courier New", monospace; }
.downloads { font: 16px var(--comic); }
.msg { min-height: 1.4em; margin: 4px 0 0; font: bold 15px var(--comic); color: #c00; }

/* ---- how / share / support ---- */
#how li { margin: 8px 0; }
.share { display: inline-block; padding: 6px 12px; font: bold 15px var(--comic); color: #000; text-decoration: none; background: #c0c0c0; border: 3px outset #fff; }
.share:hover { color: #000; background: #d8d8d8; }
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .shop { grid-template-columns: 1fr; } }
.shop .box { padding: 10px 14px; background: #fff; border: 3px ridge #c0c0c0; }
.price { margin: 0; font: bold 34px var(--comic); color: #c00; }
.price small { font-size: 14px; color: #000; }
.pay { background: #ffe14d; }
.adwrap { margin-top: 18px; text-align: center; }
.adlabel { margin: 0 0 2px; font: 11px Arial, sans-serif; color: #666; letter-spacing: 1px; }
.adslot {
  display: flex; align-items: center; justify-content: center; width: 728px; max-width: 100%; height: 90px; margin: 0 auto;
  border: 2px dashed #888; background: repeating-linear-gradient(45deg, #f2f2e0 0 10px, #ebebd5 10px 20px);
  font: bold 14px/1.3 var(--comic); color: #555; text-align: center;
}
.adslot small { font: 12px Arial, sans-serif; }
@media (max-width: 760px) { .adslot { width: 300px; height: 250px; padding: 10px; } }

/* ---- footer ---- */
.foot { text-align: center; }
.construction { margin: 0 0 10px; padding: 6px; font: bold 15px var(--comic); background: repeating-linear-gradient(45deg, #fc0 0 14px, #111 14px 28px); color: #ff0; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; }
.counter { display: inline-block; padding: 0 8px; font: bold 22px "Courier New", monospace; letter-spacing: 4px; color: #0f0; background: #000; border: 2px inset #888; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.b88 { display: inline-block; width: 88px; min-height: 31px; padding: 2px 3px; font: bold 10px/1.1 Arial, sans-serif; text-align: center; color: #fff; background: #000080; border: 2px outset #8888ff; }
.b88.b2 { background: #006400; border-color: #66cc66; }
.b88.b3 { background: #800000; border-color: #e07070; }

@media (max-width: 600px) {
  body { font-size: 16px; padding: 6px 4px 30px; }
  .page { padding: 10px 10px 16px; border-width: 3px; }
  .logo { font-size: 64px; } .logo .new { right: -48px; font-size: 12px; }
  .tagline { font-size: 20px; }
  h2 { font-size: 24px; }
  .gif-btn { min-width: 130px; font-size: 24px; }
}

/* ---- hero, steps, faq (v2) ---- */
.hook { margin: 4px auto 14px; max-width: 34em; font-size: 20px; }
.mega {
  display: inline-block; width: 100%; max-width: 560px; padding: 18px 20px; text-align: center; text-decoration: none;
  font: bold 34px/1.1 var(--comic); color: #fff; background: linear-gradient(#ff4fd8, #c000a0 60%, #8a0078);
  border: 5px outset #ff9aea; text-shadow: 2px 2px 0 #000; box-shadow: 4px 4px 0 rgba(0,0,0,.5);
}
.mega small { display: block; margin-top: 6px; font: 15px var(--comic); color: #ffff66; text-shadow: none; }
.mega:hover { color: #ffff66; background: linear-gradient(#ff7be4, #d800b8 60%, #a00090); }
.mega:active { border-style: inset; }
.gifwrap { margin: 14px auto 0; max-width: 480px; }
.gifwrap img { display: block; width: 100%; height: auto; border: 3px ridge #c0c0c0; background: #000; }
.gifwrap figcaption { margin-top: 4px; font: 14px var(--comic); color: #333; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 10px 0 0; padding: 0; list-style: none; }
.steps li { padding: 10px; background: #fff; border: 3px ridge #c0c0c0; text-align: center; }
.steps svg { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto 6px; }
.steps h3 { margin: 4px 0; }
.steps p { margin: 0; font-size: 16px; }
.n { display: inline-block; width: 1.5em; height: 1.5em; line-height: 1.5em; margin-right: 4px; border-radius: 50%; background: var(--navy); color: #ff0; text-align: center; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } .steps li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; text-align: left; } .steps svg { grid-row: span 2; } }
.morebox, #faq details { margin: 8px 0; border: 2px solid #808080; background: #f4f4e4; }
.morebox > summary, #faq summary { padding: 8px 12px; font-weight: bold; color: var(--navy); cursor: pointer; background: #dcdcc8; }
#faq details p { margin: 0; padding: 8px 12px; }
.pics { list-style: none; padding-left: 0 !important; }
.pics li { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; font-size: 24px; background: #fff; border: 2px solid #888; }
.flash { animation: flash 1s 3; }
@keyframes flash { 50% { background: #ffff99; } }
.pagehead { text-align: center; }
.pagehead .logo { font-size: 56px; text-decoration: none; }
.sub-page h1 { margin: 6px 0; font: bold 34px/1.15 var(--comic); color: var(--navy); text-shadow: 2px 2px 0 #fc0; }
.sub-page .cta { text-align: center; margin: 18px 0; }
@media (max-width: 600px) { .mega { font-size: 26px; padding: 14px 10px; } .hook { font-size: 18px; } .sub-page h1 { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } .ticker span { padding-right: 0; } }

/* ---- compact layout (v3): folds, tighter spacing, phone-first sizing ---- */
.fold { margin: 0; }
.fold > summary { cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary h2 { display: inline; }
.fold > summary h2 small { font-size: 15px; color: var(--mag); text-shadow: none; }
.fold > summary::after { content: " [+]"; font: bold 16px var(--comic); color: var(--mag); }
.fold[open] > summary::after { content: " [-]"; }
.rainbow { margin: 16px 0; }
.gifwrap { max-width: 420px; }
#faq details { margin: 5px 0; }
#install h2 { margin-bottom: 2px; }
.downloads { margin: 6px 0 0; font-size: 15px; }
.logo .new { right: -44px; }

@media (max-width: 600px) {
  body { padding: 4px 3px 16px; }
  .page { padding: 8px 9px 12px; box-shadow: 3px 3px 0 rgba(0, 0, 0, .45); }
  .tiny { font-size: 12px; }
  .logo { font-size: 50px; letter-spacing: -2px; text-shadow: 2px 2px 0 #000; }
  .logo .new { top: -6px; right: -34px; font-size: 10px; padding: 0 3px; }
  .tagline { margin: 0 0 6px; font-size: 17px; }
  .ticker { font-size: 12px; line-height: 18px; }
  .topnav { margin-top: 6px; padding: 2px; font-size: 14px; }
  .topnav a { padding: 0 3px; }
  .rainbow { margin: 10px 0; height: 4px; }
  h2 { font-size: 21px; margin-bottom: 4px; }
  h3 { font-size: 17px; }
  .lede { font-size: 16px; }
  .hook { margin: 6px auto 10px; font-size: 16px; line-height: 1.35; }
  .mega { font-size: 22px; padding: 12px 8px; border-width: 4px; }
  .mega small { font-size: 13px; margin-top: 4px; }
  .lede p { margin: 6px 0; }
  .gifwrap { max-width: 270px; margin-top: 8px; }
  .gifwrap figcaption { display: none; }
  .primary { margin: 6px 0 8px; padding: 8px 10px; }
  .primary h3 { font-size: 16px; }
  .pics li { margin: 6px 0; gap: 8px; font-size: 15px; line-height: 1.35; }
  .ico { width: 32px; height: 32px; font-size: 18px; }
  .ico svg { width: 20px; height: 20px; }
  .path { padding: 8px 10px; }
  details#others > summary, .morebox > summary, #faq summary { padding: 6px 10px; font-size: 15px; }
  #faq details p { padding: 6px 10px; font-size: 15px; }
  .steps { gap: 6px; margin-top: 4px; }
  .steps li { grid-template-columns: 64px 1fr; gap: 2px 8px; padding: 6px; }
  .steps svg { max-width: 64px; margin: 0; }
  .steps h3 { margin: 0; font-size: 16px; }
  .steps p { font-size: 14px; line-height: 1.3; }
  .n { width: 1.4em; height: 1.4em; line-height: 1.4em; }
  .fold > summary h2 small { display: block; font-size: 13px; }
  #how li { margin: 5px 0; font-size: 15px; }
  #how ul { padding-left: 18px; }
  #share p { margin: 6px 0; font-size: 15px; }
  #share .btnrow { gap: 6px; margin: 6px 0; }
  .share { padding: 4px 8px; font-size: 13px; }
  #support > p { margin: 4px 0 8px; font-size: 15px; }
  .shop { gap: 8px; }
  .shop .box { padding: 6px 10px; }
  .shop .box p { margin: 4px 0; font-size: 15px; }
  .price { font-size: 24px; }
  .adwrap { margin-top: 10px; }
  .adslot { width: 320px; height: 100px; padding: 6px; font-size: 12px; }
  .foot p { margin: 6px 0; }
  .construction { font-size: 13px; padding: 4px; }
  .counter { font-size: 17px; letter-spacing: 3px; }
  .b88 { width: 76px; font-size: 9px; }
  .demos { gap: 8px; }
}
.pics li .txt { flex: 1; min-width: 0; }
@media (max-width: 600px) {
  .m-hide, #cta-sub { display: none; }
  .gifwrap { max-width: 230px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { display: block; text-align: center; padding: 4px; }
  .steps svg { max-width: 100%; margin: 0 auto 2px; }
  .steps h3 { font-size: 13px; line-height: 1.2; }
  .steps p { display: none; }
  #steps h2 { font-size: 18px; }
  #faq details { margin: 3px 0; }
  details#others > summary, .morebox > summary, #faq summary { padding: 4px 8px; font-size: 14px; }
  .morebox, details#others { margin: 6px 0; }
  .shop .box h3 { font-size: 16px; margin: 0; }
  .shop .box .price { display: inline; font-size: 18px; }
  .shop .box p.price + p { margin-top: 2px; }
  .badges { gap: 4px; }
  .foot .small { font-size: 12px; }
  .hook { font-size: 15px; }
}
@media (max-width: 600px) {
  .fold > summary h2 small { display: inline; font-size: 12px; }
  .steps svg { max-width: 84px; }
  .shop { grid-template-columns: 1fr 1fr; }
  .shop .box { display: flex; flex-direction: column; }
  .shop .box p:last-child { margin-top: auto; }
  .shop .dl { font-size: 13px; padding: 4px 6px; }
  .shop .box p { font-size: 14px; line-height: 1.3; }
  #support > p { display: none; }
}
.party { margin: 8px 0 0; font: bold 16px var(--comic); color: var(--navy); }
.party .counter { font-size: 18px; margin-right: 4px; }
@media (max-width: 600px) { .logo .new { top: 6px; right: -30px; } }

/* ---- iPhone install block (v4): 4 one-line steps that fit in the top ~330px ---- */
.ios-block { padding: 6px 8px 8px; background: #fff; border: 3px double var(--navy); }
.ios-h { margin: 0 0 4px; font: bold 17px/1.2 var(--comic); color: var(--mag); }
.ios-steps { list-style: none; margin: 0; padding: 0 !important; }
.ios-steps li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 5px 0; border-top: 1px dashed #bbb;
  font: 16px/1.25 var(--comic); color: #000; white-space: nowrap; }
.ios-steps li:first-child { border-top: 0; }
.ios-steps li > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.sn { flex: none; display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%;
  background: var(--navy); color: #ff0; font: bold 14px var(--comic); }
.k { font-weight: 900; letter-spacing: 1px; }
.ios-copy { flex: 1; padding: 9px 8px !important; font-size: 19px !important; color: #000; background: #ffe14d !important;
  border: 4px outset #fff3a8 !important; }
.ios-copy.copied { background: #2c2 !important; color: #fff !important; border-color: #8f8 !important; text-shadow: 1px 1px 0 #060; }
.ios-note { margin: 6px 0 0; font: 14px/1.35 var(--comic); color: #222; }
.ios-note.small { font-size: 13px; color: #444; }
.primary .ios { padding: 0; }
@media (max-width: 360px) { .ios-steps li { font-size: 14px; gap: 6px; } }
html.is-ios .gifwrap { display: none; }
.iphone-page .page { padding-top: 8px; }
.iphone-page .path { padding: 0; border: 0; }


/* ---- try-any-site box ---- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.try { margin: 12px auto 14px; max-width: 36em; padding: 10px 12px 12px; text-align: center; background: #fff8c8; border: 4px ridge #c0c0c0; }
.try-h { margin: 0 0 8px; font: bold 20px/1.2 var(--comic); color: var(--navy); }
.try-new { display: inline-block; margin-left: 4px; padding: 0 5px; font: bold 11px var(--comic); color: #ff0; background: #c00; vertical-align: 4px; transform: rotate(-6deg); }
.try-form { display: flex; gap: 6px; align-items: stretch; }
.try-form input { flex: 1; min-width: 0; padding: 8px 10px; font: 16px var(--serif); color: #000; background: #fff; border: 2px inset #808080; }
.try-form button { flex: none; padding: 8px 14px; font: bold 16px var(--comic); color: #000; background: #ffe14d; border: 3px outset #fff3a8; cursor: pointer; }
.try-form button:active { border-style: inset; }
.try-ex, .try-note, .try-err { margin: 6px 0 0; font: 14px/1.35 var(--comic); color: #222; }
.try-note { color: #444; }
.try-err { color: #a00; font-weight: bold; }
.try-lg { max-width: none; margin: 0 0 12px; padding: 14px 12px 16px; border-width: 5px; background: #fff4a0; }
.try-lg .try-h { font-size: 24px; }
.try-lg .try-form input { padding: 12px 12px; font-size: 17px; }
.try-lg .try-form button { padding: 12px 18px; font-size: 20px; }
.path .try-lg { text-align: center; }
html.is-ios #cta, html.is-ios #cta-sub { display: none; }
html.is-ios #install > h2 { display: none; }


/* ---- iPhone shortcut steps (may wrap) + bookmark fallback ---- */
.ios-steps.wrap li { white-space: normal; align-items: flex-start; }
.shortcut-block { padding: 6px 8px 8px; background: #fff; border: 3px double var(--navy); }
.shortcut-block .copy-shortcut { width: 100%; margin: 6px 0; }
.icloud-add { margin-left: 6px; }
.icloud-add[hidden] { display: none !important; }
.bm-fallback { margin: 8px 0 0; border: 2px solid #808080; background: #f4f4e4; }
.bm-fallback > summary { padding: 6px 8px; font: bold 14px var(--comic); color: var(--navy); cursor: pointer; background: #dcdcc8; }
.bm-fallback .ios-block { margin-top: 6px; }
.iphone-brand { margin: 0 0 8px; text-align: center; font: bold 28px/1 var(--comic); }
.iphone-brand a { color: var(--navy); text-decoration: none; text-shadow: 1px 1px 0 var(--gold); }
.iphone-page .try { margin-top: 6px; }

/* ---- /view/ preview chrome (fills the phone screen, no page scroll) ---- */
html:has(body.view-page), body.view-page { height: 100%; }
body.view-page { margin: 0; padding: 0; display: flex; flex-direction: column; background: var(--teal); }
.view-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: var(--navy); color: #ff0; border-bottom: 3px ridge #f0f; }
.view-logo { flex: none; font: bold 20px var(--comic); color: #ff0; text-decoration: none; text-shadow: 2px 2px 0 #000; }
.view-logo:hover { color: #ff0; background: transparent; }
.view-form { flex: 1; min-width: 0; display: flex; gap: 4px; }
.view-form input { flex: 1; min-width: 0; padding: 6px 8px; font: 16px var(--serif); border: 2px inset #808080; }
.view-form button { flex: none; padding: 6px 10px; font: bold 14px var(--comic); color: #000; background: #ffe14d; border: 3px outset #fff3a8; cursor: pointer; }
.view-home { flex: none; font: 13px var(--comic); color: #0ff; }
.view-home:hover { color: #ff0; background: transparent; }
.view-note { margin: 0; padding: 4px 8px; font: 12px/1.3 var(--comic); color: #ff0; background: #400040; }
.view-msg { margin: 12px; padding: 10px; font: 16px var(--comic); color: #000; background: #ffffcc; border: 3px ridge #c0c0c0; }
#view-frame { flex: 1; width: 100%; border: 0; background: #003; min-height: 0; }

@media (max-width: 600px) {
  .try { margin: 8px 0 10px; padding: 8px 8px 10px; }
  .try-h { font-size: 17px; }
  .try-lg .try-h { font-size: 20px; }
  .try-form { flex-direction: column; }
  .try-form button { padding: 10px 12px; font-size: 18px; }
  .try-lg .try-form button { padding: 12px; font-size: 20px; }
  body.view-page .try-form, .view-form { flex-direction: row; }
  .try-ex, .try-note { font-size: 13px; }
  .topnav { font-size: 13px; }
  .shortcut-block { padding: 6px; }
  .ios-steps.wrap li { font-size: 14px; line-height: 1.3; padding: 4px 0; }
  .iphone-brand { font-size: 24px; }
  .view-bar { flex-wrap: nowrap; gap: 6px; padding: 4px 6px; }
  .view-logo { font-size: 16px; }
  .view-form { flex: 1 1 auto; min-width: 0; }
  .view-form button { padding: 6px 8px; font-size: 14px; }
  .view-home { display: none; }
  .view-note { font-size: 11px; padding: 3px 6px; }
}
