:root {
  --pumpkin: #ff7a18;
  --pumpkin-dark: #d95508;
  --leaf: #16805b;
  --ink: #18201d;
  --muted: #6c7571;
  --line: #e6e9e7;
  --cream: #fffaf2;
  --mint: #eaf7ef;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 16px 45px rgba(26, 48, 39, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.nav { min-height: 82px; display: grid; grid-template-columns: auto minmax(260px, 560px) auto; gap: 28px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--pumpkin-dark); font-size: 1.35rem; font-weight: 850; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { position: relative; display: grid; place-items: center; width: 31px; height: 27px; color: transparent; border-radius: 45% 45% 48% 48%; background: var(--pumpkin); transform: rotate(-3deg); }
.brand-mark::after { content: ""; position: absolute; top: -7px; left: 16px; width: 11px; height: 7px; border-radius: 90% 10% 90% 10%; background: var(--leaf); transform: rotate(-27deg); }
.brand-mark::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: white; }
.search { height: 50px; display: flex; align-items: center; padding-left: 20px; border: 1px solid #d9dedb; border-radius: 999px; background: #f8faf9; transition: .2s ease; }
.search:focus-within { border-color: var(--pumpkin); box-shadow: 0 0 0 4px rgba(255,122,24,.12); background: white; }
.search input { min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1rem; }
.search input::placeholder { color: #9aa19e; }
.search button { width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; }
.search svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.login-button { justify-self: end; min-width: 92px; height: 44px; border: 1px solid var(--ink); border-radius: 13px; background: white; font-weight: 750; cursor: pointer; }
.login-button:hover { color: white; background: var(--ink); }
.login-button.signed-in { min-width: 0; padding-inline: 16px; color: var(--leaf); border-color: #b8d8ca; background: var(--mint); }

.welcome { margin-top: 38px; min-height: 190px; display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 38px 44px; border-radius: 28px; background: var(--mint); overflow: hidden; position: relative; }
.welcome::after { content: ""; position: absolute; width: 180px; height: 180px; right: 32%; top: -90px; border: 32px solid rgba(255,122,24,.12); border-radius: 50%; }
.welcome > * { position: relative; z-index: 1; }
.eyebrow { display: block; margin-bottom: 12px; color: var(--leaf); font-size: .9rem; font-weight: 800; letter-spacing: .08em; }
.welcome h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.12; letter-spacing: -.055em; }
.welcome p { max-width: 320px; margin: 0 0 5px; color: #476057; font-size: 1rem; line-height: 1.65; }
.market { padding: 58px 0 90px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.035em; }
.section-heading span { color: var(--muted); font-size: .9rem; }
.section-actions { display: flex; align-items: center; gap: 14px; }
.product-create-button { min-height: 44px; padding: 0 17px; border: 0; border-radius: 13px; color: white; background: var(--pumpkin); font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(217, 85, 8, .18); transition: transform .2s ease, background .2s ease; }
.product-create-button:hover { transform: translateY(-2px); background: var(--pumpkin-dark); }
.product-create-button:focus-visible { outline: 4px solid rgba(255, 122, 24, .25); outline-offset: 3px; }
.product-create-button span { margin-right: 3px; color: inherit; font-size: 1.05rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
.product-card { min-width: 0; border-radius: var(--radius); transition: transform .2s ease; }
.product-card:hover { transform: translateY(-5px); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow); }
.card-copy { padding: 16px 3px 0; }
.card-copy h3 { margin: 0 0 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; font-weight: 650; }
.category { display: inline-block; margin-bottom: 7px; color: var(--leaf); font-size: .78rem; font-weight: 750; }
.card-copy strong { display: block; margin-bottom: 8px; font-size: 1.12rem; }
.card-copy p { margin: 0; color: var(--muted); font-size: .82rem; }
.empty-results { padding: 74px 20px; border: 1px dashed #ccd6d1; border-radius: var(--radius); text-align: center; background: #fbfdfc; }
.empty-results span { font-size: 2.4rem; }
.empty-results h3 { margin: 13px 0 6px; }
.empty-results p { margin: 0; color: var(--muted); }
.market-state { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 64px 24px; border: 1px dashed #ccd6d1; border-radius: var(--radius); color: var(--muted); background: #fbfdfc; text-align: center; }
.market-state span { font-size: 2rem; }
.market-state strong { color: var(--ink); }
.market-state p { margin: 0; font-size: .9rem; }
.market-state.is-loading span { animation: pumpkin-bob 1s ease-in-out infinite alternate; }
@keyframes pumpkin-bob { to { transform: translateY(-6px) rotate(4deg); } }

.detail-nav { grid-template-columns: auto 1fr auto; }
.back-link { justify-self: center; color: var(--muted); font-size: .92rem; font-weight: 650; }
.detail-page { padding: 54px 0 100px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr); gap: clamp(42px, 7vw, 86px); align-items: center; }
.detail-image-wrap { padding: 14px; border-radius: 34px; background: var(--cream); box-shadow: var(--shadow); }
.detail-image-wrap img { width: 100%; aspect-ratio: 1; border-radius: 24px; object-fit: cover; }
.detail-copy h1 { max-width: 510px; margin: 4px 0 14px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; letter-spacing: -.055em; }
.detail-price { display: block; margin-bottom: 8px; font-size: 1.65rem; }
.detail-meta { margin: 0 0 32px; color: var(--muted); }
.owner-actions { display: flex; gap: 8px; margin: -17px 0 22px; }
.owner-actions[hidden] { display: none; }
.owner-actions a, .owner-actions button { min-height: 40px; padding: 0 15px; border-radius: 11px; font-size: .84rem; font-weight: 800; cursor: pointer; }
.owner-actions a { display: inline-grid; place-items: center; border: 1px solid #b8d8ca; color: var(--leaf); background: var(--mint); }
.owner-actions button { border: 1px solid #efc6bb; color: #b64328; background: #fff7f4; }
.owner-actions button:disabled { opacity: .6; cursor: wait; }
.seller { display: flex; align-items: center; gap: 13px; padding: 18px 0; border-block: 1px solid var(--line); }
.seller-avatar { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; background: var(--mint); font-size: 1.35rem; }
.seller div { display: grid; gap: 4px; }
.seller small { color: var(--muted); font-size: .75rem; }
.seller strong { font-size: .94rem; }
.manner { margin-left: auto; padding: 7px 10px; border-radius: 999px; color: var(--leaf); background: var(--mint); font-size: .75rem; font-weight: 750; }
.description { margin: 28px 0 0; color: #3e4844; font-size: 1rem; line-height: 1.85; }
.detail-state { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 90px 24px; border-radius: 28px; background: var(--mint); text-align: center; }
.detail-state span { font-size: 3rem; }
.detail-state h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.detail-state p { margin: 0; color: var(--muted); }
.detail-state a { margin-top: 8px; padding: 12px 18px; border-radius: 12px; color: white; background: var(--leaf); font-weight: 800; }

.create-page { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(460px, 1.28fr); gap: clamp(42px, 8vw, 100px); align-items: start; padding-block: 64px 110px; }
.create-intro { position: sticky; top: 132px; }
.create-intro h1 { margin: 0; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.06em; }
.create-intro > p { max-width: 380px; margin: 24px 0; color: var(--muted); line-height: 1.75; }
.create-tip { display: flex; gap: 12px; max-width: 390px; padding: 17px; border-radius: 17px; background: var(--mint); }
.create-tip > span { font-size: 1.5rem; }
.create-tip p { margin: 0; color: #476057; font-size: .84rem; line-height: 1.55; }
.create-tip strong { display: block; margin-bottom: 3px; color: var(--leaf); }
.product-create-form { display: grid; gap: 24px; padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.image-field > label:first-child, .form-field > label { display: block; margin-bottom: 9px; font-size: .9rem; font-weight: 800; }
.image-field label span, .form-field label span { margin-left: 3px; color: var(--pumpkin-dark); font-size: .72rem; }
.image-picker { position: relative; display: grid; place-items: center; min-height: 290px; overflow: hidden; border: 2px dashed #cbd5d0; border-radius: 20px; background: #f8fbf9; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.image-picker:hover { border-color: var(--pumpkin); background: var(--cream); }
.image-picker img { width: 100%; height: 330px; object-fit: cover; }
.image-picker img[hidden] { display: none; }
.image-picker-empty { display: grid; justify-items: center; gap: 7px; color: var(--ink); font-weight: 800; }
.image-picker-empty[hidden], .product-create-form[hidden] { display: none; }
.image-picker-empty strong { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 50%; color: white; background: var(--pumpkin); font-size: 1.6rem; }
.image-picker-empty small { color: var(--muted); font-size: .72rem; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #d5ddd9; border-radius: 14px; outline: 0; color: var(--ink); background: white; }
.form-field input, .form-field select { height: 50px; padding: 0 15px; }
.form-field select { appearance: auto; }
.form-field textarea { resize: vertical; min-height: 160px; padding: 15px; line-height: 1.65; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--pumpkin); box-shadow: 0 0 0 4px rgba(255,122,24,.12); }
.form-field > small { display: block; margin-top: 7px; color: var(--muted); font-size: .72rem; text-align: right; }
.price-input { position: relative; }
.price-input input { padding-right: 42px; }
.price-input > span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; }
.create-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 10px; }
.create-actions a, .create-actions button { display: inline-grid; place-items: center; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 800; }
.create-actions a { border: 1px solid var(--line); color: var(--muted); }
.create-actions button { border: 0; color: white; background: var(--pumpkin); cursor: pointer; }
.create-actions button:hover { background: var(--pumpkin-dark); }
.create-actions button:disabled { opacity: .6; cursor: wait; }
.comments { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px 70px; margin-top: 90px; padding: 50px; border-radius: 30px; background: #f7faf8; }
.comments-intro h2 { margin: 0 0 10px; font-size: 1.7rem; letter-spacing: -.04em; }
.comments-intro p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.comment-form label { display: block; margin-bottom: 10px; font-weight: 750; }
.comment-form textarea { width: 100%; resize: vertical; min-height: 116px; padding: 17px; border: 1px solid #d5ddd9; border-radius: 16px; outline: 0; background: white; line-height: 1.6; }
.comment-form textarea:focus { border-color: var(--pumpkin); box-shadow: 0 0 0 4px rgba(255,122,24,.12); }
.comment-form > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; }
.comment-form > div span { color: var(--muted); font-size: .8rem; }
.comment-form button { min-height: 46px; padding: 0 20px; border: 0; border-radius: 13px; color: white; background: var(--pumpkin); font-weight: 800; cursor: pointer; }
.comment-form button:hover { background: var(--pumpkin-dark); }
.comment-form button:disabled { opacity: .6; cursor: wait; }
.comment-list { grid-column: 2; display: grid; gap: 12px; margin: -14px 0 0; padding: 0; list-style: none; }
.comment { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 18px; border-radius: 16px; background: white; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--pumpkin-dark); background: var(--cream); font-weight: 850; }
.comment-head { display: flex; justify-content: space-between; gap: 16px; }
.comment-head strong { font-size: .9rem; }
.comment-head time { color: var(--muted); font-size: .75rem; }
.comment p { margin: 7px 0 0; color: #444d49; font-size: .9rem; line-height: 1.6; }
.empty-comment, .setup-note { padding: 22px; border-radius: 16px; color: var(--muted); background: white; font-size: .9rem; text-align: center; }
.setup-note { color: #7b5a35; background: #fff7e9; }

.auth-dialog { width: min(440px, calc(100% - 32px)); padding: 36px; border: 0; border-radius: 26px; box-shadow: 0 24px 90px rgba(20,35,28,.25); text-align: center; }
.auth-dialog::backdrop { background: rgba(15, 25, 21, .5); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 15px; top: 12px; border: 0; background: none; color: var(--muted); font-size: 1.7rem; cursor: pointer; }
.dialog-pumpkin { display: block; font-size: 2.7rem; }
.auth-dialog h2 { margin: 12px 0 10px; font-size: 1.55rem; letter-spacing: -.04em; }
.auth-dialog p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.google-login { width: 100%; min-height: 51px; border: 1px solid #d9dedb; border-radius: 14px; background: white; font-weight: 750; cursor: pointer; }
.google-login:hover { background: #f7f9f8; }
.google-login span { display: inline-grid; place-items: center; margin-right: 10px; width: 24px; height: 24px; border-radius: 50%; color: white; background: #4285f4; }
.auth-dialog small { display: block; margin-top: 16px; color: #929a96; font-size: .72rem; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 100; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 13px 18px; border-radius: 999px; color: white; background: var(--ink); box-shadow: var(--shadow); font-size: .88rem; }

.schema-help { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 62px; height: 62px; display: grid; place-items: center; border: 0; border-radius: 20px; color: white; background: var(--pumpkin); box-shadow: 0 12px 34px rgba(216, 85, 8, .35); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.schema-help:hover { transform: translateY(-4px) rotate(-2deg); background: var(--pumpkin-dark); }
.schema-help:focus-visible { outline: 4px solid rgba(255, 122, 24, .3); outline-offset: 3px; }
.schema-help span { font-size: 1.65rem; font-weight: 900; line-height: 1; }
.schema-help small { position: absolute; right: -4px; top: -5px; padding: 4px 6px; border: 3px solid white; border-radius: 999px; color: var(--leaf); background: var(--mint); font-size: .62rem; font-weight: 900; letter-spacing: .04em; }

.schema-dialog { width: min(760px, calc(100% - 28px)); max-height: min(820px, calc(100dvh - 32px)); padding: 0; overflow: hidden; border: 0; border-radius: 28px; color: var(--ink); background: #fbfdfc; box-shadow: 0 30px 100px rgba(17, 32, 25, .28); }
.schema-dialog[open] { display: flex; flex-direction: column; }
.schema-dialog::backdrop { background: rgba(16, 28, 23, .57); backdrop-filter: blur(5px); }
.schema-dialog-head { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: flex-start; padding: 28px 30px 12px; background: white; }
.schema-dialog-head h2 { margin: 4px 0 0; font-size: 1.65rem; letter-spacing: -.045em; }
.schema-kicker { color: var(--pumpkin-dark); font-size: .76rem; font-weight: 850; letter-spacing: .08em; }
.schema-close { width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--muted); background: #f2f5f3; font-size: 1.5rem; cursor: pointer; }
.schema-guide { flex: 0 0 auto; margin: 0; padding: 0 30px 22px; color: var(--muted); background: white; font-size: .9rem; }
.schema-tabs { flex: 0 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px; margin: 0 30px; border-radius: 15px; background: #edf2ef; }
.schema-tabs button { min-height: 42px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-weight: 800; cursor: pointer; }
.schema-tabs button[aria-selected="true"] { color: var(--pumpkin-dark); background: white; box-shadow: 0 4px 14px rgba(28, 47, 38, .09); }
.schema-panel { flex: 1 1 292px; min-height: 0; max-height: 420px; overflow-y: auto; padding: 24px 30px 30px; }
.schema-meta { display: flex; align-items: center; justify-content: space-between; }
.schema-meta > div { display: flex; align-items: center; gap: 10px; }
.schema-meta strong { font-size: 1.05rem; }
.schema-meta code { padding: 4px 7px; border-radius: 6px; color: var(--leaf); background: var(--mint); font-size: .75rem; }
.schema-meta > span { color: var(--muted); font-size: .82rem; font-weight: 750; }
.schema-panel > p { margin: 7px 0 18px; color: var(--muted); font-size: .83rem; }
.schema-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; perspective: 1000px; }
.schema-card { min-height: 118px; perspective: 800px; }
.schema-card-inner { position: relative; width: 100%; height: 100%; min-height: 118px; transform-style: preserve-3d; transition: transform .62s cubic-bezier(.2, .8, .2, 1); }
.schema-card.is-revealed .schema-card-inner { transform: rotateY(180deg); }
.schema-card-front, .schema-card-back { position: absolute; inset: 0; display: grid; place-content: center; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: center; }
.schema-card-front { border: 1px dashed #c6d2cc; color: #a2aaa6; background: white; }
.schema-card-front small { font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.schema-card-front strong { margin-top: 5px; color: #b2bab6; font-size: 2rem; }
.schema-card-back { gap: 4px; padding: 10px; transform: rotateY(180deg); color: white; background: linear-gradient(145deg, var(--leaf), #0d6748); box-shadow: 0 8px 20px rgba(22, 128, 91, .18); }
.schema-card-back strong { font-size: .9rem; }
.schema-card-back code { color: #fff6e9; font-size: .83rem; font-weight: 750; }
.schema-card-back span { color: #bde6d4; font-size: .7rem; }
.schema-answer { flex: 0 0 auto; padding: 18px 30px 22px; border-top: 1px solid var(--line); background: white; }
.schema-answer label { display: block; margin-bottom: 8px; font-size: .86rem; font-weight: 800; }
.schema-answer > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.schema-answer input { min-width: 0; height: 48px; padding: 0 15px; border: 1px solid #d2dad6; border-radius: 12px; outline: 0; }
.schema-answer input:focus { border-color: var(--pumpkin); box-shadow: 0 0 0 4px rgba(255, 122, 24, .12); }
.schema-answer button { padding: 0 22px; border: 0; border-radius: 12px; color: white; background: var(--pumpkin); font-weight: 850; cursor: pointer; }
.schema-feedback { min-height: 18px; margin: 8px 0 0; color: var(--muted); font-size: .76rem; }
.schema-feedback.is-correct { color: var(--leaf); font-weight: 750; }
.schema-feedback.is-wrong { color: #c74724; }
.schema-answer.shake { animation: schema-shake .3s ease; }
@keyframes schema-shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

@media (max-width: 820px) {
  .nav { grid-template-columns: auto 1fr; gap: 12px; padding-block: 13px; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .login-button { grid-column: 2; grid-row: 1; }
  .welcome { align-items: start; flex-direction: column; min-height: 210px; padding: 30px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-nav { grid-template-columns: auto 1fr auto; }
  .back-link { display: none; }
  .product-detail { grid-template-columns: 1fr; gap: 38px; }
  .create-page { grid-template-columns: 1fr; padding-top: 44px; }
  .create-intro { position: static; }
  .create-intro h1 br { display: none; }
  .comments { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
  .comment-list { grid-column: 1; margin-top: 0; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 1180px); }
  .brand { font-size: 1.15rem; }
  .brand-mark { width: 27px; height: 24px; }
  .login-button { min-width: 76px; height: 40px; }
  .welcome { margin-top: 22px; padding: 26px 22px; border-radius: 22px; }
  .welcome p { font-size: .94rem; }
  .market { padding-top: 40px; }
  .section-heading { align-items: flex-end; }
  .section-actions { gap: 10px; }
  .product-create-button { min-height: 40px; padding-inline: 13px; font-size: .88rem; }
  .product-grid { gap: 28px 12px; }
  .product-card img { border-radius: 16px; }
  .card-copy h3 { font-size: .93rem; }
  .detail-page { padding-top: 28px; }
  .detail-image-wrap { padding: 8px; border-radius: 24px; }
  .detail-image-wrap img { border-radius: 18px; }
  .detail-copy h1 { font-size: 2rem; }
  .create-page { gap: 30px; padding-block: 34px 80px; }
  .create-intro h1 { font-size: 2.2rem; }
  .product-create-form { gap: 20px; padding: 23px 18px; border-radius: 22px; }
  .image-picker { min-height: 230px; }
  .image-picker img { height: 260px; }
  .form-row { grid-template-columns: 1fr; }
  .create-actions { display: grid; grid-template-columns: .7fr 1.3fr; }
  .create-actions a, .create-actions button { padding-inline: 12px; }
  .comments { margin-top: 55px; padding: 26px 18px; border-radius: 22px; }
  .comment-form > div { align-items: stretch; flex-direction: column; }
  .comment-form button { width: 100%; }
  .auth-dialog { padding: 32px 24px; }
  .schema-help { right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 18px; }
  .schema-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 22px; }
  .schema-dialog-head { padding: 22px 20px 10px; }
  .schema-guide { padding: 0 20px 18px; }
  .schema-tabs { margin: 0 20px; }
  .schema-panel { max-height: 46dvh; padding: 20px; }
  .schema-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schema-card, .schema-card-inner { min-height: 108px; }
  .schema-answer { padding: 15px 20px 18px; }
  .schema-answer button { padding-inline: 17px; }
}
