:root {
  color-scheme: light;
  --ink: #20211e; --muted: #696a62; --blue: #b74b09; --blue-dark: #843800; --accent: #ff8a3d;
  --sky: #fff0e2; --line: #dedfd5; --surface: #fffef9; --background: #f5f5ed;
  --success: #087a55; --danger: #b62e35; --shadow: 0 20px 60px rgba(32,33,30,.1);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--background); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245,245,237,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.04em; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-weight: 650; font-size: .9rem; padding: 8px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links .nav-download { padding: 11px 20px; background: var(--ink); color: #fffef9; border-radius: 999px; }
.nav-links .nav-download[aria-current="page"] { color: #fffef9; box-shadow: inset 0 0 0 2px var(--accent); }
.nav-download span { margin-left: 14px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--ink); font-size: 1.3rem; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.065em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 5.7vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: 1.3rem; }
.eyebrow { color: var(--blue); font-size: .82rem; letter-spacing: -.02em; font-weight: 750; margin-bottom: 18px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--blue); }
.hero { padding: 72px 0 66px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 45px; }
.hero h1 { font-size: clamp(3.5rem, 6.7vw, 6.15rem); line-height: 1.12; }
.hero h1 span { color: var(--blue); }
.hero-copy { margin: 25px 0 30px; color: var(--muted); font-size: 1.05rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.ui-action-icon { width: 22px; height: 22px; object-fit: contain; pointer-events: none; }
.nav-toggle { min-width: 44px; min-height: 44px; }
.button-danger .ui-action-icon { filter: brightness(0) invert(1); }
.icon-only:not(.nav-toggle) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; flex-shrink: 0; }
.language-picker { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.language-picker img { width: 20px; height: 20px; }
.language-picker select { max-width: 140px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); padding: 6px; font: inherit; font-size: .85rem; }
.support-top > .language-picker { margin: 12px 0; }
.home-icon-link { display: inline-flex; align-items: center; justify-content: center; width:44px; height:44px; margin-bottom:10px; }
html:not([lang="ko"]) h1, html:not([lang="ko"]) h2, html:not([lang="ko"]) h3 { letter-spacing: -.025em; overflow-wrap: anywhere; }
html:not([lang="ko"]) .hero h1 { font-size: clamp(2.5rem, 4.7vw, 4.7rem); }
@media (min-width: 761px) { .nav-links { gap: 16px; flex-wrap: wrap; justify-content: flex-end; } }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 23px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 750; font-size: .94rem; transition: transform .2s, background .2s; }
.button img { width: 21px; height: 21px; object-fit: contain; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover, .button-dark:hover { background: #ffa160; transform: translateY(-2px); }
.button-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.button-secondary:hover { background: #ebece3; }
.button-dark { color: var(--ink); background: var(--accent); }
.text-link { text-decoration: none; font-size: .86rem; font-weight: 650; }
.text-link span { margin-left: 6px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; font-size: .78rem; color: var(--muted); }
.hero-points span + span::before { content: "·"; margin-right: 14px; }
.app-showcase { min-height: 555px; position: relative; display: grid; place-items: center; border-radius: 36px; background: #e9ebdf; }
.showcase-orbit { position: absolute; width: 420px; height: 420px; border: 1px solid #cdd0bd; border-radius: 50%; }
.showcase-orbit::after { content: ""; position: absolute; inset: 48px; border: 1px solid #cdd0bd; border-radius: 50%; }
.phone { z-index: 1; width: 280px; padding: 14px; border: 5px solid #262722; border-radius: 34px; background: #fffef9; box-shadow: 18px 24px 0 rgba(40,45,29,.08); transform: rotate(-7deg); }
.phone-status { display: flex; justify-content: space-between; padding: 0 10px 10px; font-size: .62rem; font-weight: 750; }
.phone-brand { display: flex; align-items: center; gap: 10px; padding: 10px 6px; }
.phone-brand img { width: 38px; height: 38px; }
.phone-brand strong { font-size: 1.1rem; line-height: 1.1; letter-spacing: -.05em; }
.phone-brand strong span { display: block; font-size: .5rem; letter-spacing: .18em; margin-top: 4px; }
.phone-search { padding: 8px 12px; border-radius: 999px; margin: 6px 0 14px; background: #efefe6; font-size: .69rem; color: #6b6b62; }
.phone-search span { font-size: 1rem; margin-right: 8px; }
.phone-visual { position: relative; height: 145px; background: #f5b785; border-radius: 15px; overflow: hidden; }
.visual-sun { position: absolute; width: 57px; height: 57px; border-radius: 50%; background: #ffe5af; top: 20px; right: 28px; }
.visual-hill { position: absolute; width: 290px; height: 165px; border-radius: 50% 50% 0 0; }
.hill-back { background: #a5ac83; left: -75px; top: 67px; transform: rotate(22deg); }
.hill-front { background: #404b34; left: 50px; top: 82px; transform: rotate(-20deg); }
.visual-play { position: absolute; top: 49px; left: calc(50% - 22px); width: 44px; height: 44px; display: grid; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: white; background: rgba(255,255,255,.14); backdrop-filter: blur(5px); }
.visual-time { position: absolute; bottom: 10px; right: 12px; color: white; font-size: .6rem; }
.phone-caption { padding: 17px 5px 20px; }
.phone-caption small { display: block; font-size: .58rem; color: var(--muted); margin-bottom: 8px; }
.phone-caption strong { font-size: 1.65rem; line-height: 1.2; letter-spacing: -.07em; }
.phone-menu { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding: 12px 0 3px; }
.phone-menu > span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .54rem; color: #62635a; }
.phone-menu img, .mini-play { width: 19px; height: 19px; object-fit: contain; }
.mini-play { display: grid; place-items: center; color: var(--blue); }
.floating-tag { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 14px 19px; border: 1px solid #dfdfd2; border-radius: 16px; background: var(--surface); font-weight: 750; font-size: .88rem; box-shadow: 0 8px 24px rgba(40,45,29,.06); }
.tag-top { right: 16px; top: 78px; transform: rotate(7deg); }
.tag-top > span { font-size: 1.4rem; color: var(--blue); }
.tag-bottom { bottom: 82px; left: 12px; background: #ffad74; border-color: transparent; transform: rotate(5deg); }
.tag-bottom img { width: 23px; height: 23px; filter: brightness(0); }
.feature-strip { background: var(--ink); color: #f4f4e9; padding: 19px 0; overflow: hidden; }
.feature-strip .shell { display: flex; justify-content: space-between; align-items: center; gap: 28px; font-size: .73rem; letter-spacing: .12em; white-space: nowrap; }
.feature-strip span:nth-child(even) { color: var(--accent); font-size: 1.2rem; }
.section { padding: 88px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-heading p { color: var(--muted); font-size: .95rem; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 25px; background: var(--surface); }
.card p { margin: 18px 0 0; color: var(--muted); font-size: .95rem; }
.card-kicker { display: inline-block; margin-bottom: 20px; color: var(--blue); font-size: .75rem; font-weight: 750; }
.feature-card { min-height: 350px; display: flex; flex-direction: column; transition: transform .2s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card.featured { background: var(--accent); border-color: transparent; }
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 38px; }
.feature-icon { width: 40px; height: 40px; display: grid; place-items: center; }
.feature-icon img { width: 32px; height: 32px; object-fit: contain; filter: brightness(0); }
.feature-number { color: #73746a; font-size: .75rem; }
.featured .feature-number, .featured p { color: #51331e; }
.feature-card h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.3; }
.play-symbol { font-size: 1.6rem; }
.feature-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 36px; font-size: .7rem; }
.feature-foot > span { font-size: 1.5rem; }
.support-section { padding-top: 0; }
.support-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; padding: 48px; border-radius: 28px; color: #f5f5ed; background: var(--ink); }
.support-banner .eyebrow { color: #ffb17d; }
.support-banner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.support-banner p { margin: 18px 0 0; color: #bfc1b6; font-size: .94rem; }
.support-banner-icon { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid #55584c; border-radius: 50%; }
.support-banner-icon img { width: 36px; filter: brightness(0) invert(1); }
.support-banner-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.page-hero { padding: 68px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 700px; color: var(--muted); font-size: 1.05rem; margin: 22px 0 0; }
.page-hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.page-hero-logo { width: clamp(110px, 16vw, 175px); transform: rotate(-10deg); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.store-card { display: flex; flex-direction: column; min-height: 345px; padding: 36px; }
.store-card .button { margin-top: auto; align-self: flex-start; }
.store-card-head { display: flex; align-items: center; gap: 18px; }
.store-card-head .card-kicker { margin-bottom: 4px; }
.store-card h2 { font-size: 2rem; }
.store-emblem { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 16px; color: #fff; background: #e63b13; font-size: .8rem; font-weight: 850; }
.store-emblem.uptodown { background: #18794e; }
.store-points { margin: 18px 0 28px; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.store-points li { position: relative; padding: 5px 0 5px 22px; }
.store-points li::before { content: "↗"; position: absolute; left: 0; color: var(--blue); }
.compact-section { padding-top: 0; }
.download-notice { display: flex; align-items: center; gap: 14px; }
.download-notice img { width: 26px; height: 26px; flex: 0 0 auto; filter: brightness(0); }
.notice { padding: 20px 24px; border-radius: 18px; background: #e9ebdf; color: #4e5541; font-size: .9rem; }
.content-list { display: grid; gap: 14px; max-width: 900px; }
details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 0 24px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 700; padding: 23px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.35rem; font-weight: 400; color: var(--blue); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 0 0 24px; max-width: 750px; font-size: .95rem; }
.tip-card { min-height: 320px; }
.tip-card .feature-icon { margin-bottom: 24px; }
.article { max-width: 800px; }
.article h2 { font-size: 1.45rem; margin: 38px 0 12px; }
.article p, .article li { color: #55584e; }
.page-hero .article h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { padding: 32px 0; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.muted { color: var(--muted); }
/* Support board */
.support-page { min-height: 100vh; background: var(--background); }
.support-shell { width: min(880px, 100%); margin: 0 auto; padding: 18px; }
.support-top { position: relative; padding: 16px 0 12px; }
.support-top-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.support-top h1 { font-size: 1.65rem; }
.support-heading { min-width: 0; }
.support-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.support-faq-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .8rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.support-faq-link:hover { background: #e9ebdf; }
.support-faq-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.support-identity { color: var(--muted); font-size: .86rem; }
.tabs { display: flex; gap: 8px; overflow-x: auto; margin-top: 16px; padding-bottom: 4px; }
.tab { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); color: #53554d; border-radius: 999px; padding: 9px 15px; font-weight: 720; }
.tab.active { color: #fff; border-color: var(--blue); background: var(--blue); }
.support-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 8px 0 96px; }
.skeleton-line { border-radius: 8px; background: linear-gradient(100deg, #e8eaf0 20%, #f5f6f9 45%, #e8eaf0 70%); background-size: 220% 100%; animation: support-shimmer 1.6s ease-in-out infinite; }
.skeleton-meta { width: 44%; height: 14px; }
.skeleton-title { width: 72%; height: 22px; margin: 16px 0 12px; }
.skeleton-body { width: 90%; height: 14px; }
.skeleton-tabs { width: min(390px, 100%); height: 40px; margin-top: 20px; border-radius: 24px; }
.support-header-skeleton { display: none; margin-top: 12px; }
.is-bootstrapping .support-header-skeleton { display: block; }
.is-bootstrapping .support-identity, .is-bootstrapping .tabs,
.is-bootstrapping .support-top > .attachment-notice, .is-bootstrapping #pushButton,
.is-bootstrapping .fab { display: none; }
.is-bootstrapping #refreshButton { visibility: hidden; }
.is-bootstrapping #welcomeButton { visibility: hidden; }
.support-header-actions { display: flex; flex: none; align-items: center; gap: 8px; }
.apk-download { margin: 8px 0; white-space: normal; text-decoration: none; }
.apk-download[data-busy] { opacity: .65; cursor: wait; }
#welcomeModal { align-items: center; padding: 16px; }
#welcomeModal .sheet { max-width: 560px; display: flex; flex-direction: column; overflow: hidden; padding: 0; border-radius: 24px; }
#welcomeModal .sheet-head { flex: none; margin: 0; padding: 22px; border-bottom: 1px solid var(--line); }
#welcomeModal .sheet-body { display: grid; gap: 18px; }
.welcome-points { display: grid; gap: 14px; margin: 0; padding-left: 22px; line-height: 1.65; }
.welcome-caution { padding: 14px 16px; border-radius: 14px; background: var(--background); line-height: 1.65; }
.welcome-footer { flex: none; display: grid; gap: 12px; padding: 18px 22px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); text-align: center; }
.welcome-footer a { color: var(--muted); font-size: .85rem; text-decoration: underline; }
@keyframes support-shimmer { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton-line { animation: none; } }
.post-card { min-width: 0; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); padding: 19px; color: inherit; box-shadow: 0 5px 16px rgba(18,43,79,.04); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; }
.pill { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: var(--sky); color: var(--blue-dark); font-weight: 750; }
.post-card h2 { overflow-wrap: anywhere; font-size: 1.08rem; margin: 9px 0 5px; }
.post-card p { margin: 0; color: var(--muted); font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fab { position: fixed; right: max(20px, calc((100vw - 880px) / 2 + 20px)); bottom: 24px; z-index: 12; border: 0; border-radius: 16px; padding: 14px 19px; background: var(--blue); color: #fff; font-weight: 780; box-shadow: 0 12px 28px rgba(32,33,30,.14); }
.empty { padding: 54px 20px; text-align: center; color: var(--muted); border: 1px dashed #cbcebf; border-radius: 18px; }
.support-fallback p { margin: 0 0 18px; }
.app-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 70% 20%, rgba(255,153,0,.22), transparent 30%), #101114; }
.gate-card { max-width: 510px; padding: 36px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.gate-logo { display: block; width: 72px; height: 72px; object-fit: contain; margin: 0 auto 18px; filter: drop-shadow(0 8px 12px rgba(237,135,0,.2)); }
.gate-card h1 { font-size: 2rem; }
.gate-card p { color: var(--muted); }
.modal { position: fixed; inset: 0; z-index: 30; display: grid; align-items: end; background: rgba(6,17,38,.5); }
.modal[hidden] { display: none; }
.modal { overscroll-behavior: contain; }
body.modal-open { position: fixed; top: var(--modal-scroll-top); width: 100%; overflow: hidden; }
.sheet, .sheet-body, .report-body { overscroll-behavior: contain; }
.sheet { width: min(720px, 100%); max-height: 92vh; margin: 0 auto; overflow-y: auto; padding: 22px; border-radius: 24px 24px 0 0; background: var(--surface); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sheet-head h2 { font-size: 1.35rem; }
#detailModal .sheet, #adminDetailModal .sheet { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
#detailModal .sheet-head, #adminDetailModal .sheet-head { flex: none; margin: 0; padding: 20px 22px; border-bottom: 1px solid var(--line); background: var(--surface); }
.sheet-body { min-height: 0; overflow-y: auto; padding: 22px 22px max(22px, env(safe-area-inset-bottom)); }
#editorModal .sheet { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
#editModal .sheet { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
#editModal .sheet-head { flex: none; margin: 0; padding: 20px 22px; border-bottom: 1px solid var(--line); }
#editModal .form-grid { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px; }
#editorModal .sheet-head { flex: none; margin: 0; padding: 20px 22px; border-bottom: 1px solid var(--line); }
#editorModal .form-grid { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 22px max(22px, env(safe-area-inset-bottom)); }
.report-body { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow-y: auto; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 24px 0 90px; }
.pagination[hidden] { display: none; }
.page-next-icon { transform: rotate(180deg); }
.page-label { font-variant-numeric: tabular-nums; color: var(--muted); }
.nickname-feedback { min-height: 2.5em; color: var(--muted); font-size: .9rem; }
.nickname-feedback[data-state="error"] { color: #db5b50; }
.nickname-feedback[data-state="success"] { color: #4eae78; }
.icon-button { border: 0; background: var(--background); border-radius: 10px; padding: 8px 11px; }
.form-grid { display: grid; gap: 14px; }
label { display: grid; gap: 7px; font-weight: 720; font-size: .9rem; }
input, select, textarea { width: 100%; border: 1px solid #cdd0c1; border-radius: 12px; padding: 12px 13px; color: var(--ink); background: var(--surface); }
textarea { min-height: 130px; resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 4px; }
.reply-list { display: grid; gap: 10px; margin: 22px 0; }
.reply { padding: 14px; border-radius: 13px; background: #efefe6; }
.reply p { margin: 7px 0 0; white-space: pre-wrap; }
.reply-actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 12px; font-size: .8rem; }
.reply-actions:empty { display: none; }
.reply-actions .content-action-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); transition: background .15s, border-color .15s; }
.reply-actions .content-action-button:hover { background: #e9ebdf; border-color: #b9beaa; }
.reply-actions .content-action-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.reply-actions .content-action-button.danger { color: var(--danger); border-color: #e8c7c7; background: #fff5f4; }
.reply-actions .content-action-button.danger:hover { background: #ffe5e2; border-color: #d6a0a0; }
.reply-actions .content-action-button .ui-action-icon { width: 22px; height: 22px; }
.reply-actions .content-action-button.danger .ui-action-icon { filter: brightness(0) saturate(100%) invert(24%) sepia(64%) saturate(1920%) hue-rotate(332deg) brightness(92%) contrast(88%); }
.link-button { border: 0; padding: 0; background: none; color: var(--blue); font-weight: 720; }
.danger { color: var(--danger); }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 200; transform: translateX(-50%); max-width: calc(100% - 36px); padding: 11px 16px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.toast.toast-visible { animation: toast-dismiss 3.2s ease forwards; }
.toast[hidden], [hidden] { display: none !important; }

@keyframes toast-dismiss {
  0%, 78% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

/* Support administration */
.admin-page { min-height: 100vh; background: var(--background); }
.admin-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 72px; }
.admin-login-card { width: min(480px, 100%); margin: 8vh auto 0; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.admin-login-card .brand-mark { margin-bottom: 24px; }
.admin-login-card h1, .admin-header h1 { font-size: 2rem; }
.admin-login-card .form-grid { margin-top: 28px; }
.admin-login-card .button { width: 100%; }
.admin-kicker { margin: 0 0 6px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .13em; }
.form-error { margin: 16px 0 0; color: var(--danger); font-weight: 700; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.admin-header-actions { display: flex; gap: 10px; }
.admin-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.admin-summary article { display: flex; flex-direction: column; gap: 2px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.admin-summary strong { font-size: 1.8rem; line-height: 1.2; }
.admin-summary span { color: var(--muted); font-size: .88rem; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.admin-view { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #eeefe4; }
.admin-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.admin-toolbar .tabs { margin-top: 0; }
.admin-search { display: flex; gap: 8px; align-items: center; }
.admin-search label { min-width: 0; flex: 1; }
.admin-facets { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 12px; margin-bottom: 12px; }
.admin-facets label { display: grid; gap: 6px; font-size: .85rem; min-width: 0; }
.admin-facets select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--surface); color: var(--ink); font: inherit; }
.admin-search { width: min(280px, 100%); }
.admin-post-list { padding-bottom: 8px; }
.post-card.deleted { opacity: .7; }
.admin-report-card { display: grid; gap: 12px; padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.admin-report-card .form-actions { margin-top: 0; }
.admin-detail-sheet { max-height: 94vh; }
.admin-post-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-badge { padding: 2px 7px; border-radius: 999px; color: #fff; background: var(--blue); font-size: .72rem; font-weight: 800; }
.confirm-modal { align-items: center; padding: 20px; }
.confirm-sheet { width: min(420px, 100%); border-radius: 22px; }
.confirm-sheet h2 { font-size: 1.35rem; }
.confirm-sheet p { margin: 14px 0 22px; color: var(--muted); }
.button-danger { color: #fff; background: var(--danger); }
.button-danger:hover { background: #98232a; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* Shared warm palette and viewport-safe controls. */
.tab.active { background: var(--ink); border-color: var(--ink); }
.fab { background: var(--accent); color: var(--ink); border-radius: 999px; bottom: max(24px, env(safe-area-inset-bottom)); }
.app-gate { background: var(--background); }
.app-gate[hidden] { display: none; }
.gate-card { border: 1px solid var(--line); box-shadow: none; }
.sheet { max-height: 92dvh; padding-bottom: max(22px, env(safe-area-inset-bottom)); overflow-wrap: anywhere; }
.admin-detail-sheet { max-height: 94dvh; }
.icon-button { border-radius: 999px; background: #e9ebdf; color: var(--ink); }
.reply { min-width: 0; }
.reply p { overflow-wrap: anywhere; }
.form-actions { flex-wrap: wrap; }
input, select, textarea { min-width: 0; }
.admin-badge { background: var(--ink); }
.toast { bottom: max(22px, env(safe-area-inset-bottom)); }
@media (max-width: 1000px) {
  .hero-grid { gap: 30px; }
  .app-showcase { min-height: 515px; }
  .floating-tag { font-size: .75rem; padding: 10px 12px; }
  .tag-top { right: 3px; } .tag-bottom { left: 3px; }
  .support-banner { grid-template-columns: 1fr auto; gap: 24px; }
  .support-banner-icon { display: none; }
  .card { padding: 25px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .nav { min-height: 70px; gap: 12px; } .brand { font-size: .95rem; } .brand-logo { width: 34px; height: 34px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 18px; right: 18px; top: 76px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-links.open { display: flex; } .nav-links .nav-download { text-align: center; }
  .hero { padding: 42px 0 32px; } .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero h1 { font-size: clamp(3.5rem, 14vw, 5rem); } .hero-copy { font-size: .93rem; margin: 22px 0 24px; }
  .actions { gap: 18px; } .hero-points { margin-top: 20px; }
  .app-showcase { min-height: 490px; border-radius: 25px; } .phone { width: 255px; }
  .phone-visual { height: 130px; } .visual-play { top: 44px; }
  .showcase-orbit { width: 310px; height: 310px; max-width: 95%; }
  .tag-top { top: 65px; right: 8px; } .tag-bottom { bottom: 66px; left: 6px; }
  .phone-caption strong { font-size: 1.5rem; }
  .feature-strip { padding: 13px 0; } .feature-strip .shell { gap: 16px; font-size: .6rem; letter-spacing: .08em; }
  .feature-strip span:nth-last-child(-n+2) { display: none; }
  .section { padding: 54px 0; } .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 26px; }
  .grid-3, .download-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature-card { min-height: 315px; } .feature-top { margin-bottom: 25px; } .feature-card h3 { font-size: 1.9rem; }
  .feature-card p br { display: none; }
  .support-section, .compact-section { padding-top: 0; }
  .support-banner { grid-template-columns: minmax(0, 1fr); padding: 30px 26px; }
  .support-banner .button { justify-self: start; } .support-banner p br { display: none; }
  .page-hero { padding: 44px 0 34px; } .page-hero p { font-size: .95rem; }
  .page-hero-grid { gap: 14px; } .page-hero-logo { width: 70px; flex: 0 0 auto; }
  .download-hero h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
  .store-card { min-height: 330px; padding: 27px; } .store-card .button { font-size: .87rem; }
  .tip-card { min-height: 260px; }
  .footer-grid { align-items: flex-start; flex-direction: column; gap: 12px; padding: 25px 0; } .footer-links { gap: 16px; }
  .support-shell { padding: 14px; } .support-top .tab { font-size: .82rem; padding: 8px 12px; }
  .gate-card { padding: 28px 22px; } .gate-card h1 { font-size: 1.75rem; }
  .sheet { padding: 20px 18px max(20px, env(safe-area-inset-bottom)); }
  input, select, textarea { font-size: 16px; }
  .admin-shell { width: calc(100% - 24px); padding-top: 24px; } .admin-login-card { margin-top: 3vh; padding: 25px; }
  .admin-header, .admin-toolbar { align-items: stretch; flex-direction: column; } .admin-header-actions { flex-wrap: wrap; }
  .admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-view { padding: 12px; } .admin-search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .feature-card { transition: none; }
  .button:hover, .feature-card:hover { transform: none; }
}
:root { --support-image-radius: 14px; }
.check-label { display:flex!important; align-items:center; gap:10px; }
.check-label input { width:auto; }
.os-badge { display:inline-flex; width:22px; height:22px; align-items:center; }
.os-badge svg { width:100%; height:100%; }
.attachment-drop { display:grid; gap:8px; padding:18px; border:1px dashed var(--line, #c8cedc); border-radius:var(--support-image-radius); }
.attachment-drop { cursor: pointer; }
.attachment-drop:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.attachment-drop .attachment-caption { display:flex; gap:8px; align-items:center; }
.attachment-drop .attachment-caption > span { font-size: .94rem; color: var(--ink); font-weight: 650; }
.attachment-drop span,.attachment-notice { font-size:12px; color:var(--muted, #70798b); line-height:1.7; }
.attachment-previews,.attachment-gallery { display:flex; gap:10px; flex-wrap:wrap; margin:12px 0; }
.attachment-preview { display:grid; gap:6px; width:110px; font-size:12px; }
.attachment-preview img,.attachment-thumbnail img { width:100%; height:110px; object-fit:cover; border-radius:var(--support-image-radius); }
.attachment-preview .ui-action-icon { width:22px; height:22px; border-radius:0; object-fit:contain; }
.attachment-thumbnail { width:130px; padding:0; background:none; border:0; cursor:zoom-in; }
.attachment-progress { font-size:12px; }
.image-modal { z-index:120; }
.image-modal img { width:100%; max-height:80vh; object-fit:contain; }
.source-details { margin:18px 0; padding:14px; border:1px solid var(--line, #c8cedc); border-radius:14px; font-size:12px; }
.source-details dl { display:grid; grid-template-columns:100px minmax(0,1fr); gap:8px; }
.source-details dd { margin:0; overflow-wrap:anywhere; }
