:root{--bg:#eef4fb;--fg:#1b2430;--surface:#ffffff;--surface-soft:#f7faff;--line:#f1ddc1;--muted:#7c6242;--primary:#f39c12;--primary-strong:#d98206;--shadow-soft:0 8px 28px rgba(140,88,16,0.1);--shadow-strong:0 16px 40px rgba(140,88,16,0.16)}*{box-sizing:border-box}body,html{margin:0;padding:0;min-height:100%}body{font-family:Hiragino Kaku Gothic ProN,Yu Gothic,Noto Sans JP,system-ui,-apple-system,sans-serif;color:var(--fg);background:var(--bg);position:relative;display:flex;flex-direction:column;min-height:100vh}.site-main{flex:1 1;display:flex;flex-direction:column}.app-bg{position:fixed;inset:0;z-index:-1;background:radial-gradient(1400px 580px at 0 -20%,rgba(243,156,18,.24),transparent 60%),radial-gradient(1200px 520px at 100% -10%,rgba(217,130,6,.2),transparent 58%),var(--bg)}.shell{width:min(960px,calc(100% - 24px));margin:0 auto}.site-header{position:-webkit-sticky;position:sticky;top:0;z-index:30;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:linear-gradient(180deg,rgba(238,244,251,.95),rgba(238,244,251,.8));border-bottom:1px solid rgba(213,227,243,.9)}.header-inner{min-height:62px;display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;text-decoration:none;padding:6px 0;cursor:pointer}.brand-image{display:block;width:auto;height:32px}.header-nav{display:flex;align-items:center;gap:8px}.nav-link{text-decoration:none;color:#7a4a04;background:#fff1dd;border:1px solid #f1d2a4;border-radius:999px;padding:8px 14px;font-size:.88rem;font-weight:700}@media (max-width:640px){.header-inner{min-height:58px}.brand-image{height:24px}.header-nav{gap:6px}.nav-link{padding:7px 9px;font-size:.78rem}.hero-logo{width:min(100%,420px)}}.main-home{flex:1 1;display:grid;place-items:center;padding:28px 0 40px}.hero{text-align:center}.hero-title{margin:0 0 24px;display:flex;justify-content:center}.hero-logo{display:block;width:min(100%,560px);height:auto;filter:brightness(0) saturate(100%)}.hero-subtitle{margin:14px 0 28px;color:var(--muted)}.search-wrap{width:min(760px,100%);margin:0 auto}.search-form{display:grid;grid-template-columns:1fr auto;grid-gap:10px;gap:10px;padding:10px;border-radius:22px;border:1px solid var(--line);background:linear-gradient(180deg,var(--surface),var(--surface-soft));box-shadow:var(--shadow-soft)}.search-input{min-height:56px;border:none;border-radius:14px;padding:0 16px;background:#f4f8fd;color:var(--fg);font-size:1rem}.search-input:focus{outline:2px solid #f7bf6c}.search-button{min-width:140px;border:none;border-radius:14px;padding:0 20px;font-weight:700;color:#fff;background:linear-gradient(180deg,var(--primary),var(--primary-strong));box-shadow:0 8px 22px rgba(140,88,16,.3);cursor:pointer}.search-button:disabled{opacity:.7;cursor:wait}.status-text{margin:14px 8px 0;font-size:.93rem}.status-loading{color:#6d819a}.status-error{color:#b42318}.app-toast{position:fixed;right:18px;bottom:18px;z-index:60;min-width:220px;max-width:min(88vw,420px);border-radius:12px;padding:11px 14px;font-size:.86rem;font-weight:700;line-height:1.45;box-shadow:0 12px 32px rgba(20,30,45,.22);animation:toast-rise .24s ease}.app-toast-success{background:#eef9e9;border:1px solid #b4d89e;color:#2f6c14}.app-toast-error{background:#fff1ef;border:1px solid #f6b6ae;color:#b42318}@keyframes toast-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.result-card{margin-top:16px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow-strong)}.result-card-loading{overflow:hidden}.result-loading-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.result-loading-status{color:#6d819a;font-size:.84rem;font-weight:700}.result-loading-line,.result-loading-title{display:block;border-radius:999px;background:linear-gradient(90deg,#edf3fa,#ffffff,#edf3fa);background-size:200% 100%;animation:skeleton-pulse 1.4s ease-in-out infinite}.result-loading-title{width:min(68%,420px);height:20px;margin-bottom:14px}.result-loading-lines{display:grid;grid-gap:10px;gap:10px}.result-loading-line{width:100%;height:14px}.result-loading-line-short{width:82%}.result-title-link{text-decoration:none;color:var(--fg)}.result-source-badge{display:inline-flex;margin-bottom:8px;padding:4px 10px;border-radius:999px;background:#eef4fb;border:1px solid #d4e2f3;color:#4a6584;font-size:.75rem;font-weight:700}.result-title{margin:0 0 12px;font-size:1.2rem}.result-list{margin:0;padding-left:20px;display:grid;grid-gap:8px;gap:8px;color:#31465e;line-height:1.6}.result-line{opacity:0;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease}.result-line-visible{opacity:1;transform:translateY(0)}.history-page{padding:24px 0 70px;position:relative}.history-head h1{margin:0}.history-head p{margin:8px 0 16px;color:var(--muted)}.history-page-link{position:absolute;right:0;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid #d4e2f3;border-radius:999px;background:rgba(255,255,255,.92);color:#5d7693;font-size:.86rem;font-weight:700;text-decoration:none;box-shadow:var(--shadow-soft)}.history-page-link-icon{width:18px;height:18px}.history-page-link:hover{border-color:#edc387;color:#8a5205}.history-page-link-back,.history-page-link-trash{top:74px}.history-page-link-back{top:24px}.history-toolbar{position:absolute;top:24px;right:0;width:min(280px,calc(100% - 180px))}.history-search-input{width:100%;min-height:40px;border:1px solid #d4e2f3;border-radius:999px;padding:0 14px;background:rgba(255,255,255,.92);color:var(--fg);font-size:.94rem}.history-search-input:focus{outline:2px solid #c3daf7;border-color:#a7c9f2}.empty-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:24px}.history-groups{display:grid;grid-gap:24px;gap:24px}.day-group h2{margin:0 0 10px;font-size:1rem;color:#365576}.history-list{list-style:none;padding:0;margin:0;display:grid;grid-gap:12px;gap:12px}.history-skeleton-heading{display:block;width:96px;height:24px;margin-bottom:10px;border-radius:999px;background:linear-gradient(90deg,#edf3fa,#ffffff,#edf3fa);background-size:200% 100%;animation:skeleton-pulse 1.4s ease-in-out infinite}.history-item{display:block;position:relative;text-decoration:none;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow-soft)}.history-item-clickable{cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.history-item-clickable:hover{border-color:#edc387;box-shadow:0 12px 28px rgba(140,88,16,.14);transform:translateY(-1px)}.history-item-clickable:focus-visible{outline:2px solid #f7bf6c;outline-offset:2px}.history-item-skeleton{pointer-events:none;min-height:144px}.history-item-title-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}.history-item-title-row h3{margin:0;font-size:1rem}.history-item-actions{display:flex;align-items:center;gap:10px;min-width:0}.history-item-url{color:#6d819a;font-size:.75rem;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-delete-button{flex:0 0 auto;border:none;border-radius:0;width:28px;height:28px;padding:0;background:transparent;color:#8a5205;font-size:1rem;font-weight:700;cursor:pointer}.history-delete-button:hover:not(:disabled){color:#d98206}.history-delete-button:disabled{opacity:.7;cursor:wait}.history-restore-button,.trash-empty-button{flex:0 0 auto;border:1px solid #f0cf9f;border-radius:999px;padding:6px 12px;background:#fff7eb;color:#8a5205;font-size:.76rem;font-weight:700;cursor:pointer}.history-restore-button:hover:not(:disabled),.trash-empty-button:hover:not(:disabled){background:#fff1da}.history-restore-button:disabled,.trash-empty-button:disabled{opacity:.7;cursor:wait}.trash-toolbar{position:absolute;top:66px;right:0;display:flex;justify-content:flex-end;margin:0}.trash-empty-button{border-color:#f2b0a8;background:#fff1ef;color:#b42318}.trash-empty-button:hover:not(:disabled){background:#ffe4df}.sr-only{width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.history-item-time,.sr-only{position:absolute;white-space:nowrap}.history-item-time{right:16px;bottom:14px;color:var(--muted);font-size:.76rem}.history-item ol{margin:0;padding-left:1.4em;padding-right:170px;color:#385471;line-height:1.6}.history-skeleton-lines{display:grid;grid-gap:8px;gap:8px;padding-right:170px;min-height:76px;align-content:start}.history-skeleton-line,.history-skeleton-time,.history-skeleton-title,.history-skeleton-url{display:block;border-radius:999px;background:linear-gradient(90deg,#edf3fa,#ffffff,#edf3fa);background-size:200% 100%;animation:skeleton-pulse 1.4s ease-in-out infinite}.history-skeleton-title{width:180px;height:16px}.history-skeleton-url{width:96px;height:12px}.history-skeleton-line{width:100%;height:12px}.history-skeleton-line-short{width:72%}.history-skeleton-time{position:absolute;right:16px;bottom:14px;width:72px;height:12px}.faq-page{padding:28px 0 70px}.faq-head{text-align:center;margin-bottom:22px}.faq-head h1{margin:0;font-size:clamp(2rem,5vw,3rem);color:#7a4a04}.faq-head p{margin:10px 0 0;color:var(--muted)}.faq-list{display:grid;grid-gap:12px;gap:12px}.faq-item{border:1px solid var(--line);background:var(--surface);border-radius:18px;box-shadow:var(--shadow-soft);overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.faq-item:hover{border-color:#edc387;box-shadow:0 12px 28px rgba(140,88,16,.14)}.faq-item-open{background:linear-gradient(180deg,#fffdfa,#fff7eb);border-color:#f0cf9f}.faq-trigger{width:100%;border:none;background:transparent;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;color:var(--fg);cursor:pointer}.faq-trigger:hover .faq-question{color:#8a5205}.faq-question{font-size:1.05rem;font-weight:700;line-height:1.5;color:#5b3e16;transition:color .18s ease}.faq-icon{flex:0 0 auto;width:26px;text-align:center;color:#d98206;font-size:1.45rem;font-weight:700;line-height:1}.faq-answer-wrap{padding:0 20px 20px}.faq-answer{margin:0;color:#5c4a33;line-height:1.8}.quick-series-cta{padding:8px 0 18px;text-align:center}.quick-series-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border:2px solid transparent;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,251,244,.98)) padding-box,linear-gradient(90deg,#2f7cf4,#22b8ff 32%,#43cf7b 60%,#f39c12) border-box;color:#24364c;font-size:.98rem;font-weight:800;text-decoration:none;box-shadow:0 12px 26px rgba(42,76,118,.12);transition:transform .16s ease,box-shadow .16s ease}.quick-series-link:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(42,76,118,.16)}@keyframes skeleton-pulse{0%{background-position:200% 0}to{background-position:-200% 0}}.site-footer{border-top:1px solid rgba(213,227,243,.9);background:linear-gradient(180deg,rgba(244,248,253,.66),rgba(238,244,251,.9))}.footer-inner{min-height:44px;flex-direction:column;color:#617995;font-size:.74rem;gap:4px;padding:6px 0}.footer-inner,.site-footer-links{display:flex;align-items:center;justify-content:center}.site-footer-links{flex-wrap:wrap;gap:10px}.site-footer-link{color:#4f657f;font-size:.78rem;font-weight:500;text-decoration:none}.site-footer-link:hover{text-decoration:underline}.site-footer-copy{color:#6c7f97;font-size:.72rem}@media (max-width:760px){.search-form{grid-template-columns:1fr}.search-button{min-height:48px}.history-item-title-row{display:grid;grid-gap:4px;gap:4px}.result-loading-meta{align-items:flex-start;flex-direction:column}.history-toolbar{position:static;width:auto;margin:8px 0 10px}.history-page-link,.trash-toolbar{position:static;margin:0 0 10px auto}.history-search-input{width:100%}.history-item-url{max-width:100%}.history-item-actions{justify-content:space-between}.history-item ol{padding-right:0}.history-skeleton-lines{padding-right:0;min-height:auto}.history-item-time{position:static;display:block;margin-top:10px;text-align:right}.history-skeleton-time{position:static;margin-top:10px;margin-left:auto}.faq-trigger{padding:16px}.faq-answer-wrap{padding:0 16px 16px}.footer-inner{padding:6px 0;text-align:center}.app-toast{right:10px;left:10px;bottom:10px;max-width:none}}