:root{--text:#2b2730;--text-muted:#6b6375;--bg:#faf8f5;--surface:#fff;--border:#e5e1dc;--accent:#c2410c;--accent-text:#fff;--error:#b91c1c;--hint-bg:#fdf6e3;--hint-text:#6b5a2e;--image-bg:#f3f1ee;--image-placeholder-icon:#a8a29e;--reserved-mine:#15803d;--reserved-mine-bg:#dcfce7;--reserved-mine-text:#14532d;--reserved-taken-bg:#ebe8e4;--reserved-taken-text:#6b6375;--reserved-taken-opacity:.6;--radius:14px;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font:16px/1.5 system-ui,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--text:#f3f1f5;--text-muted:#a8a2b0;--bg:#18161b;--surface:#242128;--border:#3a3640;--accent:#fb923c;--accent-text:#1a1310;--error:#f87171;--hint-bg:#2e2a1f;--hint-text:#e3d6b0;--image-bg:#e8e5e1;--reserved-mine:#4ade80;--reserved-mine-bg:#14532d;--reserved-mine-text:#dcfce7;--reserved-taken-bg:#2f2b35;--reserved-taken-text:#a8a2b0}}*{box-sizing:border-box}body{min-height:100svh;padding-top:env(safe-area-inset-top);margin:0}.standalone body{padding-top:calc(env(safe-area-inset-top) + 10px)}.standalone body:has(.header){padding-top:0}.standalone .header{padding-top:calc(12px + env(safe-area-inset-top) + 10px)}h1{margin:0 0 16px;font-size:1.6rem;line-height:1.25}p{margin:0 0 12px}a{color:inherit}button,input,textarea{font:inherit;color:inherit}.header{border-bottom:1px solid var(--border);background:var(--surface);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;display:flex}.header-title{font-size:1.1rem;font-weight:700;text-decoration:none}.with-bottom-nav{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.bottom-nav{z-index:10;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--border);background:var(--surface);position:fixed;bottom:0;left:0;right:0}.bottom-nav-tabs{grid-template-columns:repeat(2,1fr);max-width:640px;margin:0 auto;padding:0;list-style:none;display:grid}.bottom-nav-tab{min-height:56px;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:4px 2px;font-size:.75rem;text-decoration:none;display:flex}.bottom-nav-tab.active{color:var(--accent);font-weight:600}.avatar{color:#2b2730;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;line-height:1;display:inline-flex}.avatar-small{width:28px;height:28px;font-size:.9rem}.avatar-medium{width:44px;height:44px;font-size:1.4rem}.avatar-large{width:88px;height:88px;font-size:2.8rem}.list-owner{color:var(--text-muted);overflow-wrap:anywhere;align-items:center;gap:8px;margin-bottom:6px;display:flex}.profile{flex-direction:column;gap:20px;display:flex}.profile p{margin:0}.profile-name{overflow-wrap:anywhere;font-size:1.25rem;font-weight:700}.settings-email{overflow-wrap:anywhere}.profile-avatar-link{border-radius:50%;text-decoration:none}.profile-head{flex-direction:column;align-items:center;gap:8px;display:flex}.profile-name-row{align-items:center;gap:4px;max-width:100%;display:flex}.profile-list-count{color:var(--text-muted);margin-top:-8px}.profile-links{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.profile-link{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);align-items:center;gap:12px;min-height:64px;padding:10px 12px;text-decoration:none;display:flex}.profile-link-icon{color:var(--accent);flex-shrink:0}.profile-link-text{flex-direction:column;flex:1;min-width:0;display:flex}.profile-link-title{font-weight:600}.profile-link-subtitle{color:var(--text-muted);font-size:.85rem}.profile-link-arrow{color:var(--text-muted);flex-shrink:0}.settings-section{flex-direction:column;display:flex}.settings-heading{margin:0 0 4px;font-size:1rem}.settings-danger{border-top:1px solid var(--border);margin-top:48px;padding-top:16px}.settings-install{margin-top:32px}.install-heading{margin:16px 0 4px;font-size:1rem}.install-steps{margin:0;padding-left:22px}.settings-version{margin-top:32px;font-size:.8rem}.danger-link{color:var(--error);font-weight:600}.delete-account-form{flex-direction:column;gap:12px;display:flex}.delete-account-form p{margin:0}.delete-account-list{margin:0;padding-left:20px}.delete-account-final{font-weight:600}.notice{background:var(--hint-bg);color:var(--hint-text);border-radius:10px;padding:8px 14px;display:inline-block}.profile-preview{justify-content:center;display:flex}.profile-form p{margin:0}.avatar-grid{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}@media (width>=560px){.avatar-grid{grid-template-columns:repeat(7,1fr)}}.avatar-option{border-radius:var(--radius);cursor:pointer;background:0 0;border:2px solid #0000;flex-direction:column;align-items:center;gap:2px;min-height:44px;padding:4px 0;display:flex}.avatar-option.selected{border-color:var(--accent)}.avatar-edit-button{cursor:pointer;background:0 0;border:none;border-radius:50%;padding:0;position:relative}.avatar-edit-badge{border:2px solid var(--bg);background:var(--accent);width:30px;height:30px;color:var(--accent-text);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:-2px;right:-2px}.sheet .avatar-grid{margin-top:8px}.avatar-option-label{color:var(--text-muted);font-size:.7rem}.profile-sign-out{margin-top:32px}.page{width:100%;max-width:640px;margin:0 auto;padding:16px}.page-center{text-align:center;padding-top:20vh}.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.page-heading h1{margin:0}.back-link{color:var(--text-muted);margin-bottom:16px;text-decoration:none;display:inline-block}.empty{color:var(--text-muted)}.error{color:var(--error)}.button-primary,.button-secondary,.button-unavailable{cursor:pointer;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:0 18px;font-weight:600;text-decoration:none;display:inline-flex}.button-primary{background:var(--accent);color:var(--accent-text)}.button-primary:disabled{opacity:.6;cursor:default}.button-secondary{border-color:var(--border);background:0 0}.button-danger{border:1px solid var(--error);background:var(--error);color:#fff;cursor:pointer;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:0 18px;font-weight:600;display:inline-flex}.button-danger:disabled{opacity:.6;cursor:default}.page-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.page-top-buttons{gap:4px;display:flex}.more-button{cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;min-width:44px;min-height:44px;margin-top:-10px;font-size:1.5rem;line-height:1;display:inline-flex}.more-button:hover{background:var(--border)}.sheet{background:var(--surface);width:100%;max-width:640px;max-height:85svh;color:var(--text);border:none;border-radius:20px 20px 0 0;margin:auto auto 0;padding:0}.sheet[open]{animation:.2s ease-out sheet-up}@keyframes sheet-up{0%{transform:translateY(100%)}}.sheet::backdrop{background:#00000073}.sheet-content{padding:8px 16px calc(16px + env(safe-area-inset-bottom))}.sheet-header{justify-content:space-between;align-items:center;display:flex}.sheet-header h2{margin:0;font-size:1.1rem}.sheet-close{cursor:pointer;background:0 0;border:none;min-width:44px;min-height:44px;font-size:1.8rem;line-height:1}.sheet-actions{margin:0;padding:0;list-style:none}.sheet-action{border:none;border-top:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;width:100%;min-height:52px;padding:0 4px}.sheet-action.danger{color:var(--error)}.dialog{border-radius:var(--radius);background:var(--surface);width:calc(100% - 32px);max-width:420px;color:var(--text);border:none;padding:20px}.dialog::backdrop{background:#00000073}.dialog-buttons{flex-wrap:wrap;gap:12px;margin-top:8px;display:flex}.button-link{cursor:pointer;background:0 0;border:none;padding:8px 0;text-decoration:underline}.cover{aspect-ratio:1;border-radius:var(--radius);justify-content:center;align-items:center;width:100%;font-size:2.5rem;line-height:1;display:flex}.cover-large{aspect-ratio:2;margin-bottom:16px;font-size:4rem}.list-grid{grid-template-columns:repeat(2,1fr);gap:12px;margin:0;padding:0;list-style:none;display:grid}@media (width>=560px){.list-grid{grid-template-columns:repeat(3,1fr)}}.list-card{flex-direction:column;gap:8px;text-decoration:none;display:flex}.list-grid-item{position:relative}.list-card-share{color:#2b2730;cursor:pointer;background:#ffffffd9;border:none;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;display:flex;position:absolute;top:6px;right:6px;box-shadow:0 1px 4px #0003}.list-card-more{font-size:1.4rem;line-height:1}.list-card-owner{min-width:0;color:var(--text-muted);overflow-wrap:anywhere;align-items:center;gap:6px;font-size:.85rem;display:flex}.list-card-title{overflow-wrap:anywhere;font-weight:600}.list-card-count{color:var(--text-muted);font-size:.85rem}.items{flex-direction:column;gap:16px;margin-top:20px;display:flex}.items>.button-primary{align-self:flex-start}.link-row{gap:8px;display:flex}.link-row input{flex:1;min-width:0}.loading-row{color:var(--text-muted);align-items:center;gap:10px;display:flex}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.hint-box{background:var(--hint-bg);color:var(--hint-text);border-radius:10px;align-items:flex-start;gap:8px;margin:0 0 16px;padding:8px 6px 8px 12px;font-size:.875rem;line-height:1.4;display:flex}.hint-box-text{flex:1;padding-top:2px}.autofill-panel{background:var(--hint-bg);color:var(--hint-text);border-radius:10px;flex-direction:column;gap:10px;padding:10px 6px 12px 12px;font-size:.875rem;display:flex}.autofill-header{justify-content:space-between;align-items:center;gap:8px;font-weight:600;display:flex}.autofill-list{overflow-wrap:anywhere;flex-direction:column;gap:6px;margin:0;padding:0 6px 0 0;list-style:none;display:flex}.autofill-label{font-weight:600}.autofill-image-row{align-items:center;gap:8px;display:flex}.autofill-image-row .item-image{width:48px;height:48px}.autofill-buttons{flex-wrap:wrap;gap:8px;display:flex}.hint-box-close{width:28px;height:28px;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;font-size:1.1rem;line-height:1}.item-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.item-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);align-items:flex-start;gap:4px;padding:10px;display:flex}.item-main{flex:1;gap:12px;min-width:0;text-decoration:none;display:flex}.item-image{object-fit:contain;background:var(--image-bg);border-radius:10px;flex-shrink:0;width:72px;height:72px}.item-image-placeholder{color:var(--image-placeholder-icon);justify-content:center;align-items:center;display:flex}.price-approx{opacity:.55;cursor:pointer;margin:-6px 0 -6px -6px;padding:6px;display:inline-block}.price-hint{color:var(--text-muted);margin-top:2px;font-size:.8rem;font-weight:400;display:block}.prices-note{color:var(--text-muted);margin:0;font-size:.8rem}.reservation-status{background:var(--hint-bg);color:var(--hint-text);border-radius:999px;align-self:flex-start;margin-top:4px;padding:2px 10px;font-size:.85rem}.reservation-status.mine{background:var(--reserved-mine-bg);color:var(--reserved-mine-text);align-items:center;gap:4px;font-weight:600;display:inline-flex}.item-card.reserved-mine{border-color:var(--reserved-mine)}.reservation-status.taken{background:var(--reserved-taken-bg);color:var(--reserved-taken-text)}.item-card.reserved-taken .item-image,.item-card.reserved-taken .item-price,.item-card.reserved-taken .item-comment,.item-card.reserved-taken .item-buttons,.item-details.reserved-taken .item-image,.item-details.reserved-taken .item-details-price,.item-details.reserved-taken .item-details-comment{opacity:var(--reserved-taken-opacity)}.item-card{flex-wrap:wrap}.reservation-actions{flex-direction:column;flex-basis:100%;align-items:flex-start;gap:6px;display:flex}.item-card .reservation-actions{padding-top:8px}.item-card.muted .item-image,.item-card.muted .item-title,.item-card.muted .item-price,.item-card.muted .item-comment{opacity:.5}.reservation-status.removed{background:0 0;border-radius:0;padding:0}.reservation-list{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:2px 8px;margin-top:4px;font-size:.85rem;display:flex}.reservation-list-title{overflow-wrap:anywhere}.reservation-actions .error{margin:0}.dialog-title{overflow-wrap:anywhere;margin:0;font-size:1.1rem}.reserve-form,.share-dialog{flex-direction:column;gap:14px;display:flex}.share-dialog p,.share-dialog .dialog-buttons{margin:0}.reserve-as{flex-direction:column;gap:2px;display:flex}.reserve-as p{overflow-wrap:anywhere;margin:0}.reserve-as .button-link{padding:4px 0}.reserve-form .error,.reserve-account .hint,.reserve-account .error{margin:0}.in-app-notice{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.in-app-notice p{margin:0}.in-app-notice .field{width:100%}.page-center .in-app-notice{align-items:center;max-width:420px;margin:0 auto}.button-unavailable,.button-unavailable:disabled{border-color:var(--border);background:var(--border);color:var(--text-muted);cursor:default}.reserve-account{border-top:1px solid var(--border);flex-direction:column;align-items:flex-start;gap:8px;padding-top:14px;display:flex}.owner-banner{background:var(--hint-bg);color:var(--hint-text);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;padding:10px 12px;font-size:.9rem;display:flex}.item-details{flex-direction:column;gap:12px;display:flex}.item-details h1{overflow-wrap:anywhere;margin:4px 0 0}.item-details p{margin:0}.item-image-large{border-radius:var(--radius);width:100%;height:auto;max-height:360px}.item-image-large.item-image-placeholder{height:200px}.item-details-star{font-weight:600}.item-details-price{font-size:1.25rem;font-weight:600}.item-details-comment{white-space:pre-wrap;overflow-wrap:anywhere}.item-details>.button-primary{align-self:flex-start;margin-top:8px}.item-text{flex-direction:column;gap:2px;min-width:0;display:flex}.item-title{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-weight:600;display:-webkit-box;overflow:hidden}.item-price{color:var(--accent);font-weight:600}.item-comment{color:var(--text-muted);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:.9rem;display:-webkit-box;overflow:hidden}.item-buttons{flex-shrink:0;display:flex}.icon-button{cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;min-width:40px;min-height:40px;font-size:1.2rem;line-height:1;text-decoration:none;display:inline-flex}.icon-button:hover{background:var(--border)}.price-row{gap:8px;display:flex}.price-row input{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex:1;min-width:0;padding:10px 12px}.price-row select,.field select{border:1px solid var(--border);background:var(--surface);font:inherit;color:inherit;border-radius:10px;padding:10px 12px}.badge{background:var(--border);color:var(--text-muted);white-space:nowrap;border-radius:999px;align-self:flex-start;padding:2px 10px;font-size:.8rem;display:inline-block}.list-note{white-space:pre-wrap;overflow-wrap:anywhere}.form{flex-direction:column;gap:20px;display:flex}.field{border:none;flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;display:flex}.field-label{padding:0;font-weight:600}.field input,.field textarea{border:1px solid var(--border);background:var(--surface);border-radius:10px;width:100%;padding:10px 12px}.field textarea{resize:vertical}.hint{color:var(--text-muted);font-size:.9rem}.cover-current{position:relative}.cover-current-button{cursor:pointer;background:0 0;border:none;width:100%;padding:0;display:block}.cover-current-button .cover-large{margin-bottom:0}.cover-change{color:#2b2730;cursor:pointer;background:#ffffffd9;border:none;border-radius:999px;min-height:32px;padding:0 12px;font-size:.85rem;font-weight:600;position:absolute;bottom:8px;right:8px}.cover-grid{grid-template-columns:repeat(5,1fr);gap:8px;margin-top:12px;display:grid}@media (width>=560px){.cover-grid{grid-template-columns:repeat(6,1fr)}}.cover-option{border-radius:calc(var(--radius) + 4px);cursor:pointer;background:0 0;border:2px solid #0000;padding:2px}.cover-option.selected{border-color:var(--accent)}.cover-option .cover{font-size:1.6rem}.segmented{background:var(--border);border-radius:999px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.segmented-option{cursor:pointer;border-radius:999px;justify-content:center;align-items:center;min-height:40px;font-weight:600;display:flex}.segmented-option.selected{background:var(--surface);box-shadow:0 1px 3px #00000026}.segmented-option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.segmented-option input{opacity:0;pointer-events:none;position:absolute}.switch-field{cursor:pointer;flex-direction:column;gap:4px;display:flex}.switch-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.switch{appearance:none;background:var(--border);cursor:pointer;border-radius:999px;flex-shrink:0;width:52px;height:32px;margin:0;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:26px;height:26px;transition:transform .2s;position:absolute;top:3px;left:3px}.switch:checked{background:var(--accent)}.switch:checked:after{transform:translate(20px)}.switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.form-buttons{gap:12px;display:flex}
