/* Current App structure, with native browser layout and honest feature limits. */
:root { --green:#467c71; --control-primary:#467c71; --control-focus:#467c71; }
main { min-width:0; }
.page-heading { display:flex; gap:12px; align-items:center; margin:8px 0 22px; }
.page-heading h1 { flex:1; font-size:28px; letter-spacing:0; margin:0; }
.page-heading .back-link,.icon-button { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; flex:none; border-radius:14px; }
.back-link svg,.icon-button svg,.feature-symbol svg,.profile-shortcuts svg,.game-shortcuts svg,.promo-card svg,.account-card>svg,.setting>svg,.ongoing-list svg,.text-link svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.home-intro { display:flex; gap:14px; align-items:center; justify-content:space-between; padding:12px 0 8px; }
.home-intro h1 { font-size:25px; letter-spacing:0; margin:0 0 8px; line-height:1.5; }
.home-intro p { color:var(--muted); font-size:14px; margin:0; }
.game-shortcuts { display:flex; gap:18px; overflow-x:auto; padding:22px 2px 18px; scrollbar-width:thin; }
.game-shortcuts a { flex:none; width:70px; display:flex; flex-direction:column; align-items:center; gap:8px; font-size:12px; text-align:center; }
.game-shortcuts .game-icon,.shortcut-add { width:54px; height:54px; border-radius:17px; }
.game-shortcuts a>span:last-child { width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.shortcut-add { display:grid; place-items:center; border:1px dashed #89aa9d; background:#ffffff75; color:var(--green); }
.section-head>div>small { display:block; margin-top:5px; }
.home-memo { margin:24px 0; text-align:center; }
.home-memo button { min-width:220px; }
.completed-group { margin:20px 0; }
.completed-group summary { cursor:pointer; padding:12px 2px; color:var(--muted); }
.home-promos { display:grid; grid-auto-flow:column; grid-auto-columns:calc(50% - 8px); overflow-x:auto; scroll-snap-type:x mandatory; gap:16px; padding:4px 1px 16px; }
.promo-card { position:relative; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:10px; min-height:155px; padding:25px; border-radius:22px; background:linear-gradient(130deg,#ffffffe8,#e1efe2ba); border:1px solid #fff; scroll-snap-align:start; color:#365f55; white-space:normal; text-align:left; }
.promo-card.garden { background:linear-gradient(90deg,#f6fcf4ed,#f1f8ed85),url('assets/garden.jpg') center/cover; }
.promo-card strong { font-size:19px; }
.promo-card span { font-size:13px; font-weight:400; }
.search-entry { display:flex; color:var(--muted); margin:10px 0 22px; min-height:54px; padding:14px 17px; }
.search-entry>span { flex:1; }
.game-list { display:grid; gap:12px; }
.game-list-row { display:flex; align-items:center; gap:15px; padding:16px 18px; background:var(--glass-surface); border:1px solid #fff; border-radius:20px; box-shadow:var(--glass-shadow); min-width:0; }
.game-list-row>a { display:flex; flex:1; min-width:0; align-items:center; gap:14px; }
.game-list-row>a>span { min-width:0; }
.game-list-row strong { display:block; font-size:16px; overflow-wrap:anywhere; }
.game-list-row small { display:block; margin-top:5px; color:var(--muted); font-size:12px; }
.game-list-row .game-icon { width:54px; height:54px; flex:none; }
.game-list-row button { flex:none; min-width:86px; }
.game-list-row button.followed { color:var(--green); background:#e8f2edbd; }
.profile-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0 24px; }
.profile-shortcuts a { display:flex; align-items:center; flex-direction:column; gap:8px; padding:20px 8px; border:1px solid #fff; border-radius:20px; background:var(--glass-surface); }
.profile-shortcuts svg { color:var(--green); width:26px; height:26px; }
.profile-shortcuts strong { font-size:20px; line-height:1.2; }
.profile-shortcuts span { font-size:13px; }
.account-card { margin-bottom:20px; }
.account-card .copy { flex:1; min-width:0; }
.account-card strong { display:block; font-size:23px; overflow-wrap:anywhere; }
.account-card small { display:block; margin-top:7px; color:var(--muted); }
.settings .setting { align-items:center; gap:12px; text-decoration:none; min-height:64px; }
.setting .setting-copy { flex:1; color:var(--ink); }
.setting-copy small { display:block; margin-top:4px; }
.setting>svg { width:17px; height:17px; color:var(--muted); }
.group-label { font-size:13px; color:var(--muted); margin:25px 3px 10px; font-weight:500; }
.group-label+.settings { margin-top:0; }
.feature-symbol { display:grid; place-items:center; width:54px; height:54px; color:var(--green); background:#e2efe8; border-radius:18px; margin-bottom:20px; }
.profile-page .panel { margin-bottom:18px; }
.panel p { line-height:1.8; overflow-wrap:anywhere; }
.panel .notice { margin:18px 0; }
.about-card { text-align:center; }
.about-card img { border-radius:20px; }
.about-card h2 { margin-top:15px; }
.text-link { display:inline-flex; align-items:center; gap:8px; color:var(--green); text-decoration:underline; text-underline-offset:4px; }
.text-link svg { width:16px; height:16px; }
.saved-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.saved-card { border:1px solid #fff; background:var(--glass-surface); border-radius:21px; overflow:hidden; min-width:0; }
.saved-card .event-card { border:0; border-radius:0; box-shadow:none; background:none; }
.saved-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 17px 17px; }
.submission-card h2 { font-size:20px; margin-top:12px; overflow-wrap:anywhere; }
.calendar-filters { gap:6px; margin-top:0; }
.calendar-filters button { padding:9px 11px; font-size:13px; min-height:40px; }
.day-marks { display:flex; gap:3px; position:absolute; bottom:5px; left:50%; transform:translateX(-50%); }
.due-dot,.ongoing-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:currentColor; color:#467c71; flex:none; }
.ongoing-dot { border:1px solid currentColor; background:transparent; }
.selected .day-marks i { color:inherit; }
.calendar-legends { display:flex; flex-wrap:wrap; gap:7px 12px; font-size:11px; color:#496f63; }
.calendar-legends>span { display:inline-flex; align-items:center; gap:5px; }
.ongoing-title { margin:26px 0 12px; font-size:15px; }
.ongoing-list { display:grid; gap:10px; }
.ongoing-list a { display:flex; align-items:center; gap:10px; border:1px solid #fff; border-radius:16px; background:#ffffff75; padding:14px; }
.ongoing-list span { flex:1; font-size:14px; overflow-wrap:anywhere; }
.ongoing-list small { display:block; margin-top:6px; color:var(--muted); font-size:11px; }
.source-review { font-size:13px; color:var(--muted); line-height:1.8; }
.detail-reminders { margin:20px 0; padding:20px; border:1px solid #fff; border-radius:20px; background:var(--glass-surface); }
.detail-reminders h2 { font-size:17px; }
.detail-reminders .actions { margin-top:14px; flex-wrap:wrap; }
.filters { flex-wrap:wrap; }
.form-note,.notice { overflow-wrap:anywhere; }
@media(min-width:900px) { .home-intro h1 { font-size:29px; } .game-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) {
 .page-heading h1 { font-size:25px; } .page-heading { gap:8px; } .page-heading>button { padding:10px 12px; }
 .home-intro h1 { font-size:20px; } .home-intro p { font-size:12px; }
 .home-promos { grid-auto-columns:88%; } .game-list-row { padding:14px; gap:10px; }
 .game-list-row>a { gap:12px; } .game-list-row button { min-width:78px; padding:10px; }
 .game-list-row strong { font-size:15px; } .game-list-row .game-icon { width:48px; height:48px; }
 .profile-shortcuts { gap:8px; } .profile-shortcuts span { font-size:12px; }
 .saved-list { grid-template-columns:1fr; } .account-card strong { font-size:21px; }
 .schedule-page .calendar-footer { flex-wrap:wrap; gap:12px; }
 .detail-reminders { padding:17px; } .detail-reminders .actions button { padding:10px 12px; }
}
@media(max-width:360px) { .game-list-row .game-icon { width:40px; height:40px; } .game-list-row { padding:12px; } .game-list-row button { min-width:70px; font-size:12px; } .home-intro h1 { font-size:18px; } }

.setting-icon svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.navigation a[aria-current="page"] { color:#467c71; }
.navigation a[aria-current="page"] .nav-icon {background:linear-gradient(180deg,#e1f0e9,#d5e9df);}
input[type="checkbox"] {accent-color:#467c71;}
@media(max-width:899px){body[data-secondary="true"] .navigation {display:none;}body[data-secondary="true"] main {padding-bottom:50px;}}

.search-entry {position:relative;background:var(--glass-surface);border:1px solid #fff;border-radius:16px;box-shadow:var(--glass-shadow);gap:12px;}
.searchbar.search-entry>svg {position:static;transform:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none;}
.searchbar.search-entry>svg:last-child {width:17px;height:17px;}
.filters.segmented button.active,.filters:not(.segmented) button.active {color:#467c71;}
