/* Link in Bio on the web iOS kit (src/ioskit/ios.css): system grey lists, a blue tint, the page previewed in a phone. */
:root { --tint: #007aff; --forest: #007aff; --coral: #007aff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tint: #0a84ff; --forest: #0a84ff; --coral: #0a84ff; } }
:root[data-theme="dark"] { --tint: #0a84ff; --forest: #0a84ff; --coral: #0a84ff; }
.lb-wrap { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); max-width: 1100px; margin: 0 auto; }
@media (min-width: 960px) { .lb-wrap { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; padding: 0 24px; } .lb-side { position: sticky; top: 0; align-self: start; padding-top: 12px; } .lb-wrap .form { padding-left: 0; padding-right: 0; } }
.phone { position: relative; margin: 6px auto 4px; width: min(100%, 340px); height: 560px; border-radius: 44px; padding: 10px; background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 20px 50px rgba(0,0,0,.22); }
@media (max-width: 959px) { .phone { height: 420px; width: min(calc(100% - 32px), 330px); } }
.phone-screen { display: flex; flex-direction: column; width: 100%; height: 100%; border-radius: 36px; overflow: auto; background: #fff; scrollbar-width: none; }
.phone-screen::-webkit-scrollbar { display: none; }
.phone .notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #000; z-index: 2; }
.side-acts { display: flex; gap: 10px; justify-content: center; margin: 12px auto 0; max-width: 340px; flex-wrap: wrap; padding: 0 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--fill2); display: grid; place-items: center; font-weight: 700; color: var(--text2); font-size: 20px; }
.link-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; color: #fff; background: var(--c, #8e8e93); }
.link-ic svg { width: 18px; height: 18px; }
.row.dim .lb-title, .row.dim .lb-sub { opacity: .45; }
.hi-tag { font-size: 11px; font-weight: 700; color: var(--tint); background: color-mix(in srgb, var(--tint) 13%, transparent); padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
.themes { display: flex; gap: 12px; overflow-x: auto; padding: 14px 16px; scrollbar-width: none; }
.themes::-webkit-scrollbar { display: none; }
.th { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; font-size: 12px; color: var(--text2); }
.th-sw { position: relative; width: 56px; height: 76px; border-radius: 14px; box-shadow: 0 0 0 .5px rgba(0,0,0,.12); overflow: hidden; display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.th-sw i { display: block; width: 36px; height: 9px; border-radius: 5px; }
.th[aria-pressed="true"] .th-sw { box-shadow: 0 0 0 3px var(--tint); }
.th[aria-pressed="true"] { color: var(--text); font-weight: 600; }
.th .lock { position: absolute; right: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: 10px; }
.qr-box { display: grid; place-items: center; padding: 18px; }
.qr-box canvas { width: 240px; height: 240px; image-rendering: pixelated; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.url-box { font: 13px/1.45 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text2); overflow-wrap: anywhere; max-height: 5.8em; overflow: hidden; }
.phone-screen > .lbp { flex: 1 0 auto; display: flex; flex-direction: column; }
.phone-screen > .lbp > .lb { flex: 1 0 auto; min-height: 0; }
/* a blank page's welcome */
.starter { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 4px 4px; }
.starter h2 { font: 700 28px/1.12 var(--sys, -apple-system, system-ui); letter-spacing: -0.02em; margin: 0; }
.starter p { color: var(--text2); font-size: 15px; line-height: 20px; margin: 0 0 6px; }
