* {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --green: #203425;
    --green-dark: #111814;
    --green-mid: #1f2a22;
    --gold: #c9a867;
    --paper: #f4f1ea;
    --paper-light: #f8f6f0;
    --white: #ffffff;
    --text: #1f2933;
    --muted: #6b7280;
    --border: rgba(201, 168, 103, .38);
    --shadow: 0 14px 36px rgba(0, 0, 0, .18);
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    background:
        radial-gradient(circle at top, rgba(201, 168, 103, .18), transparent 34%),
        linear-gradient(180deg, var(--green-dark) 0%, var(--green-mid) 45%, var(--paper) 100%);
    min-height: 100vh;
    color: var(--text);
    line-height: 1.6;
}

body.page-round {
    background: linear-gradient(180deg, #eef3ee 0%, #f7f7f7 100%);
    color: #222;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container,
.container-wide,
.container-narrow,
.container-round {
    width: min(760px, calc(100% - 24px));
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 0 96px;
    overflow-x: hidden;
}

.container-narrow {
    width: min(460px, calc(100% - 24px));
    max-width: 460px;
    padding-top: 42px;
}

.container-round {
    width: min(640px, calc(100% - 20px));
    max-width: 640px;
    padding-top: 18px;
}

.logo {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin: 0 auto 18px;
    overflow: hidden;
}

.logo img,
.auth-logo {
    width: min(320px, 100%);
    max-width: 100%;
    margin: 0 auto;
}

.page-round .logo img {
    width: min(300px, 100%);
}

.logo-main {
    font-size: 24px;
    font-weight: 900;
}

.logo-sub,
.sub-text,
.muted {
    color: var(--muted);
    font-size: 13px;
}

.card {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
}

.card.compact {
    padding: 16px;
}

.page-title,
h1 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.3;
    color: var(--green);
}

.page-title {
    text-align: center;
    font-weight: 900;
}

.section-title,
h2 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--green);
}

h3 {
    margin: 14px 0 8px;
    font-size: 15px;
    color: var(--green);
}

label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 800;
    color: var(--green);
}

input,
select,
textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid #d5d0c3;
    border-radius: 14px;
    background: var(--white);
    color: var(--text);
    font: inherit;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

input[type="range"] {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    accent-color: var(--green);
}

button,
.btn,
.submit-btn,
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(32, 52, 37, .22);
}

button:disabled,
.submit-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

button.secondary,
.btn.secondary,
.sub-btn {
    background: var(--paper-light);
    color: var(--green);
    border: 1px solid #d5d0c3;
    box-shadow: none;
}

button.danger,
.btn.danger {
    background: #8f1d1d;
    color: var(--white);
}

.links {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    width: 100%;
    max-width: 100%;
}

.links a,
a.text-link,
.button-link {
    display: block;
    text-align: center;
    color: var(--green);
    font-weight: 800;
    text-decoration: none;
}

.links a {
    padding: 13px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(201, 168, 103, .38);
}

.links a.primary,
.links a.primary-link {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.notice,
.success,
.error {
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 14px;
    font-weight: 800;
}

.notice {
    background: #eef3ee;
    color: var(--green);
}

.success {
    background: #e7f4ea;
    color: #1f6f3a;
}

.error {
    background: #fdeaea;
    color: #9b1c1c;
}

.grid,
.button-grid,
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    width: 100%;
    max-width: 100%;
}

.choice-label,
.play-type,
.club-item {
    display: block;
    position: relative;
    margin: 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.choice-label input,
.play-type input,
.club-item input {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.choice-label span,
.choice-button,
.play-type span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    min-height: 54px;
    padding: 10px 8px;
    border-radius: 14px;
    border: 1px solid #d5d0c3;
    background: var(--paper-light);
    color: var(--green);
    font-weight: 900;
    text-align: center;
    line-height: 1.25;
}

.grid-3 .choice-label span {
    min-height: 54px;
    font-size: 24px;
}

.choice-label input:checked + span,
.play-type input:checked + span,
.choice-button.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.play-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.choice-button {
    width: auto;
    min-height: 40px;
    border-radius: 999px;
    box-shadow: none;
    cursor: pointer;
}

.row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.row > * {
    flex: 1;
    min-width: 0;
}

.table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 10px 8px;
    border-bottom: 1px solid #e5e0d6;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--green);
    font-size: 13px;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 50;
    width: min(760px, calc(100% - 24px));
    max-width: 760px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(201, 168, 103, .45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 50px;
    border-radius: 16px;
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.bottom-nav-link.active {
    background: var(--green);
    color: var(--white);
}

.bottom-nav-icon {
    font-size: 18px;
    line-height: 1;
}

.range-value,
.big-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--green);
    text-align: center;
}

.round-info {
    text-align: center;
    color: var(--muted);
    font-weight: 800;
}

.round-title {
    color: var(--green);
    font-size: 18px;
    font-weight: 900;
}

.holed-out-label,
.provisional-label {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.holed-out-label {
    background: #e7f4ea;
    color: #1f6f3a;
}

.provisional-label {
    background: #fff0f0;
    color: #c00;
    border: 1px solid #cc9999;
}

.hole-control {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
}

.hole-control a,
.hole-control .disabled,
.hole-current {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 52px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 900;
    font-size: 17px;
}

.hole-control a {
    background: var(--white);
    border: 1px solid #d5d0c3;
    color: var(--green);
}

.hole-control .disabled {
    color: #aaa;
    background: #eee;
    border: 1px solid #ddd;
}

.hole-current {
    background: var(--green);
    color: var(--white);
    font-size: 22px;
}

.par-grid,
.mode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    width: 100%;
    max-width: 100%;
}

.par-btn {
    min-height: 48px;
    border-radius: 14px;
    background: var(--paper-light);
    color: var(--green);
    border: 1px solid #d5d0c3;
    box-shadow: none;
}

.par-btn.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.legend {
    color: var(--muted);
    font-size: 13px;
    margin: -4px 0 12px;
    text-align: center;
}

.range-wrap {
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
    overflow-x: hidden;
}

.small-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
}

.small-buttons .small-btn {
    width: 100%;
    min-width: 0;
}

.small-btn {
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 999px;
}

.sub-submit-btn {
    margin-top: 10px;
    background: #666;
}

.ok-putt-btn,
.hole-out-btn {
    margin-top: 10px;
    background: #8a6a08;
}

.penalty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
}

.penalty-grid form {
    min-width: 0;
}

.penalty-btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 4px;
    border-radius: 14px;
    background: #fff0f0;
    color: #c00;
    border: 1px solid #cc9999;
    box-shadow: none;
}

.cancel-btn {
    margin-top: 12px;
    background: #555;
}

.shot-card {
    background: var(--paper-light);
    border: 1px solid #d5d0c3;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 10px;
}

.shot-main {
    font-weight: 900;
    color: var(--green);
}

.delete-btn,
.delete-button {
    margin-top: 10px;
    min-height: 42px;
    padding: 8px 14px;
    background: #b91c1c;
    color: var(--white);
    box-shadow: none;
}

.score-grid,
.summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.score-box,
.summary-box,
.stat,
.distance-card,
.cell {
    background: var(--paper-light);
    border: 1px solid #d5d0c3;
    border-radius: 16px;
    padding: 12px 8px;
    text-align: center;
}

.score-label,
.summary-label,
.stat-label,
.distance-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.score-value,
.summary-value,
.stat-value,
.distance-value,
.cell .value {
    display: block;
    margin-top: 4px;
    font-size: 20px;
    font-weight: 900;
    color: var(--green);
}

.matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.cell .label {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: var(--green);
}

.stats,
.distance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.distance-grid {
    grid-template-columns: repeat(4, 1fr);
}

.history-head,
.club-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.badge-round {
    background: #e8f5ec;
    color: #146c2e;
}

.badge-range {
    background: #eef2ff;
    color: #3346a3;
}

.date,
.title,
.club-name {
    font-weight: 900;
    color: var(--green);
}

.title,
.club-name {
    font-size: 20px;
}

.meta,
.empty,
.lead,
.target-info {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.empty,
.lead,
.target-info {
    text-align: center;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.open-button,
.edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    font-weight: 900;
}

.delete-form {
    margin: 0;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tab {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 14px;
    border-radius: 999px;
    font-weight: 900;
    color: var(--green);
    background: var(--paper-light);
    border: 1px solid #d5d0c3;
}

.tab.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.main-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.action {
    display: block;
    text-decoration: none;
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    font-weight: 900;
    font-size: 18px;
    color: var(--white);
    background: var(--green);
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.action span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    opacity: .82;
}

.info-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.info-label {
    color: var(--muted);
    font-weight: 800;
}

.info-value {
    font-weight: 800;
}

.club-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 10px;
}

.club-name {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 9px 8px;
    border-radius: 14px;
    border: 1px solid #d5d0c3;
    background: var(--paper-light);
    text-align: center;
}

.club-item input:checked + .club-name {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.mt-12 {
    margin-top: 12px;
}

.mt-16 {
    margin-top: 16px;
}

.hidden {
    display: none !important;
}

body.page-round,
body.page-range,
body.page-input {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.page-round main,
body.page-range main,
body.page-input main {
    width: min(640px, calc(100% - 20px));
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
}

@media (max-width: 520px) {
    .container,
    .container-wide,
    .container-narrow,
    .container-round {
        width: calc(100% - 20px);
        max-width: none;
        padding-top: 14px;
        padding-bottom: 96px;
    }

    .logo {
        margin-bottom: 12px;
    }

    .logo img,
    .auth-logo,
    .page-round .logo img {
        width: min(240px, 100%);
        max-width: 100%;
    }

    .card {
        padding: 15px;
        border-radius: 20px;
        margin-bottom: 12px;
    }

    .page-title,
    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 17px;
    }

    .grid,
    .button-grid,
    .choice-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .choice-label span,
    .choice-button,
    .play-type span {
        min-height: 50px;
        padding: 8px 6px;
        font-size: 13px;
    }

    .grid-3 .choice-label span {
        min-height: 52px;
        font-size: 22px;
    }

    .play-type-grid,
    .main-actions,
    .action-grid,
    .summary,
    .score-grid,
    .stats,
    .distance-grid {
        grid-template-columns: 1fr;
    }

    .club-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .club-name {
        min-height: 46px;
        font-size: 13px;
    }

    .penalty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-nav {
        bottom: 8px;
        width: calc(100% - 16px);
        border-radius: 20px;
    }

    .bottom-nav-link {
        min-height: 48px;
        font-size: 10px;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    body.page-round main,
    body.page-range main,
    body.page-input main {
        width: calc(100% - 20px);
        max-width: none;
    }
}

/* =========================
   ショットカードメニュー
========================= */

.shot-card-head {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:8px;
}

.shot-card-head .shot-main {
    flex:1;
}

.shot-menu-toggle {
    width:34px;
    min-width:34px;
    max-width:34px;
    min-height:34px;
    padding:0;
    margin:0;
    border-radius:999px;
    background:transparent;
    color:#666;
    font-size:20px;
    font-weight:900;
    box-shadow:none;
}

.shot-menu {
    display:flex;
    gap:8px;
    margin-top:10px;
}

.inline-form {
    margin:0;
}

.small-action-btn,
.shot-menu .delete-btn {
    width:auto;
    min-width:70px;
    min-height:34px;
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    box-shadow:none;
}

.small-action-btn {
    background:#eef3ee;
    color:var(--green);
    border:1px solid #d5d0c3;
    text-decoration:none;
}

.shot-menu .delete-btn {
    margin-top:0;
    background:#fff0f0;
    color:#c00;
    border:1px solid #cc9999;
}

/* =========================
   履歴の開く・削除
========================= */

.action-grid {
    display:flex;
    gap:8px;
}

.open-button,
.delete-button {
    flex:1;
    min-height:36px;
    padding:6px 10px;
    font-size:13px;
    font-weight:800;
    border-radius:999px;
    box-shadow:none;
}

.open-button {
    background:#eef3ee;
    color:var(--green);
    border:1px solid #d5d0c3;
}

.delete-button {
    background:#fff0f0;
    color:#c00;
    border:1px solid #cc9999;
}

.shot-menu.hidden {
    display: none !important;
}

/* =========================
   ショットカードメニュー 強制修正版
========================= */

.shot-card-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

.shot-card-head .shot-main {
    flex: 1 !important;
    min-width: 0 !important;
}

button.shot-menu-toggle {
    all: unset;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;

    border-radius: 999px !important;
    background: transparent !important;
    color: var(--muted) !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.shot-menu.hidden {
    display: none !important;
}

.shot-menu {
    display: flex !important;
    gap: 8px !important;
    margin-top: 10px !important;
}

.inline-form {
    margin: 0 !important;
    width: auto !important;
}

.small-action-btn,
.shot-menu .delete-btn {
    width: auto !important;
    min-width: 70px !important;
    max-width: none !important;
    min-height: 32px !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

.small-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #eef3ee !important;
    color: var(--green) !important;
    border: 1px solid #d5d0c3 !important;
    text-decoration: none !important;
}

.shot-menu .delete-btn {
    margin-top: 0 !important;
    background: #fff0f0 !important;
    color: #c00 !important;
    border: 1px solid #cc9999 !important;
}

/* ペナルティ操作ボタンを控えめに */
.penalty-grid {
    margin-top: 10px !important;
}

.penalty-btn {
    min-height: 36px !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
    background: #f8f6f0 !important;
    color: #8f1d1d !important;
    border: 1px solid #e0c4c4 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

/* ペナルティボタンをスマホでも4つ横並び・控えめにする */
.penalty-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    margin-top: 10px !important;
}

.penalty-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 4px !important;
    border-radius: 999px !important;
    background: #f8f6f0 !important;
    color: #8f1d1d !important;
    border: 1px solid #e0c4c4 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}
/* =========================
   ラウンド中専用フッター
========================= */

.round-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 70;
    width: min(640px, calc(100% - 16px));
    max-width: 640px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 7px;
    border-radius: 20px;
    background: rgba(32, 52, 37, .96);
    border: 1px solid rgba(201, 168, 103, .55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
    backdrop-filter: blur(10px);
}

.round-bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
    border-radius: 15px;
    color: rgba(255, 255, 255, .88);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    line-height: 1.2;
}

.round-bottom-nav-link.active {
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
}

.round-bottom-nav-icon {
    font-size: 17px;
    line-height: 1;
}

body.page-round main,
body.page-round-score main {
    padding-bottom: 112px;
}

body.page-round.page-input main {
    padding-bottom: 168px;
}

@media (max-width: 520px) {
    .round-bottom-nav {
        width: calc(100% - 12px);
        bottom: 6px;
        border-radius: 18px;
        padding: 6px;
    }

    .round-bottom-nav-link {
        min-height: 46px;
        font-size: 10px;
    }

    .round-bottom-nav-icon {
        font-size: 16px;
    }

    body.page-round main,
    body.page-round-score main {
        padding-bottom: 110px;
    }

    body.page-round.page-input main {
        padding-bottom: 170px;
    }
}

.hero-logo{
    background:#ffffff;
    padding:0;
    margin:0 auto 8px;
}

.hero-logo img{
    display:block;
    width:100%;
    height:auto;
}

/* =========================
   日付入力欄のiPhoneはみ出し対策
========================= */

input[type="date"].date-input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    text-align: center;
}

/* =========================
   クイック分析
========================= */

.club-rate-list{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:10px;
}

.club-rate-row{
    display:flex;
    align-items:center;
    gap:12px;
    padding:4px 0;
}

.club-rate-name{
    min-width:50px;
    font-weight:900;
    color:var(--green);
}

.club-rate-value{
    font-weight:900;
    color:var(--green);
}

.club-rate-count{
    color:var(--muted);
    font-size:13px;
}

.button-link-primary{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:48px;
    padding:12px 16px;
    border-radius:999px;
    background:var(--green);
    color:var(--white);
    font-weight:900;
    text-decoration:none;
    box-shadow:0 8px 18px rgba(32,52,37,.22);
}