.grip-page .grip-main { max-width: 1104px; }
.grip-page [hidden] { display: none; }
.grip-page :is(#calculator, #racket-test, #grip-share) { scroll-margin-top: 85px; }
.grip-page .grip-breadcrumb { display: flex; gap: 8px; margin-bottom: 14px; color: #526451; font-size: .875rem; }
.grip-page .grip-breadcrumb a { text-underline-offset: 3px; }
.grip-page .grip-hero {
    display: grid;
    gap: 20px;
    align-items: end;
    margin: 0 0 16px;
    padding: clamp(20px, 4vw, 40px);
    border-radius: 8px;
    background: #102d24;
    color: #edf3e9;
    text-align: left;
}
.grip-page .grip-hero h1 { color: #fff; font-size: clamp(1.72rem, 4vw, 2.75rem); line-height: 1.22; letter-spacing: -.045em; }
.grip-page .grip-kicker { margin: 0 0 7px; font-size: .8rem; font-weight: 700; color: #40654c; }
.grip-page .grip-hero .grip-kicker { color: var(--accent); }
.grip-page .grip-hero .grip-lead { margin-top: 10px; color: #fff; font-size: clamp(1rem, 2vw, 1.23rem); font-weight: 700; }
.grip-page .grip-hero .grip-meta { margin-top: 13px; color: #c3d8cb; font-size: .82rem; }
.grip-page .grip-hero p, .grip-page .grip-panel p { line-height: 1.65; }
.grip-page .grip-hero p:not(.grip-kicker), .grip-page .grip-panel h2 + p { margin-bottom: 0; }
.grip-page .grip-hero p:not(.grip-kicker):not(.grip-lead):not(.grip-meta) { margin-top: 6px; max-width: 46ch; }
.grip-page .grip-workspace { display: grid; gap: 16px; align-items: start; }
.grip-page .grip-panel {
    margin: 0 0 16px;
    padding: clamp(16px, 3vw, 26px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow-wrap: anywhere;
}
.grip-page .grip-workspace .grip-panel { margin: 0; }
.grip-page .grip-workspace { margin-bottom: 16px; }
.grip-page .grip-panel h2 { color: #173c2c; font-size: clamp(1.13rem, 2.5vw, 1.45rem); }
.grip-page .grip-palm { display: block; width: min(100%, 400px); height: auto; margin: 15px auto 0; }
.grip-page .grip-steps { display: grid; gap: 7px; padding-left: 1.35em; margin: 15px 0 12px; line-height: 1.65; }
.grip-page .grip-steps li::marker { color: #2c6348; font-weight: 700; }
.grip-page .grip-note { padding: 10px 12px; border-left: 3px solid #83a456; background: #eef2e8; color: #334d39; line-height: 1.65; }
.grip-page .grip-calculator { border-top: 3px solid #315b3d; background: #f7f9f4; }
.grip-page #grip-form { margin-top: 16px; }
.grip-page .grip-panel label { display: block; margin-bottom: 5px; color: #213f30; font-weight: 700; }
.grip-page .grip-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.grip-page .grip-panel :is(input[type="text"], select) {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid #91a595;
    border-radius: 4px;
    background: #fff;
    color: #17372a;
    font: inherit;
    font-size: 1rem;
}
.grip-page #grip-length { font-size: 1.18rem; font-weight: 700; }
.grip-page #grip-unit { min-width: 76px; }
.grip-page .grip-panel input:focus-visible { outline: 3px solid #799650; outline-offset: 3px; }
.grip-page #grip-length[aria-invalid="true"] { border-color: #a4402e; }
.grip-page .grip-range-hint, .grip-page .grip-slider-bounds { margin: 6px 0 0; color: #526451; font-size: .8rem; }
.grip-page .grip-input-message { margin: 6px 0 0; color: #8b3527; font-size: .875rem; }
.grip-page .grip-input-message:empty, .grip-page .grip-share-feedback:empty { margin: 0; }
.grip-page .grip-panel .grip-slider-label, .grip-page .grip-slider-bounds { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.grip-page .grip-panel .grip-slider-label { margin-top: 15px; }
.grip-page #grip-slider { display: block; width: 100%; height: 36px; margin: 0; accent-color: #20543b; cursor: pointer; }
.grip-page .grip-slider-bounds { margin-top: 0; }
.grip-page .grip-options { margin-top: 12px; border-top: 1px solid var(--line); }
.grip-page :is(.grip-options, .grip-faq) summary { padding: 12px 0; cursor: pointer; color: #244b36; font-weight: 700; }
.grip-page .grip-options summary span { color: #526451; font-weight: 400; }
.grip-page .grip-options-fields { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.grip-page .grip-result { margin-top: 12px; padding: clamp(12px, 2vw, 18px); border: 1px solid #b4c7af; border-radius: 6px; background: #eaf1df; }
.grip-page .grip-result-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.grip-page .grip-result-header h3 { margin: 0; color: #264f38; font-size: .84rem; }
.grip-page .grip-result-header > div:last-child { text-align: right; }
.grip-page .grip-result-header p { margin: 4px 0 0; font-size: .82rem; }
.grip-page .grip-result-grade { color: #113d2b; font-size: clamp(2.55rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -.055em; }
.grip-page .grip-scale { margin: 22px 0 0; }
.grip-page .grip-scale-track { position: relative; margin: 0 calc(100% / 12); height: 4px; border-radius: 2px; background: #69876d; }
.grip-page #grip-scale-marker {
    position: absolute;
    left: var(--grip-marker);
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border: 2px solid #143e2c;
    border-radius: 50%;
    background: var(--accent);
}
.grip-page .grip-scale-labels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 8px; text-align: center; }
.grip-page .grip-scale-labels span { justify-self: center; padding: 3px 5px; border-radius: 4px; font-size: .83rem; font-weight: 700; color: #2a4935; }
.grip-page .grip-scale-labels .is-recommended { background: #1c5138; color: #fff; }
.grip-page .grip-scale-labels .is-neighbor { box-shadow: inset 0 0 0 1px #658164; }
.grip-page .grip-scale-legend { display: flex; align-items: center; gap: 7px; }
.grip-page .grip-scale-legend > span:first-child { width: 10px; height: 10px; border: 1.5px solid #143e2c; border-radius: 50%; background: var(--accent); }
.grip-page .grip-comparison, .grip-page .grip-final-check { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid #b8c9b4; }
.grip-page :is(.grip-final-check a, .grip-share-link) { font-weight: 700; text-underline-offset: 3px; }
.grip-page .grip-share-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #174831; }

.grip-page .grip-fit-grid { display: grid; gap: 10px; margin-top: 16px; }
.grip-page .grip-fit-card { display: grid; grid-template-columns: minmax(0, 110px) minmax(0, 1fr); align-content: center; column-gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; }
.grip-page .grip-fit-card.is-fit { border-color: #90a978; background: #f4f8ed; }
.grip-page .grip-fit-card svg { grid-row: 1 / span 2; width: 100%; height: auto; align-self: center; }
.grip-page .grip-fit-card h3 { margin: 0 0 4px; color: #234b35; font-size: 1rem; }
.grip-page .grip-fit-card p { margin: 0; font-size: .86rem; }
.grip-page .grip-adjust { display: grid; gap: 14px; align-items: center; }
.grip-page .grip-share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.grip-page .grip-button {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 14px;
    border: 1px solid #91a595;
    border-radius: 4px;
    background: #fff;
    color: #183c2a;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.grip-page .grip-button:hover { background: #edf2e7; }
.grip-page .grip-button-primary { border-color: var(--accent); background: var(--accent); }
.grip-page .grip-button-primary:hover { background: #e0ff88; }
.grip-page .grip-button-kakao { border-color: #ecd438; background: #ffe455; color: #332708; }
.grip-page .grip-button-kakao:hover { background: #ffeb72; }
.grip-page .grip-share-feedback { margin: 8px 0 0; color: #304f3a; }
.grip-page #grip-copy-fallback { margin-top: 10px; }
.grip-page .grip-reference table { width: 100%; margin-top: 12px; border-collapse: collapse; }
.grip-page .grip-reference :is(th, td) { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.grip-page .grip-reference thead { color: #214633; background: #e9f0e4; }
.grip-page .grip-faq h2 { margin-bottom: 12px; }
.grip-page .grip-faq details { border-top: 1px solid var(--line); }
.grip-page .grip-faq details p { margin: 0 0 12px; }
.grip-page .grip-source { padding-top: 12px; border-top: 1px solid var(--line); color: #4d6352; }
.grip-page .grip-source a { font-weight: 700; text-underline-offset: 3px; }

@media (min-width: 700px) {
    .grip-page .grip-hero, .grip-page .grip-adjust { grid-template-columns: 1fr auto; }
    .grip-page .grip-adjust .grip-note { max-width: 30ch; }
    .grip-page .grip-fit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grip-page .grip-fit-card { display: block; align-content: normal; padding: 12px; }
    .grip-page .grip-fit-card svg { margin-bottom: 8px; }
}
@media (min-width: 760px) {
    .grip-page .grip-workspace { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}
