/* Onepaper go - 黑色主題 */
:root {
    color-scheme: dark;
    --go-bg: #0f172a;
    --go-bg-soft: #1e293b;
    --go-surface: rgba(15, 23, 42, 0.95);
    --go-border: rgba(148, 163, 184, 0.25);
    --go-text: #f1f5f9;
    --go-muted: #94a3b8;
    --go-accent: #22c55e;
    --go-accent-soft: rgba(34, 197, 94, 0.2);
    --go-radius: 12px;
    --go-radius-lg: 16px;
    --go-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --go-shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.28);
    --go-shadow-md: 0 14px 44px rgba(0, 0, 0, 0.38);
    --go-glow-sky: rgba(56, 189, 248, 0.09);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
    background-color: #020617;
    background-image:
        radial-gradient(ellipse 90% 45% at 50% -15%, var(--go-glow-sky) 0%, transparent 55%),
        radial-gradient(ellipse 70% 40% at 110% 30%, rgba(34, 197, 94, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse 120% 80% at 50% 0%, #1e293b 0%, #0f172a 42%, #020617 100%);
    background-attachment: fixed;
    color: var(--go-text);
    line-height: 1.6;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.go-site-header {
    background: rgba(15, 23, 42, 0.88);
    border-bottom: 1px solid var(--go-border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
}

.go-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.go-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
}

.go-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--go-text);
}

.go-brand img {
    height: 28px;
    display: block;
}

.go-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.go-nav-link {
    padding: 6px 12px;
    border-radius: 8px;
    /* color: var(--go-muted); */
    color: #000;
    font-size: 0.9rem;
    transition:
        background 0.2s var(--go-ease-out),
        color 0.2s var(--go-ease-out),
        transform 0.2s var(--go-ease-out),
        box-shadow 0.2s var(--go-ease-out);
    font-weight: 800;
}

.go-nav-link:hover,
.go-nav-link.active {
    background: var(--go-accent-soft);
    color: var(--go-accent);
    color: #000;
}

.go-nav-link:hover {
    transform: translateY(-1px);
}

.go-back-main {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--go-border);
    color: var(--go-muted);
    font-size: 0.85rem;
    color: #000;
    font-weight: 800;
}

.go-back-main:hover {
    background: var(--go-bg-soft);
    color: var(--go-text);
}

/* 手機版下方 tabbar（與主站一致） */
.go-tabbar {
    display: none;
}

.go-tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 4px;
    color: var(--go-muted);
    font-size: 0.65rem;
    text-align: center;
}

.go-tabbar-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.go-tabbar-icon svg {
    width: 20px;
    height: 20px;
}

.go-tabbar-item.active {
    color: var(--go-accent);
    background: var(--go-accent-soft);
    border-radius: 10px;
}

/* Page shell */
@keyframes go-content-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.go-page {
    padding: 32px 0 64px;
    animation: go-content-fade 0.5s var(--go-ease-out) both;
}

.go-page-title {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    margin: 0 0 8px;
    text-shadow: 0 2px 28px rgba(2, 6, 23, 0.65);
}

.go-page-subtitle {
    margin: 0 0 24px;
    color: var(--go-muted);
    font-size: 0.95rem;
}

/* Entry cards (home) */
.go-entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.go-entry-card {
    display: block;
    padding: 24px;
    border-radius: var(--go-radius-lg);
    background: var(--go-surface);
    border: 1px solid var(--go-border);
    box-shadow: var(--go-shadow-sm);
    transition:
        border-color 0.24s var(--go-ease-out),
        transform 0.24s var(--go-ease-out),
        box-shadow 0.24s var(--go-ease-out);
}

.go-entry-card:hover {
    border-color: var(--go-accent);
    transform: translateY(-3px);
    box-shadow: var(--go-shadow-md);
}

.go-entry-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--go-accent-soft);
    color: var(--go-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.go-entry-card h2 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

.go-entry-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--go-muted);
    line-height: 1.5;
}

/* Buttons */
.go-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition:
        background 0.22s var(--go-ease-out),
        border-color 0.22s var(--go-ease-out),
        box-shadow 0.22s var(--go-ease-out),
        transform 0.2s var(--go-ease-out);
}

.go-btn.primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ecfdf5;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
}

.go-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.42);
}

.go-btn.secondary {
    background: transparent;
    border-color: var(--go-border);
    color: var(--go-text);
}

.go-btn.secondary:hover {
    background: var(--go-bg-soft);
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.12);
    transform: translateY(-1px);
}

.go-btn.small {
    padding: 6px 12px;
    font-size: 0.82rem;
}

/* Card (surface) */
.go-card {
    background: var(--go-surface);
    border: 1px solid var(--go-border);
    border-radius: var(--go-radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--go-shadow-sm);
    transition:
        border-color 0.24s var(--go-ease-out),
        box-shadow 0.24s var(--go-ease-out),
        transform 0.24s var(--go-ease-out);
}

@media (max-width: 720px) {
    .go-card {
        margin-bottom: 0;
    }
}

@media (hover: hover) and (pointer: fine) {
    .go-card:hover {
        border-color: rgba(56, 189, 248, 0.22);
        box-shadow: var(--go-shadow-md);
        transform: translateY(-2px);
    }
}

.go-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--go-border);
}

.go-card-title-with-help {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--go-border);
}

.go-card-title-with-help .go-card-title {
    margin: 0;
    padding: 0;
    border: none;
    flex: 1 1 auto;
    min-width: 0;
}

.go-info-icon-btn {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--go-border);
    background: rgba(15, 23, 42, 0.5);
    color: var(--go-muted);
    font-size: 0.75rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    cursor: pointer;
}

.go-info-icon-btn:hover,
.go-info-icon-btn:focus-visible {
    color: var(--go-accent);
    border-color: var(--go-accent);
    outline: none;
}

.go-info-icon-btn[aria-expanded="true"] {
    color: var(--go-accent);
    border-color: var(--go-accent);
}

.go-help-panel {
    margin: -8px 0 12px;
    font-size: 0.85rem;
    color: var(--go-muted);
    line-height: 1.55;
}

.go-help-panel[hidden] {
    display: none !important;
}

/* Form */
.go-form-group {
    margin-bottom: 18px;
}

.go-form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--go-muted);
    margin-bottom: 6px;
}

.go-form-group input,
.go-form-group select,
.go-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--go-border);
    background: var(--go-bg);
    color: var(--go-text);
    font-size: 0.9rem;
}

.go-form-group input::placeholder,
.go-form-group textarea::placeholder {
    color: var(--go-muted);
}

.go-form-group input:focus,
.go-form-group select:focus,
.go-form-group textarea:focus {
    outline: none;
    border-color: var(--go-accent);
    box-shadow: 0 0 0 3px var(--go-accent-soft);
}

/* Repeatable card block (送件卡片) */
.go-repeat-block {
    border: 1px dashed var(--go-border);
    border-radius: var(--go-radius);
    padding: 16px;
    margin-bottom: 12px;
    background: rgba(15, 23, 42, 0.5);
}

.go-repeat-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.go-repeat-block-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--go-muted);
}

/* List (進度/存貨) */
.go-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.go-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--go-radius);
    background: var(--go-surface);
    border: 1px solid var(--go-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transition:
        border-color 0.22s var(--go-ease-out),
        box-shadow 0.22s var(--go-ease-out),
        transform 0.22s var(--go-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .go-list-item:hover {
        border-color: rgba(56, 189, 248, 0.22);
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
        transform: translateY(-3px);
    }
}

.go-list-item-thumb {
    width: 56px;
    height: 78px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--go-bg-soft);
    flex-shrink: 0;
}

.go-list-item-body {
    flex: 1;
    min-width: 0;
}

.go-list-item-title {
    font-weight: 600;
    margin: 0 0 4px;
}

.go-list-item-meta {
    font-size: 0.82rem;
    color: var(--go-muted);
}

.go-list-item-status {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.go-list-item-status.ungraded {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.go-list-item-status.graded {
    background: var(--go-accent-soft);
    color: var(--go-accent);
}

.go-list-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Catalog grid */
.go-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.go-catalog-card {
    display: block;
    border-radius: var(--go-radius);
    overflow: hidden;
    background: var(--go-surface);
    border: 1px solid var(--go-border);
    transition: border-color 0.2s, transform 0.2s;
}

.go-catalog-card:hover {
    border-color: var(--go-accent);
    transform: translateY(-2px);
}

.go-catalog-card-img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    background: var(--go-bg-soft);
}

.go-catalog-card-body {
    padding: 12px;
}

.go-catalog-card-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.go-catalog-card-id {
    font-size: 0.78rem;
    color: var(--go-muted);
}

/* Filter bar */
.go-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.go-filter-bar select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--go-border);
    background: var(--go-bg);
    color: var(--go-text);
    font-size: 0.88rem;
}

/* Admin table (送件管理) */
.go-admin-table-wrap {
    overflow-x: auto;
    margin: 0 -4px;
}

.go-admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.go-admin-table th,
.go-admin-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--go-border);
}

.go-admin-table th {
    font-weight: 600;
    color: var(--go-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.go-admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Admin table：手機版改直立卡片式 */
@media (max-width: 640px) {
    .go-admin-table-wrap .go-admin-table thead {
        display: none;
    }
    .go-admin-table-wrap .go-admin-table,
    .go-admin-table-wrap .go-admin-table tbody,
    .go-admin-table-wrap .go-admin-table tr {
        display: block;
    }
    .go-admin-table-wrap .go-admin-table tr {
        border: 1px solid var(--go-border);
        border-radius: var(--go-radius);
        margin-bottom: 12px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.02);
    }
    .go-admin-table-wrap .go-admin-table td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        padding: 6px 0;
        border: none;
    }
    .go-admin-table-wrap .go-admin-table td:not(:last-child) {
        border-bottom: 1px solid var(--go-border);
    }
    .go-admin-table-wrap .go-admin-table td::before {
        content: attr(data-label);
        font-size: 0.82rem;
        color: var(--go-muted);
        font-weight: 500;
        flex-shrink: 0;
    }
    .go-admin-table-wrap .go-admin-table td {
        text-align: right;
    }
}

/* Modal 彈出層 */
.go-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}

.go-modal.go-modal-open {
    visibility: visible;
    opacity: 1;
}

.go-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.go-modal-panel {
    position: relative;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--go-bg-soft);
    border: 1px solid var(--go-border);
    border-radius: var(--go-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.go-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--go-border);
    flex-shrink: 0;
}

.go-modal-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.go-modal-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--go-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}

.go-modal-close:hover {
    color: var(--go-text);
    background: rgba(255, 255, 255, 0.08);
}

.go-modal-body {
    position: relative;
    padding: 18px 20px 22px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) rgba(15, 23, 42, 0.55);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.15) 48%, transparent 100%),
        radial-gradient(120% 80% at 50% 0%, rgba(56, 189, 248, 0.06) 0%, transparent 55%);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.go-modal-body::-webkit-scrollbar {
    width: 8px;
}

.go-modal-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.45);
    border-radius: 999px;
}

.go-modal-body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.go-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.55);
    background-clip: padding-box;
}

.go-modal-detail .go-admin-table-wrap {
    margin: 0;
}

/* 彈出層內表格：手機版改直立卡片式 */
@media (max-width: 640px) {
    .go-modal-detail .go-admin-table thead {
        display: none;
    }
    .go-modal-detail .go-admin-table,
    .go-modal-detail .go-admin-table tbody,
    .go-modal-detail .go-admin-table tr {
        display: block;
    }
    .go-modal-detail .go-admin-table tr {
        border: 1px solid var(--go-border);
        border-radius: var(--go-radius);
        margin-bottom: 12px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.02);
    }
    .go-modal-detail .go-admin-table td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        padding: 6px 0;
        border: none;
    }
    .go-modal-detail .go-admin-table td:not(:last-child) {
        border-bottom: 1px solid var(--go-border);
    }
    .go-modal-detail .go-admin-table td::before {
        content: attr(data-label);
        font-size: 0.82rem;
        color: var(--go-muted);
        font-weight: 500;
        flex-shrink: 0;
    }
    .go-modal-detail .go-admin-table td {
        text-align: right;
    }
}

/* Detail page */
.go-detail-layout {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .go-detail-layout {
        grid-template-columns: 280px 1fr;
    }
}

.go-detail-image {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: var(--go-radius-lg);
    background: var(--go-bg-soft);
}

.go-detail-fields {
    display: grid;
    gap: 12px;
}

.go-detail-field {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    font-size: 0.9rem;
}

.go-detail-field-label {
    color: var(--go-muted);
}

/* Footer */
.go-site-footer {
    border-top: 1px solid var(--go-border);
    padding: 20px 0;
    margin-top: 48px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--go-muted);
}

.go-site-footer a {
    color: var(--go-accent);
}

.go-site-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .go-nav {
        display: none;
    }

    .go-brand--desktop-only {
        display: none;
    }

    .go-header-inner {
        justify-content: center;
    }

    .go-tabbar {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        gap: 0;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        max-width: 100%;
        box-sizing: border-box;
        background: var(--go-surface);
        border-top: 1px solid var(--go-border);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
        z-index: 60;
    }

    body {
        padding-bottom: 58px;
    }

    .go-site-footer {
        padding-bottom: 80px;
    }
}

@media (max-width: 640px) {
    .go-page {
        padding: 20px 0 48px;
    }
    .go-entry-grid {
        grid-template-columns: 1fr;
    }
    .go-list-item {
        flex-wrap: wrap;
    }
    .go-list-item-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* 圖鑑搜尋下拉 */
.go-card-name-wrap {
    position: relative;
}

.go-card-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 2px;
    max-height: 200px;
    overflow-y: auto;
    background: var(--go-surface);
    border: 1px solid var(--go-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10;
}

.go-card-suggest-item {
    background: var(--go-bg-soft);
    border: 1px solid var(--go-border);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-bottom: 4px;
}

.go-card-suggest-item:hover {
    background: var(--go-accent-soft);
    border-color: var(--go-accent);
}

/* 送出成功提示 toast */
.go-toast {
    position: fixed;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%) translateY(12px);
    background: var(--go-surface);
    color: var(--go-text);
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid var(--go-border);
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    z-index: 70;
}

.go-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ----- 首頁 PSA 日本價目（與 new_UI 同結構，配色對齊 go 深色主題） ----- */
.go-page {
    --ui-text: var(--go-text);
    --ui-muted: var(--go-muted);
    --ui-surface: var(--go-bg-soft);
    --ui-border: var(--go-border);
    --ui-accent: var(--go-accent);
    --ui-accent-soft: var(--go-accent-soft);
    --ui-tint: rgba(34, 197, 94, 0.12);
    --ui-radius: var(--go-radius-lg);
}

.go-psa-price {
    margin-top: 28px;
    /* max-width: 560px; */
}

.go-page .ui-price-card {
    background: var(--go-bg-soft);
    border: 1px solid var(--go-border);
    border-radius: var(--go-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.2s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.go-page .ui-price-card:hover {
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

.go-page .ui-price-card__strip {
    height: 6px;
    min-height: 6px;
}

.go-page .ui-price-card--psa-jp .ui-price-card__strip {
    background: linear-gradient(90deg, #15803d 0%, #22c55e 55%, #4ade80 100%);
}

.go-page .ui-price-card__body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.go-page .ui-price-card__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--go-text);
    line-height: 1.3;
}

.go-page .ui-price-card__region {
    font-weight: 600;
    font-size: 0.95em;
    color: var(--go-accent);
}

.go-page .ui-price-card__badge {
    margin: 0;
    font-size: 0.8rem;
    color: var(--go-muted);
    line-height: 1.4;
}

.go-page .ui-price-table {
    width: 100%;
    margin: 0;
    flex: 1;
    min-width: 0;
    min-height: 0;
    max-height: 280px;
    overflow-y: auto;
}

.go-page .ui-price-table__row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.875rem;
    line-height: 1.4;
    border-bottom: 1px solid var(--go-border);
}

.go-page .ui-price-table__row:last-child {
    border-bottom: none;
}

.go-page .ui-price-table__row--sub {
    padding-left: 12px;
    font-size: 0.8125rem;
    border-bottom-color: rgba(148, 163, 184, 0.15);
}

.go-page .ui-price-table__name {
    color: var(--go-text);
    word-break: break-word;
    min-width: 0;
    font-weight: 600;
}

.go-page .ui-price-table__row--sub .ui-price-table__name {
    color: var(--go-muted);
    font-weight: 500;
}

.go-page .ui-price-table__desc {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    font-weight: 400;
    font-style: italic;
    color: var(--go-muted);
    line-height: 1.35;
}

.go-page .ui-price-table__value {
    color: var(--go-accent);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.go-page .ui-price-card__note {
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid var(--go-border);
    font-size: 0.8rem;
    color: var(--go-muted);
    line-height: 1.5;
}

.go-page .ui-price-card__cta {
    margin-top: 8px;
    padding: 10px 16px;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ecfdf5;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.12s ease, box-shadow 0.2s;
}

.go-page .ui-price-card__cta:hover {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}

/* 價目圖 lightbox（z-index 高於手機 tabbar） */
.go-page ~ .ui-price-modal,
.ui-price-modal {
    --ui-text: var(--go-text);
    --ui-muted: var(--go-muted);
    --ui-surface: #1e293b;
    --ui-border: var(--go-border);
    --ui-tint: rgba(34, 197, 94, 0.15);
}

.ui-price-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ui-price-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.ui-price-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.75);
    cursor: pointer;
}

.ui-price-modal__wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-price-modal__content {
    background: var(--ui-surface);
    border: 1px solid var(--go-border);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.ui-price-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--go-border);
    flex-shrink: 0;
}

.ui-price-modal__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--go-text);
}

.ui-price-modal__close {
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--go-muted);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.ui-price-modal__close:hover {
    color: var(--go-text);
    background: var(--ui-tint);
}

.ui-price-modal__body {
    padding: 16px;
    overflow: auto;
    flex: 1;
    min-height: 0;
}

.ui-price-modal__img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

/* 降低動效：系統設定為減少動態時 */
@media (prefers-reduced-motion: reduce) {
    .go-page {
        animation: none;
    }

    .go-btn:hover,
    .go-btn.primary:hover,
    .go-nav-link:hover,
    .go-card:hover,
    .go-list-item:hover,
    .go-entry-card:hover,
    .go-catalog-card:hover {
        transform: none;
    }
}
