body{color:#333;background-color:#f8f8f8;margin:0;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.login-container{justify-content:center;align-items:flex-start;min-height:100vh;padding-top:100px;display:flex}.glass-card{text-align:center;background-color:#fff;border:1px solid #e7e7e7;border-radius:4px;width:100%;max-width:400px;padding:30px;box-shadow:0 2px 4px #0000000d}.login-title{color:#333;margin:0 0 10px;font-size:24px}.login-subtitle{color:#777;margin-bottom:20px;font-size:14px}.login-form{flex-direction:column;gap:15px;display:flex}.input-group{position:relative}.glass-input{box-sizing:border-box;color:#555;background-color:#fff;border:1px solid #ccc;border-radius:4px;outline:none;width:100%;padding:10px 12px;font-size:14px}.glass-input:focus{border-color:#66afe9;box-shadow:inset 0 1px 1px #00000013,0 0 8px #66afe999}.login-button{color:#fff;cursor:pointer;background-color:#337ab7;border:1px solid #2e6da4;border-radius:4px;padding:10px;font-size:14px;transition:background-color .2s}.login-button:hover{background-color:#286090}.login-button:disabled{opacity:.65;cursor:not-allowed;background-color:#337ab7}.error-message{color:#a94442;background-color:#f2dede;border:1px solid #ebccd1;border-radius:4px;margin-bottom:15px;padding:10px;font-size:14px}.background-shapes{display:none}body{margin:0}.layout-container{flex-direction:column;min-height:100vh;display:flex}.site-header{color:#fff;z-index:2000;background-color:#2fa4e7;height:56px;position:fixed;top:0;left:0;right:0;box-shadow:0 2px 4px #0000001a}.header-container{justify-content:space-between;align-items:center;max-width:100%;height:100%;margin:0 auto;padding:0 15px;display:flex}.menu-button-pc{color:#fff;cursor:pointer;background:0 0;border:1px solid #ffffff4d;border-radius:4px;margin-left:15px;padding:5px 10px}.menu-button-pc:hover{background-color:#ffffff1a}.site-brand{align-items:center;margin-left:0;display:flex}.site-title{color:#fff;white-space:nowrap;margin:0;font-size:20px;font-weight:400;text-decoration:none}.header-right{align-items:center;display:flex}.auth-status{background:#ffffff26;border-radius:20px;align-items:center;gap:10px;padding:4px 10px;font-size:13px;display:flex}.user-email{font-weight:700}.header-logout-btn{color:#d9534f;cursor:pointer;background:#fff;border:none;border-radius:12px;padding:2px 8px;font-size:12px;font-weight:700}.header-logout-btn:hover{background:#f8d7da}.sidebar{z-index:1000;background-color:#f8f8f8;border-right:1px solid #e7e7e7;flex-direction:column;width:250px;padding-top:20px;transition:transform .3s;display:flex;position:fixed;top:56px;bottom:0;left:0;overflow-y:auto}.sidebar-header{display:none}.sidebar-nav{flex-direction:column;flex:1 0 auto;padding:0 15px;display:flex}.nav-link{color:#337ab7;border-radius:4px;align-items:center;gap:10px;padding:10px 15px;font-size:14px;text-decoration:none;display:flex;position:relative}.nav-sekijin-icon{vertical-align:middle;flex-shrink:0;display:inline-block}.nav-link:hover{color:#23527c;background-color:#eee}.nav-link.active{color:#fff;background-color:#3ca2e0}.menu-tile-badge{color:#fff;z-index:1;background:#ff9800;border-radius:6px;padding:1px 4px;font-size:8px;font-weight:700;position:absolute;top:13px;right:12px;box-shadow:0 1px 3px #00000026}.sidebar-footer-actions{background:#f8f9fa;border-top:1px solid #eee;flex-direction:column;gap:8px;margin-top:auto;padding:15px;display:flex}.sidebar-action-btn{box-sizing:border-box;text-align:center;cursor:pointer;border:none;border-radius:20px;width:100%;padding:10px 15px;font-size:13px;font-weight:700;display:block;box-shadow:0 2px 4px #0000000d;text-decoration:none!important}.btn-settings{background:#e9ecef;color:#333!important}.btn-admin{background:#455a64;color:#fff!important}.btn-logout{background:#fff;border:1px solid #d32f2f;border-radius:18px;align-self:flex-end;width:auto;padding:8px 16px;font-size:13px;color:#d32f2f!important}.menu-button-pc{display:none}.main-content{text-align:left;background-color:#fff;flex:1;margin-top:56px;margin-left:250px;padding:10px 8px}.content-wrapper{width:100%;max-width:1320px}.main-content h1,.main-content h2,.main-content h3,.main-content h4,.main-content p{text-align:left;margin-bottom:12px}.main-content ul,.main-content ol{text-align:left;margin-top:8px;margin-bottom:16px;padding-left:24px;list-style-position:outside}.main-content li{text-align:left;margin-bottom:6px}.main-content li>ul,.main-content li>ol{margin-top:4px;margin-bottom:4px;padding-left:20px;list-style-type:circle}.main-content li>ul li>ul{list-style-type:square}.admonition{background-color:#f0f7ff;border-left:4px solid #3ca2e0;border-radius:4px;margin-top:15px;margin-bottom:20px;padding:16px 20px;box-shadow:0 1px 3px #0000000d}.admonition.info{background-color:#f0f7ff;border-left-color:#3ca2e0}.admonition-title{color:#1e6fa3;margin:0 0 10px;font-size:15px;font-weight:700}.mobile-bottom-nav{z-index:1000;width:100%;padding-bottom:env(safe-area-inset-bottom,0);box-sizing:border-box;isolation:isolate;contain:layout paint;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:#fff;border-top:1px solid #e0e0e0;justify-content:space-around;align-items:center;height:auto;min-height:60px;padding-top:6px;padding-left:6px;padding-right:6px;display:none;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 10px #0000000d}.nav-sliding-pill{pointer-events:none;z-index:1;width:calc(25% - 3px);transform:translateX(calc(100% * var(--active-nav-index,0)));will-change:transform;background:#1e6fa31f;border-radius:9999px;transition:transform .28s cubic-bezier(.34,1.56,.64,1);position:absolute;top:4px;bottom:4px;left:6px}.bottom-nav-item{color:#616161;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;background:0 0;border:none;border-radius:9999px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;min-width:0;height:48px;padding:3px 0 2px;font-size:10.5px;font-weight:500;text-decoration:none;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;position:relative}.bottom-nav-item:active{transform:scale(.92)}.bottom-nav-icon-container{justify-content:center;align-items:center;display:inline-flex;position:relative}.bottom-nav-icon{font-size:20px;line-height:1;transition:transform .2s cubic-bezier(.34,1.56,.64,1)}.bottom-menu-svg{color:#555;transition:color .2s,transform .2s cubic-bezier(.34,1.56,.64,1)}.bottom-nav-label{letter-spacing:-.01em;color:#555;font-size:10.5px;font-weight:500;line-height:1;transition:color .2s,font-weight .2s}.bottom-nav-item.active .bottom-nav-icon{transform:scale(1.1)}.bottom-nav-item.active .bottom-menu-svg{color:#1e6fa3;transform:scale(1.1)}.bottom-nav-item.active .bottom-nav-label{color:#1e6fa3;font-weight:700}.bottom-badge-dot{z-index:10;background-color:#ff3b30;border:1.5px solid #fff;border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;right:-5px;box-shadow:0 1px 3px #00000040}@media (width<=1024px){.menu-button-pc,.auth-status{display:none}.site-brand{margin-left:0}.sidebar{opacity:0;visibility:hidden;pointer-events:none;z-index:1050;background:#f8f9fa;border-bottom:1px solid #e0e0e0;border-radius:0 0 16px 16px;flex-direction:column;width:100%;height:auto;max-height:calc(100dvh - 120px);padding-top:10px;padding-bottom:12px;transition:transform .3s,opacity .3s,visibility .3s;display:flex;inset:56px 0 auto;overflow-y:auto;transform:translateY(-100%);box-shadow:0 4px 15px #0000001a}.sidebar.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.sidebar-header{border-bottom:1px solid #e7e7e7;justify-content:space-between;align-items:center;padding:10px 20px;display:flex}.sidebar-title{color:#333;margin:0;font-size:16px;font-weight:700}.close-button{cursor:pointer;color:#777;background:0 0;border:none;justify-content:center;align-items:center;font-size:20px;display:flex}.sidebar-nav{flex:none;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px;display:grid}.nav-link{color:#333;background:#fff;border:1px solid #f0f0f0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;height:75px;padding:10px 4px;font-size:11px;font-weight:700;display:flex;position:relative;box-shadow:0 2px 4px #0000000d;text-decoration:none!important}.menu-tile-badge{color:#fff;z-index:1;background:#ff9800;border-radius:6px;padding:1px 4px;font-size:8px;font-weight:700;position:absolute;top:-3px;right:-3px;box-shadow:0 1px 3px #00000026}.nav-link.with-badge{background:#fcfcfc}.sidebar-footer-actions{margin-top:0;padding:10px 20px 6px}.nav-link .nav-icon{margin-bottom:2px;font-size:24px;line-height:1}.nav-link .nav-text{white-space:nowrap;font-size:11px}.nav-link:hover{background-color:#f0f7ff}.nav-link.active{color:#333;background-color:#fff;border-color:#e0e0e0}.nav-link.active .nav-icon{filter:none}.site-header{z-index:2000;height:56px;position:fixed;top:0;left:0;right:0}.main-content{padding:8px 6px;padding-bottom:calc(60px + env(safe-area-inset-bottom,0) + 15px)!important;margin-top:56px!important;margin-left:0!important}.sidebar-overlay{z-index:1040;background:#0006;position:fixed;inset:56px 0 0}.mobile-bottom-nav{z-index:1000;display:flex;position:fixed;bottom:0;left:0;right:0}}@media (display-mode:standalone) and (width<=1024px) and (orientation:portrait){.layout-container{flex-direction:column;height:100dvh;display:flex;position:relative;overflow:hidden}.site-header{z-index:2000;flex:0 0 56px;position:relative;top:auto;left:auto;right:auto}.main-content{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;flex:auto;min-height:0;overflow-y:auto;padding:8px 6px!important;padding-bottom:calc(58px + env(safe-area-inset-bottom,0px) + 28px)!important;margin-top:0!important}.sidebar-overlay{position:absolute;inset:56px 0 0}.mobile-bottom-nav{bottom:calc(10px + env(safe-area-inset-bottom,0px));box-sizing:border-box;-webkit-backdrop-filter:blur(24px)saturate(180%);z-index:1000;isolation:isolate;background:#ffffffdb;border:1px solid #fffc;border-radius:9999px;justify-content:space-around;align-items:center;width:calc(100% - 32px);max-width:420px;height:58px;min-height:58px;margin:0 auto;padding:3px 6px;display:flex;position:absolute;left:16px;right:16px;box-shadow:0 12px 32px -4px #0000001f,0 4px 12px -2px #0000000d}}@media (width<=1024px) and (orientation:portrait){html.is-pwa .layout-container{flex-direction:column;height:100dvh;display:flex;position:relative;overflow:hidden}html.is-pwa .site-header{z-index:2000;flex:0 0 56px;position:relative;top:auto;left:auto;right:auto}html.is-pwa .main-content{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;flex:auto;min-height:0;overflow-y:auto;padding:8px 6px!important;padding-bottom:calc(58px + env(safe-area-inset-bottom,0px) + 28px)!important;margin-top:0!important}html.is-pwa .sidebar-overlay{position:absolute;inset:56px 0 0}html.is-pwa .mobile-bottom-nav{bottom:calc(10px + env(safe-area-inset-bottom,0px));box-sizing:border-box;-webkit-backdrop-filter:blur(24px)saturate(180%);z-index:1000;isolation:isolate;background:#ffffffdb;border:1px solid #fffc;border-radius:9999px;justify-content:space-around;align-items:center;width:calc(100% - 32px);max-width:420px;height:58px;min-height:58px;margin:0 auto;padding:3px 6px;display:flex;position:absolute;left:16px;right:16px;box-shadow:0 12px 32px -4px #0000001f,0 4px 12px -2px #0000000d}}.disaster-alert-bar{color:#fff;text-align:center;cursor:pointer;z-index:2050;background-color:#d9534f;flex:none;justify-content:center;align-items:center;gap:8px;padding:10px 15px;font-size:14px;font-weight:700;animation:2s infinite pulseDisaster;display:flex;position:relative;box-shadow:0 2px 8px #0003}@keyframes pulseDisaster{0%{background-color:#d9534f}50%{background-color:#c9302c}to{background-color:#d9534f}}@media (width>=1025px){.disaster-alert-bar{position:fixed;top:0;left:0;right:0}.layout-container.disaster-active .site-header{top:41px}.layout-container.disaster-active .sidebar{top:97px}.layout-container.disaster-active .main-content{margin-top:97px}}.layout-container.disaster-active .site-header{box-shadow:0 4px 6px #00000026;background-color:#d9534f!important}.layout-container.disaster-active .site-title:after{content:" 🚨[非常用]";color:#ffeb3b;font-size:12px;font-weight:700}@media (width<=1024px) and (orientation:landscape),(orientation:landscape) and (height<=600px){html,body,#root,.layout-container{-webkit-overflow-scrolling:touch;height:auto!important;min-height:100dvh!important;display:block!important;overflow:hidden auto!important}.site-header,.mobile-bottom-nav{display:none!important}.main-content{padding-top:calc(env(safe-area-inset-top,0) + 6px)!important;padding-bottom:calc(env(safe-area-inset-bottom,0) + 6px)!important;padding-left:calc(env(safe-area-inset-left,0) + 10px)!important;padding-right:calc(env(safe-area-inset-right,0) + 10px)!important;height:auto!important;min-height:100vh!important;margin-top:0!important;margin-left:0!important;overflow-y:visible!important}.ios-pwa .main-content{padding-bottom:calc(env(safe-area-inset-bottom,0) + 6px)!important}.sidebar{border-radius:0 0 16px 16px;max-height:100dvh!important;top:0!important}.sidebar:not(.open){display:none!important}.sidebar-overlay{position:fixed;inset:0}.landscape-floating-menu-btn{display:flex!important}.layout-container.disaster-active .site-header{display:none!important}.layout-container.disaster-active .main-content{margin-top:32px!important}.layout-container.disaster-active .disaster-alert-bar{padding:4px 10px;font-size:11px}}.landscape-floating-menu-btn{bottom:calc(env(safe-area-inset-bottom,0) + 12px);right:calc(env(safe-area-inset-right,0) + 14px);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;z-index:1500;cursor:pointer;background:#0f172abf;border:1px solid #fff3;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:none;box-shadow:0 4px 12px #00000040;position:fixed!important}.landscape-floating-menu-btn:active{background:#0f172af2;transform:scale(.92)}.home-container{box-sizing:border-box;justify-content:center;align-items:center;max-width:100%;min-height:calc(100vh - 7.5rem);margin:0 auto;padding:.6rem;display:flex}.device-frame{box-sizing:border-box;background:#fff;border:.25rem solid #f5f5f5;border-radius:2.5rem;width:100%;max-width:28rem;margin:.6rem auto;padding:2.8rem 1rem 4.2rem;transition:all .3s;position:relative;box-shadow:0 1.25rem 3.125rem #00000026,0 0 0 .75rem #e0e0e0}.device-frame:after{content:"";cursor:pointer;background:radial-gradient(circle,#fcfcfc 0%,#e0e0e0 100%);border:.125rem solid #ccc;border-radius:50%;width:2.75rem;height:2.75rem;position:absolute;bottom:.75rem;left:50%;transform:translate(-50%);box-shadow:inset 0 .125rem .3125rem #0000001a,0 .0625rem .1875rem #0000001a}.device-frame:before{content:"";background:#333;border-radius:.1875rem;width:5rem;height:.375rem;position:absolute;top:1.125rem;left:50%;transform:translate(-50%)}@media (width<=1023px){.home-container{min-height:auto;padding:0}.device-frame{box-shadow:none;background:0 0;border:none;border-radius:0;max-width:100%;margin:0;padding:.6rem}.device-frame:before,.device-frame:after{display:none}}.screen-content{box-sizing:border-box;flex-direction:column;gap:1.25rem;width:100%;display:flex}.chalkboard-wrapper{filter:drop-shadow(0 .5rem 1rem #00000026);margin-bottom:.3rem}.chalkboard-wood-border{background-color:#703c1e;border:.625rem solid #8e5230;border-radius:.75rem;padding:.25rem;position:relative;box-shadow:inset 0 .1875rem .625rem #0009}.chalkboard-screen{box-sizing:border-box;background:radial-gradient(circle,#2d613b 0%,#15391d 100%);border-radius:.375rem;flex-direction:column;justify-content:center;min-height:9rem;padding:1.5rem 1.25rem;display:flex;position:relative;box-shadow:inset 0 .3125rem .9375rem #00000080}.chalkboard-title{color:#f1c40f;text-shadow:0 0 .125rem #f1c40f80,0 0 .25rem #0006;text-align:left;margin:0 0 .75rem;font-size:1.35rem;font-weight:800;line-height:1.3}.chalkboard-body{color:#f5f6fa;text-shadow:0 0 .1875rem #fff9,0 0 .3125rem #0006;text-align:left;margin:0;font-size:1.5rem;font-weight:800;line-height:1.5}.chalk-tray{background:linear-gradient(#7a4627 0%,#542d16 100%);border-radius:0 0 .5rem .5rem;height:.75rem;margin-top:-.25rem;position:relative;box-shadow:0 .1875rem .3125rem #0000004d}.chalk-tray:before{content:"";background:#f1c40f;border-radius:.125rem;width:2rem;height:.375rem;position:absolute;top:-.25rem;left:1.25rem;transform:rotate(2deg);box-shadow:0 .0625rem .125rem #0003}.chalk-tray:after{content:"";background:#1e3799;border-top:.1875rem solid #ff7979;border-radius:.1875rem;width:2.8rem;height:.625rem;position:absolute;top:-.3125rem;right:2.5rem;box-shadow:0 .0625rem .1875rem #0000004d}.light-action-buttons{flex-direction:column;gap:1rem;width:100%;display:flex}.light-btn-link{outline:none;display:block;text-decoration:none!important}.light-btn{color:#fff;text-align:left;cursor:pointer;box-sizing:border-box;border:none;border-radius:1.25rem;align-items:center;width:100%;min-height:5.5rem;padding:1.1rem 1.25rem;font-size:1.45rem;font-weight:800;transition:transform .2s cubic-bezier(.175,.885,.32,1.275),box-shadow .2s,filter .2s;display:flex;box-shadow:0 .5rem 1.25rem #0003,inset 0 .125rem .25rem #ffffff40}.light-btn:hover{transform:translateY(-.1875rem);box-shadow:0 .75rem 1.5625rem #00000040,inset 0 .125rem .25rem #ffffff4d}.light-btn:active{filter:brightness(.95);transform:translateY(.0625rem);box-shadow:0 .25rem .625rem #00000026,inset 0 .125rem .25rem #00000026}.btn-announcement{background:linear-gradient(135deg,#ff9f43 0%,coral 100%);border-bottom:.3125rem solid #d35400}.btn-circular{background:linear-gradient(135deg,#a55eea 0%,#8854d0 100%);border-bottom:.3125rem solid #6f30a0}.btn-calendar{background:linear-gradient(135deg,#0abde3 0%,#2e86de 100%);border-bottom:.3125rem solid #1d64b4}.btn-pr{background:linear-gradient(135deg,#2ed573 0%,#20bf6b 100%);border-bottom:.3125rem solid #169450}.btn-disaster{background:linear-gradient(135deg,#ff5252 0%,#ee5253 100%);border-bottom:.3125rem solid #c0392b}.btn-icon-wrapper{background-color:#fffffff2;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:3.5rem;height:3.5rem;margin-right:1.1rem;display:flex;box-shadow:0 .25rem .625rem #0000001a}.btn-announcement .btn-icon-wrapper{color:#d35400}.btn-circular .btn-icon-wrapper{color:#6f30a0}.btn-calendar .btn-icon-wrapper{color:#1d64b4}.btn-pr .btn-icon-wrapper{color:#169450}.btn-disaster .btn-icon-wrapper{color:#c0392b}.btn-city-events .btn-icon-wrapper{color:#0f766e}.btn-label{letter-spacing:.03em;text-shadow:0 .0625rem .1875rem #0003;word-break:break-all;flex-grow:1;line-height:1.3}.btn-arrow{opacity:.85;flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;display:flex}.admin-quick-section{border-top:.0625rem dashed #ccc;flex-direction:column;gap:.6rem;margin-top:.9rem;padding-top:.9rem;display:flex}.chalkboard-speak-btn{color:#fff;cursor:pointer;text-shadow:0 .0625rem .125rem #00000080;background-color:#ffffff26;border:1px solid #ffffff73;border-radius:1.25rem;outline:none;align-items:center;gap:.35rem;padding:.35rem .75rem;font-family:inherit;font-size:.85rem;font-weight:800;transition:all .2s;display:flex}.chalkboard-speak-btn:hover{background-color:#ffffff40;transform:scale(1.05)}.chalkboard-speak-btn:active{transform:scale(.95)}.chalkboard-speak-btn.speaking{color:#1b3d22;text-shadow:none;background-color:#f1c40f;border-color:#f1c40f;animation:1.5s ease-in-out infinite speakPulse}@keyframes speakPulse{0%{opacity:.85}to{opacity:1}}.qs-panel{background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);border:1px solid #ffffff14;border-radius:16px;margin-bottom:20px;padding:18px;box-shadow:0 4px 24px #0000002e}.qs-header{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.qs-title{color:#e2e8f0;letter-spacing:.01em;align-items:center;gap:8px;font-size:.95em;font-weight:700;display:flex}.qs-title-badge{color:#fff;letter-spacing:.05em;background:linear-gradient(135deg,#f59e0b,#ef4444);border-radius:20px;padding:2px 8px;font-size:.7em;font-weight:700;animation:2s ease-in-out infinite qs-pulse}@keyframes qs-pulse{0%,to{opacity:1}50%{opacity:.7}}.qs-toggle-icon{color:#ffffff80;font-size:.85em;transition:transform .2s}.qs-toggle-icon.open{transform:rotate(180deg)}.qs-tag-grid{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px;display:grid}.qs-tag-btn{color:#cbd5e1;cursor:pointer;text-align:left;word-break:keep-all;overflow-wrap:break-word;background:#ffffff0f;border:1.5px solid #ffffff1f;border-radius:10px;align-items:center;gap:6px;padding:10px 12px;font-size:.82em;font-weight:600;line-height:1.3;transition:all .18s;display:flex}.qs-tag-btn:hover{background:#ffffff1f;border-color:#ffffff40;transform:translateY(-1px)}.qs-tag-btn.selected{color:#90cdf4;background:#63b3ed33;border-color:#63b3ed;box-shadow:0 0 12px #63b3ed33}.qs-tag-btn.security.selected{color:#fca5a5;background:#ef444433;border-color:#f87171;box-shadow:0 0 12px #ef444433}.qs-tag-btn.infra.selected{color:#93c5fd;background:#3b82f633;border-color:#60a5fa;box-shadow:0 0 12px #3b82f633}.qs-tag-btn.construction.selected{color:#fde68a;background:#f59e0b33;border-color:#fbbf24;box-shadow:0 0 12px #f59e0b33}.qs-tag-btn.other.selected{color:#a7f3d0;background:#a7f3d026;border-color:#6ee7b7;box-shadow:0 0 12px #a7f3d026}.qs-input-row{gap:8px;margin-bottom:12px;display:flex}.qs-text-input{color:#e2e8f0;background:#ffffff12;border:1.5px solid #ffffff1f;border-radius:10px;outline:none;flex:1;padding:10px 14px;font-size:.88em;transition:border-color .18s}.qs-text-input::placeholder{color:#ffffff4d}.qs-text-input:focus{background:#ffffff1a;border-color:#63b3ed80}.qs-submit-btn{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border:none;border-radius:10px;padding:10px 18px;font-size:.88em;font-weight:700;transition:all .18s;box-shadow:0 2px 8px #3b82f659}.qs-submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1e40af);transform:translateY(-1px);box-shadow:0 4px 12px #3b82f673}.qs-submit-btn:disabled{opacity:.5;cursor:not-allowed}.qs-message{border-radius:8px;margin-bottom:10px;padding:8px 12px;font-size:.82em;font-weight:600}.qs-message.error{color:#fca5a5;background:#ef444426;border:1px solid #ef44444d}.qs-message.success{color:#a7f3d0;background:#a7f3d026;border:1px solid #a7f3d04d}.qs-timeline-divider{background:#ffffff14;height:1px;margin:12px 0}.qs-timeline-label{color:#ffffff59;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px;font-size:.75em;font-weight:600}.qs-timeline{flex-direction:column;gap:8px;display:flex}.qs-card{background:#ffffff0d;border:1px solid #ffffff17;border-radius:10px;align-items:flex-start;gap:10px;padding:10px 13px;animation:.25s qs-slideIn;display:flex}@keyframes qs-slideIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.qs-card-icon{flex-shrink:0;margin-top:1px;font-size:1.4em}.qs-card-body{flex:1;min-width:0}.qs-card-category{color:#94a3b8;margin-bottom:3px;font-size:.78em;font-weight:700}.qs-card-text{color:#cbd5e1;word-break:break-word;overflow-wrap:break-word;font-size:.88em;line-height:1.45}.qs-card-meta{color:#ffffff4d;margin-top:4px;font-size:.72em}.qs-empty{text-align:center;color:#ffffff40;padding:12px 0 4px;font-size:.82em}.qs-skeleton{background:#ffffff0f;border-radius:6px;height:14px;animation:1.5s ease-in-out infinite qs-shimmer}@keyframes qs-shimmer{0%,to{opacity:.4}50%{opacity:.7}}@media (width<=400px){.qs-tag-grid{grid-template-columns:1fr}}.qs-panel .check-result{border-radius:10px;margin-bottom:12px;padding:12px 16px;font-size:.85em;line-height:1.5;animation:.3s ease-out forwards qs-slideUp}.qs-panel .check-result.checking{color:#a5b4fc;background:#6366f11a;border:1px dashed #6366f14d;align-items:center;gap:8px;display:flex}.qs-panel .check-result.checking .spinner{animation:2s ease-in-out infinite qs-float;display:inline-block}.qs-panel .check-result.approved{color:#34d399;background:#10b9811a;border:1px solid #10b9814d}.qs-panel .check-result.rejected{color:#fbbf24;background:#f59e0b14;border:1px solid #f59e0b33}.qs-panel .check-result.rejected .rejected-title{font-weight:600}.qs-panel .check-result.rejected .rejected-reason{color:#f59e0b;border-top:1px dashed #f59e0b33;margin-top:8px;padding-top:8px;font-size:.95em}.qs-panel .check-result.error{color:#f87171;background:#ef44441a;border:1px solid #ef44444d}.qs-panel .check-result.rate-limited{color:#fbbf24;background:#f59e0b14;border:1px solid #f59e0b33}@keyframes qs-slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes qs-float{0%{transform:translateY(0)}50%{transform:translateY(-4px)}to{transform:translateY(0)}}.qs-card-text{white-space:pre-wrap}textarea.qs-text-input{resize:none;min-height:52px;font-family:inherit;line-height:1.4}.qs-edit-container{flex-direction:column;gap:6px;width:100%;display:flex}.qs-edit-label{color:#94a3b8;font-size:.75em;font-weight:600}.qs-tag-grid.compact{grid-template-columns:repeat(2,1fr);gap:4px}.qs-tag-btn.compact{padding:6px 10px;font-size:.76em}.qs-edit-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.qs-edit-btn{cursor:pointer;border:none;border-radius:8px;padding:6px 14px;font-size:.8em;font-weight:700;transition:all .15s}.qs-edit-btn.save{color:#fff;background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 2px 6px #10b98133}.qs-edit-btn.save:hover:not(:disabled){background:linear-gradient(135deg,#34d399,#059669);transform:translateY(-1px)}.qs-edit-btn.cancel{color:#cbd5e1;background:#ffffff14;border:1px solid #ffffff1a}.qs-edit-btn.cancel:hover:not(:disabled){background:#ffffff26}.qs-edit-btn:disabled{opacity:.5;cursor:not-allowed}.qs-card-header-row{justify-content:space-between;align-items:center;margin-bottom:3px;display:flex}.qs-card-category{margin-bottom:0}.qs-card-actions{gap:6px;display:flex}.qs-action-btn{cursor:pointer;opacity:.65;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:4px;font-size:.9em;transition:background .18s;display:flex}.qs-action-btn:hover{opacity:1;background:#ffffff14}.qs-card-reactions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.qs-reaction-btn{cursor:pointer;color:#94a3b8;-webkit-user-select:none;user-select:none;background:#ffffff0a;border:1px solid #ffffff14;border-radius:20px;align-items:center;gap:4px;padding:4px 8px;font-size:.72em;transition:all .15s;display:flex}.qs-reaction-btn:hover:not(:disabled){color:#e2e8f0;background:#ffffff1a;border-color:#fff3}.qs-reaction-btn.active{color:#60a5fa;background:#3b82f626;border-color:#3b82f666;box-shadow:0 0 6px #3b82f626}.qs-reaction-btn.active:hover:not(:disabled){color:#93c5fd;background:#3b82f640;border-color:#3b82f680}.qs-reaction-btn:disabled{cursor:not-allowed;opacity:.6}.road-love-card{color:#1e293b;text-align:left;background:linear-gradient(#f0fdf4 0%,#fff 100%);border:2px solid #86efac;border-radius:18px;margin-bottom:14px;padding:16px;position:relative;overflow:hidden;box-shadow:0 6px 18px #1665341a}.road-love-card.status-upcoming{background:linear-gradient(#fffbeb 0%,#fff 100%);border-color:#fcd34d}.road-love-card.status-active{background:linear-gradient(#ecfdf5 0%,#fff 100%);border-color:#34d399}.road-love-card.status-cancelled{background:linear-gradient(#eff6ff 0%,#fff 100%);border-color:#93c5fd}.road-love-card.status-completed{background:linear-gradient(#f0fdfa 0%,#fff 100%);border-color:#5eead4}.road-love-header{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:10px;display:flex}.road-love-title-group{flex:1;align-items:center;gap:10px;display:flex}.road-love-mascot{object-fit:cover;background-color:#fff;border:2px solid #22c55e;border-radius:50%;flex-shrink:0;width:42px;height:42px;box-shadow:0 2px 6px #0000001a}.road-love-sender-badge{color:#15803d;background-color:#dcfce7;border:1px solid #86efac;border-radius:999px;margin-bottom:3px;padding:2px 8px;font-size:.75rem;font-weight:700;display:inline-block}.road-love-title{color:#0f172a;margin:0;font-size:clamp(1.05rem,3.8vw,1.2rem);font-weight:800;line-height:1.3}.road-love-speak-btn{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:999px;flex-shrink:0;align-items:center;gap:4px;padding:6px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.road-love-speak-btn.speaking{color:#dc2626;background-color:#fef2f2;border-color:#f87171}@keyframes road-love-spin-anim{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.road-love-spin{animation:.75s linear infinite road-love-spin-anim}.road-love-status-banner{border:1px solid #0000;border-radius:14px;margin-bottom:12px;padding:12px 14px}.road-love-status-banner.upcoming{color:#92400e;background-color:#fef3c7;border-color:#f59e0b}.road-love-status-banner.active{color:#065f46;background-color:#d1fae5;border-color:#10b981}.road-love-status-banner.cancelled{color:#1e40af;background-color:#dbeafe;border-color:#3b82f6}.road-love-status-banner.completed{color:#115e59;background-color:#ccfbf1;border-color:#14b8a6}.road-love-status-pill{align-items:center;gap:6px;margin-bottom:4px;font-size:clamp(1rem,3.6vw,1.12rem);font-weight:800;display:flex}.road-love-rule-note{margin:0;font-size:clamp(.88rem,3.2vw,.96rem);font-weight:600;line-height:1.5}.road-love-stamp-action{margin-bottom:12px}.road-love-main-stamp-btn{cursor:pointer;color:#fff;background:linear-gradient(135deg,#16a34a 0%,#15803d 100%);border:none;border-radius:14px;justify-content:center;align-items:center;gap:8px;width:100%;padding:14px 16px;font-size:clamp(1rem,3.8vw,1.12rem);font-weight:800;transition:transform .12s,box-shadow .15s;display:flex;box-shadow:0 4px 12px #16a34a59}.road-love-main-stamp-btn:active{transform:scale(.98)}.road-love-main-stamp-btn.stamped{background:linear-gradient(135deg,#0d9488 0%,#0f766e 100%);border:2px solid #99f6e4;box-shadow:0 3px 10px #0d948840}.road-love-main-stamp-btn:disabled{opacity:.65;cursor:not-allowed}.road-love-stamps-board{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:10px;padding:10px 12px}.road-love-stamps-header{color:#334155;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.85rem;font-weight:700;display:flex}.road-love-stamps-count{color:#fff;background-color:#16a34a;border-radius:999px;padding:2px 9px;font-size:.8rem;font-weight:800}.road-love-stamp-chips{flex-wrap:wrap;gap:6px;display:flex}.road-love-stamp-chip{color:#14532d;background-color:#dcfce7;border:1px solid #4ade80;border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:.85rem;font-weight:800;display:inline-flex;box-shadow:0 1px 2px #0000000a}.road-love-stamp-chip.my-plot{background-color:#bbf7d0;border-color:#16a34a;box-shadow:0 0 0 2px #16a34a33}.road-love-empty-stamps{color:#64748b;margin:2px 0;font-size:.84rem}.road-love-photo-box{background-color:#fff;border:1px dashed #86efac;border-radius:12px;margin-bottom:10px;padding:10px 12px}.road-love-photo-form{flex-direction:column;gap:8px;display:flex}.road-love-comment-input{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:8px 10px;font-size:.9rem}.road-love-photo-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.road-love-sub-btn{color:#1e293b;cursor:pointer;background-color:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:5px;padding:7px 12px;font-size:.82rem;font-weight:700;display:inline-flex}.road-love-sub-btn.primary{color:#fff;background-color:#16a34a;border-color:#15803d}.road-love-feed{flex-direction:column;gap:8px;margin-top:8px;display:flex}.road-love-feed-item{background-color:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:8px 10px;font-size:.85rem}.road-love-feed-meta{color:#15803d;margin-bottom:4px;font-weight:700}.road-love-feed-photos{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.road-love-feed-thumb{object-fit:cover;cursor:pointer;border:1px solid #cbd5e1;border-radius:8px;width:76px;height:76px}.road-love-admin-panel{border-top:1px dashed #cbd5e1;margin-top:10px;padding-top:10px}.road-love-admin-toggle{color:#334155;cursor:pointer;background-color:#f1f5f9;border:1px solid #cbd5e1;border-radius:10px;justify-content:space-between;align-items:center;width:100%;padding:8px 12px;font-size:.82rem;font-weight:700;display:flex}.road-love-admin-body{background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;flex-direction:column;gap:12px;margin-top:10px;padding:12px;display:flex}.road-love-admin-label{color:#475569;margin:0 0 6px;font-size:.8rem;font-weight:800}.road-love-status-grid{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.road-love-status-switch-btn{cursor:pointer;text-align:center;color:#334155;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px;font-size:.8rem;font-weight:700}.road-love-status-switch-btn.active{color:#fff;background-color:#0f172a;border-color:#0f172a}.road-love-proxy-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:6px;display:grid}.road-love-proxy-cell{background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;display:flex;overflow:hidden}.road-love-proxy-cell.checked{background-color:#dcfce7;border-color:#22c55e}.road-love-proxy-check-btn{color:#1e293b;text-align:left;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;flex:1;align-items:center;gap:4px;padding:7px 6px;font-size:.78rem;font-weight:700;display:flex;overflow:hidden}.road-love-proxy-qr-btn{color:#0284c7;cursor:pointer;background-color:#f8fafc;border:none;border-left:1px solid #e2e8f0;flex-shrink:0;padding:7px;font-size:.74rem;font-weight:700}.road-love-proxy-qr-btn:hover{background-color:#e0f2fe}.road-love-qr-modal-backdrop{z-index:9999;background-color:#0f172abf;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.road-love-qr-modal{text-align:center;background-color:#fff;border-radius:20px;width:100%;max-width:360px;padding:22px 20px;box-shadow:0 20px 40px #00000059}.road-love-qr-modal-mascot{border:2px solid #22c55e;border-radius:50%;width:56px;height:56px;margin-bottom:6px}.road-love-qr-modal-title{color:#0f172a;margin:0 0 4px;font-size:1.2rem;font-weight:800}.road-love-qr-modal-sub{color:#475569;margin:0 0 14px;font-size:.88rem;line-height:1.4}.road-love-qr-box{background-color:#f8fafc;border:2px solid #86efac;border-radius:16px;margin-bottom:12px;padding:14px;display:inline-block}.road-love-qr-img{width:220px;height:220px;display:block}.road-love-reactions{border-top:1px dashed #e2e8f0;flex-wrap:wrap;gap:6px;margin-top:8px;padding-top:6px;display:flex}.road-love-reaction-btn{cursor:pointer;color:#475569;-webkit-user-select:none;user-select:none;background:#f8fafc;border:1px solid #cbd5e1;border-radius:16px;align-items:center;gap:4px;padding:3px 8px;font-size:.76rem;font-weight:700;transition:all .15s;display:inline-flex}.road-love-reaction-btn:hover:not(:disabled){color:#1e293b;background:#f1f5f9;border-color:#94a3b8;transform:translateY(-1px)}.road-love-reaction-btn.active{color:#047857;background:#ecfdf5;border-color:#10b981;box-shadow:0 0 6px #10b98133}.road-love-reaction-btn.active:hover:not(:disabled){background:#d1fae5;border-color:#059669}.road-love-reaction-btn:disabled{cursor:not-allowed;opacity:.6}.road-love-reaction-emoji{font-size:.95rem;line-height:1}.road-love-reaction-count{font-size:.75rem;font-weight:800}.issues-container{max-width:800px;margin:0 auto;padding:20px 10px}@media (width<=1023px){.issues-container{padding:10px 4px}}.issues-controls{gap:10px;margin-bottom:20px;display:flex}.issue-filter{border:1px solid #ccc;border-radius:4px;flex:1;padding:8px}.refresh-btn{color:#fff;cursor:pointer;background-color:#3ca2e0;border:none;border-radius:4px;padding:8px 16px}.issue-card{background-color:#fff;border:1px solid #eee;border-radius:8px;padding:15px;box-shadow:0 2px 4px #0000000d}.issue-header{justify-content:space-between;margin-bottom:10px;font-size:.9em;display:flex}.issue-status{border-radius:12px;padding:2px 8px;font-weight:700}.status-in-progress{color:#856404;background-color:#fff3cd}.status-resolved{color:#155724;background-color:#d4edda}.status-open{color:#721c24;background-color:#f8d7da}.issue-date{color:#666}.issue-title{margin:0 0 10px;font-size:1.2em}.issue-desc{color:#444;margin:0}.voting-container{max-width:800px;margin:0 auto;padding:20px 10px}@media (width<=1023px){.voting-container{padding:10px 4px}}.votes-list{flex-direction:column;gap:15px;display:flex}.vote-card{background-color:#fff;border:1px solid #eee;border-radius:8px;padding:15px;box-shadow:0 2px 4px #0000000d}.vote-card h3{color:#337ab7;margin-top:0}.vote-options{flex-direction:column;gap:10px;margin-top:15px;display:flex}.vote-btn{cursor:pointer;background-color:#f8f9fa;border:1px solid #ccc;border-radius:4px;padding:10px;transition:background-color .2s}.vote-btn:hover{background-color:#e2e6ea}.vote-closed{color:#666;text-align:center;background-color:#f5f5f5;border-radius:4px;margin-top:15px;padding:10px}.notifications-container{max-width:800px;margin:0 auto;padding:20px 10px}@media (width<=1023px){.notifications-container{padding:10px 4px}}.notification-list{flex-direction:column;gap:1rem;margin-top:1.5rem;display:flex}.notification-card{color:inherit;background:#fff;border:1px solid #e0e0e0;border-radius:12px;flex-direction:column;padding:1.5rem;transition:all .2s ease-in-out;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 4px #00000005;text-decoration:none!important}.notification-card:before{content:"";background-color:#1976d2;width:4px;height:100%;transition:width .2s ease-in-out;position:absolute;top:0;left:0}.notification-card:hover{border-color:#bbdefb;transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.notification-card:hover:before{width:6px}.notification-date{color:#666;margin-bottom:.5rem;font-size:.85rem;font-weight:500}.notification-content{flex:1;padding-right:2rem}.notification-title{color:#333;font-size:1.2rem;font-weight:600;line-height:1.4;margin:0 0 .5rem!important}.notification-excerpt{color:#555;margin:0;font-size:.95rem;line-height:1.5}.notification-arrow{color:#1976d2;font-size:1.2rem;font-weight:700;transition:transform .2s ease-in-out;position:absolute;top:50%;right:1.5rem;transform:translateY(-50%)}.notification-card:hover .notification-arrow{transform:translateY(-50%)translate(4px)}@media (width>=1024px){.notification-card{flex-direction:row;align-items:center}.notification-date{flex-shrink:0;width:120px;margin-bottom:0}.notification-content{border-left:1px solid #eee;padding-left:1rem}}.notification-detail-card{background:#fff;border:1px solid #e0e0e0;border-radius:12px;margin-top:1rem;margin-bottom:2rem;padding:2rem 2.5rem;box-shadow:0 4px 20px #0000000d}.notification-detail-card .notification-detail-title{color:#333;border-bottom:2px solid #1976d2;margin-bottom:1.5rem;padding-bottom:.5rem;font-size:1.8rem;margin-top:0!important}.notification-detail-card h3{color:#1976d2;margin-top:1.8rem;margin-bottom:.8rem;font-size:1.3rem}.notification-detail-card p.notification-detail-desc{color:#555;margin-bottom:2rem;font-size:1.05rem;line-height:1.6}.notification-detail-card ul{margin-bottom:1.5rem}.notification-detail-card li{color:#444;margin-bottom:.5rem;line-height:1.5}.notification-back-link{color:#1976d2;background:#f5f5f5;border:1px solid #e0e0e0;border-radius:8px;margin-top:2rem;padding:.6rem 1.2rem;font-weight:700;text-decoration:none;transition:all .2s ease-in-out;display:inline-block}.notification-back-link:hover{background:#e0e0e0;text-decoration:none;transform:translateY(-1px)}@media (width<=1023px){.notification-detail-card{padding:1.5rem}.notification-detail-card .notification-detail-title{font-size:1.4rem}}.notification-section-header{border-radius:10px;justify-content:space-between;align-items:center;gap:8px;margin-top:24px;margin-bottom:4px;padding:10px 16px;font-size:.95rem;font-weight:700;display:flex}.notification-section-header-left,.notification-section-header-right{align-items:center;gap:8px;display:flex}.push-section-header{color:#5b21b6;background:linear-gradient(135deg,#ede9fe,#f5f3ff);border:1px solid #ddd6fe}.admin-section-header{color:#1e40af;background:linear-gradient(135deg,#eff6ff,#f0f9ff);border:1px solid #bfdbfe}.push-notification-list{margin-top:.5rem}.push-notification-card{color:inherit;background:#faf5ff;border:1px solid #e9d5ff;border-radius:12px;align-items:flex-start;gap:12px;padding:1rem 1.25rem;transition:all .2s ease-in-out;display:flex;position:relative;overflow:hidden;text-decoration:none!important}.push-notification-card:before{content:"";background-color:#7c3aed;width:4px;height:100%;transition:width .2s ease-in-out;position:absolute;top:0;left:0}.push-notification-card.push-unread{background:#faf5ff;border-color:#c4b5fd;box-shadow:0 2px 8px #7c3aed14}.push-notification-card.push-read{opacity:.75;background:#fcfcfc;border-color:#e5e7eb}.push-notification-card.push-read:before{background-color:#d1d5db}.push-notification-card:hover{opacity:1;border-color:#a78bfa;transform:translateY(-2px);box-shadow:0 4px 12px #7c3aed1f}.push-notification-card:hover:before{width:6px}.push-notification-icon{color:#fff;background:#7c3aed;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;margin-top:2px;display:flex}.push-notification-card.push-read .push-notification-icon{background:#9ca3af}.notification-excerpt-text{color:#555;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:4px;font-size:.9rem;line-height:1.5;display:-webkit-box;overflow:hidden}.push-received-at{color:#7c3aed;margin-top:6px;font-size:.78rem;font-weight:500}.push-notification-card.push-read .push-received-at{color:#9ca3af}.push-unread-badge{color:#fff;background:#7c3aed;border-radius:999px;padding:2px 10px;font-size:.75rem;font-weight:700}.mark-all-read-btn{color:#5b21b6;cursor:pointer;background:0 0;border:1px solid #c4b5fd;border-radius:8px;align-items:center;gap:4px;padding:4px 10px;font-size:.78rem;font-weight:600;transition:all .2s;display:flex}.mark-all-read-btn:hover{background:#ede9fe}.push-empty-state{text-align:center;background:#f9fafb;border:1px dashed #d1d5db;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;margin-top:.5rem;padding:32px 16px;display:flex}.notification-meta-row{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:.5rem;display:flex}.notification-badge-type{border-radius:4px;padding:2px 8px;font-size:.72rem;font-weight:700;display:inline-block}.badge-push{color:#7c3aed;background-color:#f5f3ff;border:1px solid #ddd6fe}.badge-admin{color:#1d4ed8;background-color:#eff6ff;border:1px solid #bfdbfe}.badge-tenant-admin{color:#15803d;background-color:#f0fdf4;border:1px solid #bbf7d0}.badge-superuser{color:#f8fafc;background-color:#1e293b;border:1px solid #334155}.notification-card.push-type.push-read{opacity:.75;background:#fcfcfc;border-color:#e5e7eb}.notification-card.push-type.push-read:before{background-color:#d1d5db}.notification-card.push-type.push-unread{background:#faf5ff;border-color:#c4b5fd;box-shadow:0 2px 8px #7c3aed14}.notification-card.push-type.push-unread:before{background-color:#7c3aed}.notification-card.admin-type:before{background-color:#1976d2}.notification-filters{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;margin-bottom:8px;padding:10px 16px;display:flex}.filter-group{background:#e2e8f0;border-radius:8px;gap:2px;padding:2px;display:flex}.filter-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:6px 16px;font-size:.85rem;font-weight:600;transition:all .15s}.filter-btn:hover{color:#1e293b}.filter-btn.active{color:#0f172a;background:#fff;box-shadow:0 1px 3px #0000001a}@media (width<=640px){.notification-filters{flex-direction:column;align-items:stretch}.filter-group{justify-content:center}.filter-btn{text-align:center;flex:1}}.swipeable-card-container{-webkit-user-select:none;user-select:none;touch-action:pan-y;background-color:#f1f5f9;border-radius:12px;width:100%;position:relative;overflow:hidden}.swipe-action-background{transition:opacity .15s}.swipe-action-background.bg-push{background:linear-gradient(90deg,#7c3aed,#a78bfa)}.swipe-action-background.bg-admin{background:linear-gradient(90deg,#1976d2,#64b5f6)}.swipe-info-prompt{color:#475569;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;align-items:center;gap:6px;margin-top:8px;margin-bottom:12px;padding:8px 12px;font-size:.8rem;font-weight:500;display:flex}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.speaking-pulse{animation:1s ease-in-out infinite pulse}.lh-card{background:#fff;border-left:4px solid #1976d2;border-radius:8px;margin-bottom:20px;padding:20px;box-shadow:0 2px 4px #0000001a}.lh-header{justify-content:space-between;align-items:flex-start;margin-bottom:10px;display:flex}.lh-title{color:#1a73e8;flex:1;margin:0;font-size:1.15em;font-weight:700}.lh-category-badge{color:#1565c0;background-color:#e3f2fd;border-radius:12px;padding:4px 8px;font-size:.8em;font-weight:700}.lh-meta{color:#777;margin-bottom:15px;font-size:.85em}.lh-content{color:#444;margin-bottom:15px;line-height:1.6}.lh-actions{border-top:1px solid #eee;align-items:center;gap:15px;padding-top:15px;display:flex}.lh-action-btn{color:#555;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:5px;padding:5px 10px;font-size:.9em;transition:background-color .2s;display:flex}.lh-action-btn:hover{background-color:#f5f5f5}.lh-action-btn.liked{color:#e91e63}.lh-action-btn.liked svg{fill:#e91e63}.lh-comment{border-bottom:1px solid #eee;padding:8px 0}.lh-comment:last-child{border-bottom:none}.lh-comment-meta{color:#777;margin-bottom:4px;font-size:.8em}.lh-comment-content{color:#333;white-space:pre-wrap;margin:0;font-size:.95em}.lifehacks-container{max-width:800px;margin:0 auto;padding:14px 10px}@media (width<=1023px){.lifehacks-container{padding:10px 8px}}.loading-dots{gap:2px;display:inline-flex}.loading-dots span{animation:1.4s infinite both loading-dots-blink}.loading-dots span:nth-child(2){animation-delay:.2s}.loading-dots span:nth-child(3){animation-delay:.4s}@keyframes loading-dots-blink{0%{opacity:.2}20%{opacity:1}to{opacity:.2}}#plot-table-container table{border-collapse:collapse;width:100%;margin:1em 0;font-size:.9em}#plot-table-container th,#plot-table-container td{text-align:left;border-bottom:1px solid #efefef;padding:12px 16px}#plot-table-container th{color:#333;background-color:#f8f9fb;font-weight:700}#plot-table-container tr:nth-child(2n){background-color:#fcfcfc}#plot-table-container tr:hover{background-color:#f5f8ff}.scroll-to-map:hover{background-color:#e2e6ea!important}.city-events-container{color:#1e293b;box-sizing:border-box;max-width:900px;margin:0 auto;padding:12px 10px 32px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif}.demo-persona-switcher{background-color:#f8fafc;border:1.5px solid #cbd5e1;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;padding:8px 12px;display:flex}.demo-persona-label{color:#475569;white-space:nowrap;align-items:center;gap:4px;font-size:.76rem;font-weight:800;display:flex}.demo-persona-select{color:#0f172a;cursor:pointer;background-color:#fff;border:1px solid #94a3b8;border-radius:8px;outline:none;flex:1;min-width:180px;padding:6px 10px;font-size:.82rem;font-weight:700}.demo-persona-select:focus{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e33}.demo-persona-badge{color:#0369a1;white-space:nowrap;background-color:#e0f2fe;border-radius:6px;padding:3px 8px;font-size:.72rem;font-weight:800}.city-events-header{color:#fff;background:linear-gradient(135deg,#0f766e 0%,#0d9488 100%);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;padding:14px 16px;display:flex;box-shadow:0 4px 14px #0f766e2e}.city-events-title-group h1{align-items:center;gap:6px;margin:0;font-size:1.15rem;font-weight:800;line-height:1.3;display:flex}.city-events-subtitle{color:#ccfbf1;margin:4px 0 0;font-size:.78rem;line-height:1.35}.city-events-header-badge{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);white-space:nowrap;background-color:#fff3;border:1px solid #ffffff59;border-radius:16px;padding:4px 10px;font-size:.75rem;font-weight:700}.btn-create-event{color:#0f766e;cursor:pointer;white-space:nowrap;background-color:#fff;border:none;border-radius:8px;padding:6px 12px;font-size:.8rem;font-weight:800;transition:all .2s;box-shadow:0 2px 4px #0000001a}.events-selector-wrapper{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:14px;padding:10px 12px;box-shadow:0 1px 4px #00000008}.events-selector-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.events-selector-title{color:#475569;align-items:center;gap:4px;font-size:.8rem;font-weight:800;display:flex}.events-scroll-hint{color:#0f766e;letter-spacing:.02em;background-color:#ccfbf1;border:1px solid #99f6e4;border-radius:10px;padding:2px 7px;font-size:.68rem;font-weight:800}.events-selector-badge{color:#0f766e;background-color:#f1f5f9;border-radius:10px;padding:2px 8px;font-size:.72rem;font-weight:800}.events-card-list{-webkit-overflow-scrolling:touch;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.event-picker-card{cursor:pointer;text-align:left;background-color:#f8fafc;border:1.5px solid #cbd5e1;border-radius:10px;flex-shrink:0;min-width:200px;max-width:260px;padding:8px 10px;font-family:inherit;transition:all .15s}.event-picker-card:hover{background-color:#f0fdfa;border-color:#99f6e4}.event-picker-card.active{background-color:#f0fdfa;border-color:#0f766e;box-shadow:0 0 0 2px #0f766e33}.event-picker-card-title{color:#0f172a;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 4px;font-size:.82rem;font-weight:800;line-height:1.3;display:-webkit-box;overflow:hidden}.event-picker-card.active .event-picker-card-title{color:#0f766e}.event-picker-card-meta{color:#64748b;justify-content:space-between;align-items:center;font-size:.7rem;display:flex}.city-events-main-card{background-color:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:20px;padding:16px 14px;box-shadow:0 2px 8px #0000000a}.event-info-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px;padding-bottom:12px;display:flex}.event-main-title{color:#0f172a;margin:0 0 6px;font-size:1.1rem;font-weight:800;line-height:1.35}.event-meta-tags{flex-wrap:wrap;gap:6px;display:flex}.event-status-badge{border-radius:6px;padding:3px 8px;font-size:.72rem;font-weight:700;line-height:1;display:inline-block}.event-status-badge.active{color:#166534;background-color:#dcfce7;border:1px solid #bbf7d0}.event-status-badge.closed{color:#991b1b;background-color:#fee2e2;border:1px solid #fecaca}.event-district-badge{color:#475569;background-color:#f1f5f9;border-radius:6px;padding:3px 8px;font-size:.72rem;font-weight:600;line-height:1}.event-details-grid{background-color:#f8fafc;border:1px solid #f1f5f9;border-radius:10px;flex-direction:column;gap:8px;margin-bottom:14px;padding:10px 12px;display:flex}@media (width>=640px){.event-details-grid{grid-template-columns:repeat(3,1fr);gap:12px;padding:12px 16px;display:grid}}.event-detail-item{align-items:center;gap:8px;display:flex}.event-detail-icon{flex-shrink:0;justify-content:center;align-items:center;display:flex}.event-detail-content{flex-wrap:wrap;align-items:baseline;gap:6px;display:flex}.event-detail-content .detail-label{color:#64748b;white-space:nowrap;font-size:.72rem;font-weight:700}.event-detail-content .detail-value{color:#0f172a;font-size:.88rem;font-weight:700}.event-description-box{color:#334155;white-space:pre-wrap;background-color:#fdfdfd;border-left:3px solid #0d9488;border-radius:0 8px 8px 0;margin-bottom:16px;padding:10px 12px;font-size:.86rem;line-height:1.5}.response-panel-wrapper{background:linear-gradient(#fff,#f8fafc);border:1.5px solid #cbd5e1;border-radius:14px;margin-bottom:20px;padding:14px 12px}.response-panel-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin-bottom:8px;display:flex}.attendance-hint{color:#0f766e;background-color:#f0fdfa;border:1px solid #ccfbf1;border-radius:6px;align-items:center;gap:4px;margin:0 0 10px;padding:4px 8px;font-size:.74rem;font-weight:800;display:flex}.response-panel-title{color:#0f172a;align-items:center;gap:6px;margin:0;font-size:.98rem;font-weight:800;display:flex}.my-status-indicator{border-radius:14px;align-items:center;gap:4px;padding:3px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.my-status-indicator.attending{color:#15803d;background-color:#dcfce7;border:1px solid #86efac}.my-status-indicator.absent{color:#b91c1c;background-color:#fee2e2;border:1px solid #fca5a5}.my-status-indicator.pending{color:#b45309;background-color:#fef3c7;border:1px solid #fde68a}.my-status-indicator.unanswered{color:#64748b;background-color:#f1f5f9;border:1px solid #cbd5e1}.attendance-button-group{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;display:grid}.attendance-btn{cursor:pointer;-webkit-user-select:none;user-select:none;background-color:#fff;border:2px solid #e2e8f0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;padding:10px 4px;font-family:inherit;transition:all .15s;display:flex}.attendance-btn:active{transform:scale(.97)}.attendance-btn .btn-icon{margin-bottom:2px;font-size:1.4rem;line-height:1}.attendance-btn .btn-label{color:#334155;white-space:nowrap;font-size:.88rem;font-weight:800}.attendance-btn .btn-sublabel{color:#64748b;white-space:nowrap;margin-top:1px;font-size:.68rem}.attendance-btn.btn-attending.selected{background-color:#f0fdf4;border-color:#22c55e;box-shadow:0 0 0 2px #22c55e40}.attendance-btn.btn-attending.selected .btn-label{color:#15803d}.attendance-btn.btn-absent.selected{background-color:#fef2f2;border-color:#ef4444;box-shadow:0 0 0 2px #ef444440}.attendance-btn.btn-absent.selected .btn-label{color:#b91c1c}.attendance-btn.btn-pending.selected{background-color:#fffbeb;border-color:#f59e0b;box-shadow:0 0 0 2px #f59e0b40}.attendance-btn.btn-pending.selected .btn-label{color:#b45309}.comment-input-wrapper{margin-bottom:12px}.comment-input-wrapper label{color:#1e293b;margin-bottom:6px;font-size:.82rem;font-weight:800;display:block}.comment-textarea{box-sizing:border-box;resize:vertical;border-radius:8px;width:100%;min-height:60px;padding:10px 12px;font-family:inherit;font-size:.9rem;font-weight:600;box-shadow:inset 0 1px 3px #0000000f;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;--lightningcss-light:initial!important;--lightningcss-dark: !important;color-scheme:light!important;caret-color:#0f766e!important;background-color:#f8fafc!important;border:1.5px solid #64748b!important}.comment-textarea::placeholder{opacity:.85;color:#64748b!important;-webkit-text-fill-color:#64748b!important}.comment-textarea:focus{outline:none;box-shadow:0 0 0 3px #0f766e40;background-color:#fff!important;border-color:#0f766e!important}.admin-view-banner{background:linear-gradient(135deg,#f0fdfa 0%,#ccfbf1 100%);border:1.5px solid #5eead4;border-radius:12px;align-items:center;gap:12px;margin-bottom:16px;padding:14px 16px;display:flex}.admin-view-banner-icon{font-size:1.6rem;line-height:1}.admin-view-banner-title{color:#0f766e;margin:0 0 2px;font-size:.92rem;font-weight:800}.admin-view-banner-desc{color:#115e59;margin:0;font-size:.78rem}.event-admin-toolbar{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;display:flex}.event-admin-toolbar-title{color:#475569;align-items:center;gap:6px;font-size:.78rem;font-weight:800;display:flex}.btn-toggle-status-large{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:6px;padding:6px 14px;font-size:.8rem;font-weight:800;transition:all .15s;display:flex}.btn-toggle-status-large.close-action{color:#991b1b;background-color:#fee2e2;border:1px solid #fecaca}.btn-toggle-status-large.close-action:hover{background-color:#fecaca}.event-admin-btn-group{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.btn-admin-action{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:4px;padding:5px 10px;font-size:.76rem;font-weight:700;transition:all .15s;display:flex}.btn-admin-action:hover{background-color:#f1f5f9}.btn-admin-action.delete-action{color:#dc2626;border-color:#fca5a5}.btn-admin-action.delete-action:hover{background-color:#fef2f2}.datetime-picker-helper{color:#64748b;flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;font-size:.74rem;display:flex}.datetime-picker-input{border:1px solid #cbd5e1;border-radius:6px;padding:2px 6px;font-size:.74rem;--lightningcss-light:initial!important;--lightningcss-dark: !important;color-scheme:light!important;color:#0f172a!important;background-color:#fff!important}.btn-save-comment{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0f766e 0%,#0d9488 100%);border:none;border-radius:8px;justify-content:center;align-items:center;gap:6px;width:100%;padding:8px 14px;font-size:.86rem;font-weight:800;transition:all .15s;display:flex;box-shadow:0 2px 6px #0f766e33}.btn-save-comment:active:not(:disabled){transform:scale(.98)}.btn-save-comment:disabled{opacity:.55;cursor:not-allowed}.toast-success{color:#065f46;text-align:center;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;margin-top:10px;padding:8px 12px;font-size:.82rem;font-weight:700;animation:.2s ease-out fadeIn}.dashboard-section{border-top:1px solid #f1f5f9;padding-top:16px}.dashboard-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.dashboard-title{color:#0f172a;align-items:center;gap:6px;margin:0;font-size:1rem;font-weight:800;display:flex}.btn-copy-list{color:#334155;cursor:pointer;white-space:nowrap;background-color:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:4px;padding:5px 10px;font-size:.78rem;font-weight:700;transition:all .15s;display:flex}.btn-copy-list:hover{background-color:#e2e8f0}.summary-progress-wrapper{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:14px;padding:10px 12px}.summary-counts-row{justify-content:space-around;gap:6px;margin-bottom:8px;display:flex}.summary-stat-box{text-align:center}.summary-stat-box .stat-label{color:#64748b;font-size:.7rem;font-weight:700;display:block}.summary-stat-box .stat-num{color:#0f172a;font-size:1.15rem;font-weight:800;line-height:1.2}.summary-stat-box.attending .stat-num{color:#16a34a}.summary-stat-box.absent .stat-num{color:#dc2626}.summary-stat-box.pending .stat-num{color:#d97706}.progress-bar-container{background-color:#e2e8f0;border-radius:4px;height:8px;display:flex;overflow:hidden}.progress-segment{height:100%;transition:width .3s}.progress-segment.attending{background-color:#22c55e}.progress-segment.absent{background-color:#ef4444}.progress-segment.pending{background-color:#f59e0b}.responses-list-wrapper{margin-top:12px}.response-filter-tabs{-webkit-overflow-scrolling:touch;gap:6px;margin-bottom:10px;padding-bottom:2px;display:flex;overflow-x:auto}.filter-tab{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #cbd5e1;border-radius:14px;padding:3px 10px;font-size:.74rem;font-weight:700}.filter-tab.active{color:#fff;background-color:#0f766e;border-color:#0f766e}.responses-table{border-collapse:collapse;width:100%;font-size:.8rem}.responses-table th{color:#475569;text-align:left;white-space:nowrap;background-color:#f8fafc;border-bottom:1.5px solid #e2e8f0;padding:6px 8px;font-size:.74rem;font-weight:700}.responses-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:7px 8px;line-height:1.35}.responses-table tr:hover td{background-color:#f8fafc}.empty-responses-msg{text-align:center;color:#94a3b8;padding:16px;font-size:.82rem}.modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0f172a99;justify-content:center;align-items:center;padding:12px;display:flex;position:fixed;inset:0}.modal-content{background-color:#fff;border-radius:14px;width:100%;max-width:500px;max-height:90vh;padding:18px 16px;overflow-y:auto;box-shadow:0 16px 20px -5px #0003}.modal-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.modal-title{color:#0f172a;margin:0;font-size:1.05rem;font-weight:800}.modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:4px;font-size:1.1rem}.form-group{margin-bottom:12px}.form-group label{color:#334155;margin-bottom:4px;font-size:.78rem;font-weight:700;display:block}.form-control{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;width:100%;padding:7px 10px;font-family:inherit;font-size:.86rem}.form-control:focus{border-color:#0d9488;outline:none;box-shadow:0 0 0 2px #0d948833}.form-helper-banner{color:#0f766e;background-color:#f0fdfa;border:1px solid #99f6e4;border-radius:8px;margin-bottom:14px;padding:8px 10px;font-size:.76rem;line-height:1.4}.quick-fill-tags{flex-wrap:wrap;align-items:center;gap:5px;margin-top:5px;display:flex}.quick-fill-label{color:#64748b;font-size:.7rem;font-weight:700}.quick-tag{color:#334155;cursor:pointer;background-color:#f1f5f9;border:1px solid #cbd5e1;border-radius:12px;padding:2px 8px;font-family:inherit;font-size:.72rem;font-weight:700;transition:all .15s}.quick-tag:hover{color:#0f766e;background-color:#ccfbf1;border-color:#5eead4}.modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.btn-secondary{color:#475569;cursor:pointer;background-color:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;padding:7px 14px;font-size:.82rem;font-weight:600}.btn-primary{color:#fff;cursor:pointer;background-color:#0f766e;border:none;border-radius:6px;padding:7px 16px;font-size:.82rem;font-weight:800}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.tour-overlay-container{z-index:9999;pointer-events:auto;touch-action:manipulation;width:100%;height:100dvh;animation:.25s ease-out tourFadeIn;position:fixed;inset:0;overflow:hidden;transform:translateZ(0)}.tour-spotlight-box{pointer-events:none;border:2.5px solid #0d9488;border-radius:12px;transition:top .15s cubic-bezier(.16,1,.3,1),left .15s cubic-bezier(.16,1,.3,1),width .15s cubic-bezier(.16,1,.3,1),height .15s cubic-bezier(.16,1,.3,1);animation:2s infinite spotlightPulse;position:absolute;transform:translateZ(0);box-shadow:0 0 0 9999px #0f172ab8,0 0 20px #0d9488d9}@keyframes spotlightPulse{0%{box-shadow:0 0 0 9999px #0f172ab8,0 0 12px #0d948899}50%{box-shadow:0 0 0 9999px #0f172ab8,0 0 26px #2dd4bff2}to{box-shadow:0 0 0 9999px #0f172ab8,0 0 12px #0d948899}}.tour-popover-card{box-sizing:border-box;z-index:10000;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#fff;border:2px solid #0f766e;border-radius:16px;width:calc(100vw - 32px);max-width:380px;padding:16px 16px 14px;transition:top .15s cubic-bezier(.16,1,.3,1),left .15s cubic-bezier(.16,1,.3,1);animation:.3s cubic-bezier(.16,1,.3,1) tourCardPop;position:absolute;transform:translateZ(0);box-shadow:0 16px 36px #00000059}.tour-popover-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.tour-step-badge{color:#fff;background:linear-gradient(135deg,#0f766e 0%,#0d9488 100%);border-radius:10px;align-items:center;gap:4px;padding:3px 8px;font-size:.72rem;font-weight:800;display:inline-flex}.tour-skip-btn{color:#64748b;cursor:pointer;touch-action:manipulation;z-index:10;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:.76rem;font-weight:700;position:relative}.tour-skip-btn:hover{color:#0f172a;background-color:#f1f5f9}.tour-popover-body{margin-bottom:12px}.tour-popover-title{color:#0f172a;align-items:center;gap:6px;margin:0 0 6px;font-size:1rem;font-weight:800;line-height:1.35;display:flex}.tour-popover-desc{color:#334155;margin:0;font-size:.84rem;line-height:1.5}.tour-popover-actions{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.btn-tour-nav{cursor:pointer;touch-action:manipulation;z-index:10;border-radius:8px;align-items:center;gap:4px;padding:7px 12px;font-size:.8rem;font-weight:800;transition:all .15s;display:inline-flex;position:relative}.btn-tour-nav.prev{color:#475569;background-color:#f1f5f9;border:1px solid #cbd5e1}.btn-tour-nav.next{color:#fff;background:linear-gradient(135deg,#0f766e 0%,#0d9488 100%);border:none;box-shadow:0 2px 6px #0f766e4d}.tour-checkbox-row{color:#64748b;cursor:pointer;-webkit-user-select:none;user-select:none;border-top:1px solid #f1f5f9;justify-content:center;align-items:center;gap:6px;padding-top:8px;font-size:.76rem;display:flex}.tour-checkbox-row input{cursor:pointer;accent-color:#0f766e}.btn-reset-tutorial{color:#fff;cursor:pointer;background-color:#fff3;border:1px dashed #ffffff73;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:.72rem;font-weight:700;transition:all .15s;display:inline-flex}.btn-reset-tutorial:hover{background-color:#ffffff4d}@keyframes tourFadeIn{0%{opacity:0}to{opacity:1}}@keyframes tourCardPop{0%{opacity:0;transform:scale(.92)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.chat-page-container{padding:20px 10px 100px}.chat-container{flex-direction:column;font-family:Helvetica Neue,Arial,sans-serif;display:flex;position:relative}.chat-sleep-overlay{-webkit-backdrop-filter:blur(4px);z-index:200;text-align:center;background:#fffffff2;justify-content:center;align-items:center;width:100vw;height:100vh;animation:.5s ease-out forwards fadeIn;display:flex;position:fixed;top:0;left:0}.sleep-content{background:#fff;border-radius:20px;max-width:80%;padding:30px;box-shadow:0 10px 30px #0000001a}.sleep-icon{font-size:60px;animation:3s ease-in-out infinite float}@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-10px)}to{transform:translateY(0)}}.chat-history{flex-direction:column;gap:15px;padding:20px 0;display:flex}.chat-message{align-items:flex-end;max-width:85%;animation:.3s ease-out forwards slideUp;display:flex}.chat-message-content{flex-direction:column;gap:4px;max-width:calc(100% - 60px);display:flex}.chat-message-content.bot-content{align-items:flex-start}.chat-message-content.user-content{align-items:flex-end}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.chat-message.bot-message{align-self:flex-start}.chat-message.user-message{flex-direction:row-reverse;align-self:flex-end}.chat-avatar{background:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;margin:0 10px;font-size:24px;display:flex;box-shadow:0 2px 5px #0000001a}.chat-bubble{word-wrap:break-word;border-radius:20px;padding:12px 18px;font-size:.95em;line-height:1.5;position:relative}.chat-bubble p{margin:0 0 8px}.chat-bubble p:last-child{margin-bottom:0}.chat-bubble ul,.chat-bubble ol{margin:0 0 8px;padding-left:20px}.chat-bubble li{margin-bottom:4px}.bot-message .chat-bubble{color:#333;background:#fff;border-radius:18px 18px 18px 2px;margin-left:6px;box-shadow:0 2px 5px #0000000d}.bot-message .chat-bubble:before{content:"";border-top:8px solid #0000;border-right:8px solid #fff;width:0;height:0;position:absolute;bottom:0;left:-7px}.user-message .chat-bubble{color:#fff;background:#4a90e2;border-radius:18px 18px 2px;margin-right:6px;box-shadow:0 2px 5px #4a90e24d}.user-message .chat-bubble:before{content:"";border-top:8px solid #0000;border-left:8px solid #4a90e2;width:0;height:0;position:absolute;bottom:0;right:-7px}.chat-loading{padding:0 0 10px}.loading-bubble{min-width:60px;display:inline-block;padding:15px 18px!important}.typing-indicator{justify-content:center;align-items:center;gap:4px;display:flex}.typing-indicator span{background-color:#999;border-radius:50%;width:8px;height:8px;animation:1.4s ease-in-out infinite both typing;display:block}.typing-indicator span:first-child{animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes typing{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.chat-input-area{background:#fff;border-top:1px solid #e0e0e0;align-items:flex-end;gap:10px;padding:15px;display:flex}.chat-input{resize:none;box-sizing:border-box;border:1px solid #ccc;border-radius:16px;outline:none;flex:1;min-height:42px;max-height:160px;padding:10px 16px;font-size:1em;line-height:1.4;transition:border-color .3s}.chat-input:focus{border-color:#4a90e2}.chat-input:disabled{cursor:not-allowed;background:#f5f5f5}.chat-send-btn{color:#fff;cursor:pointer;background:#4a90e2;border:none;border-radius:21px;justify-content:center;align-items:center;height:42px;padding:0 25px;font-weight:700;transition:background .3s,transform .1s;display:flex}.chat-send-btn:active{transform:scale(.95)}.chat-send-btn:disabled{cursor:not-allowed;background:#ccc;transform:none}@media (width<=1023px){.chat-page-container{margin-left:-6px;margin-right:-6px;padding:8px 0 calc(68px + 60px + env(safe-area-inset-bottom,0)) 0!important}.ios-pwa .chat-page-container{padding-bottom:calc(68px + 80px + env(safe-area-inset-bottom,0))!important}.chat-container{height:auto;max-height:none!important}.chat-history{gap:10px;padding:10px 0}.chat-fixed-bottom{max-width:100%;bottom:calc(60px + env(safe-area-inset-bottom,0))}.ios-pwa .chat-fixed-bottom{bottom:calc(80px + env(safe-area-inset-bottom,0))!important}.chat-message{max-width:100%}.chat-message-content{max-width:calc(100% - 38px)}.chat-avatar{width:32px;height:32px;margin:0 2px;font-size:18px}.chat-bubble{padding:6px 12px;font-size:.9em;line-height:1.4}.chat-bubble p{margin-bottom:4px}.chat-bubble ul,.chat-bubble ol{margin-bottom:4px;padding-left:16px}.chat-input-area{gap:6px;padding:8px}.chat-input{border-radius:12px;min-height:36px;padding:8px 12px;font-size:.95em}.chat-send-btn{border-radius:18px;height:36px;padding:0 15px;font-size:.95em}}.chat-fixed-bottom{z-index:100;background:#fff;border-top:1px solid #e2e8f0;width:100%;max-width:800px;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -4px 15px #00000014}.chat-options-area{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:flex-start;align-items:center;padding:10px 20px;display:flex}.fast-mode-switch-label{color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:10px;font-size:.85em;font-weight:600;display:flex}.fast-mode-switch-label input{display:none}.slider-toggle{background-color:#cbd5e1;border-radius:20px;width:38px;height:20px;transition:background-color .3s,box-shadow .3s;display:inline-block;position:relative}.slider-toggle:before{content:"";background-color:#fff;border-radius:50%;width:16px;height:16px;transition:transform .3s;position:absolute;bottom:2px;left:2px;box-shadow:0 1px 3px #00000026}.fast-mode-switch-label input:checked+.slider-toggle{background:linear-gradient(135deg,#f59e0b,#eab308);box-shadow:0 0 8px #f59e0b66}.fast-mode-switch-label input:checked+.slider-toggle:before{transform:translate(18px)}.fast-mode-switch-label.disabled{opacity:.5;cursor:not-allowed}.fast-mode-text{transition:color .3s}.fast-mode-switch-label input:checked~.fast-mode-text{color:#d97706}.fast-mode-badge{color:#d97706;background-color:#fef3c7;border:1px solid #fde68a;border-radius:12px;align-self:flex-start;align-items:center;gap:3px;margin-top:2px;margin-left:2px;padding:2px 8px;font-size:.72em;font-weight:700;animation:.3s ease-out fadeIn;display:inline-flex}.admin-container{max-width:100%;margin:0 auto;padding:24px 10px}@media (width<=1023px){.admin-container{padding:10px 6px}}.admin-page-title{color:#333;margin-bottom:8px;font-size:1.8rem}@media (width<=480px){.admin-page-title{font-size:1.5rem}}.admin-subtitle{color:#666;margin-bottom:24px;font-size:1.05rem}.admin-section{background:#fff;border:1px solid #eef2f5;border-radius:12px;margin-bottom:24px;padding:24px;box-shadow:0 4px 20px #0000000d}@media (width<=1023px){.admin-section{margin-bottom:16px;padding:16px 10px}}.admin-section h2{color:#1a1a1a;align-items:center;gap:8px;margin-top:0;margin-bottom:14px;font-size:1.4rem;line-height:1.4;display:flex}.section-desc{color:#6c757d;margin-top:0;margin-bottom:20px;font-size:.95rem;line-height:1.65}.admin-table{border-collapse:collapse;text-align:left;width:100%;margin-bottom:12px}.admin-table th{color:#475569;background:#f8fafc;border-bottom:2px solid #e2e8f0;padding:12px 16px;font-weight:600}.admin-table td{color:#334155;border-bottom:1px solid #f1f5f9;padding:14px 16px;font-size:.95rem}.badge-admin{color:#fff;white-space:nowrap;background:#ef4444;border-radius:20px;padding:4px 10px;font-size:.8rem;font-weight:600;display:inline-block}.badge-member{color:#fff;white-space:nowrap;background:#10b981;border-radius:20px;padding:4px 10px;font-size:.8rem;font-weight:600;display:inline-block}.badge-pwa-active{color:#059669;white-space:nowrap;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:.8rem;font-weight:600;display:inline-flex}.badge-pwa-inactive{color:#64748b;white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:.8rem;font-weight:500;display:inline-flex}.badge-pwa-unknown{color:#854d0e;white-space:nowrap;background:#fefce8;border:1px solid #fef08a;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:.8rem;font-weight:500;display:inline-flex}.admin-note{color:#64748b;margin-top:14px;font-size:.85rem}.invite-form .form-group{flex-wrap:wrap;gap:12px;display:flex}.admin-input{border:1.5px solid #e2e8f0;border-radius:8px;flex:1;min-width:200px;padding:12px 16px;font-size:1rem;transition:border-color .2s}.admin-input:focus{border-color:#3b82f6;outline:none}.admin-btn-primary:hover{background:#1d4ed8}.admin-btn-primary:disabled{cursor:not-allowed;background:#93c5fd}.invite-result-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-top:24px;padding:24px}.invite-result-panel h3{color:#1e293b;margin-top:0;font-size:1.15rem}.result-layout{flex-wrap:wrap;gap:32px;display:flex}.result-url-section{flex:1;min-width:260px}.result-label{color:#475569;margin-bottom:8px;font-size:.9rem;font-weight:600}.url-copy-box{gap:8px;display:flex}.admin-btn-secondary{color:#fff;cursor:pointer;background:#475569;border:none;border-radius:8px;padding:12px 20px;font-weight:600;transition:background .2s}.result-qr-section{text-align:center}.qr-img{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.admin-markdown{color:#334155;word-break:break-all;width:100%;font-size:1rem;line-height:1.7;overflow-x:auto}.admin-markdown table{border-collapse:collapse;width:100%;margin-bottom:12px;font-size:.9rem}@media (width<=480px){.admin-markdown table{font-size:.82rem}}.admin-markdown th,.admin-markdown td{border:1px solid #e2e8f0;padding:8px 10px}@media (width<=480px){.admin-markdown th,.admin-markdown td{padding:6px 4px}}.admin-matrix-container{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;max-height:540px;position:relative;overflow:auto;box-shadow:0 2px 8px #0000000a}.admin-matrix-markdown .markdown-body{margin:0;padding:0}.admin-matrix-markdown .markdown-table-wrapper,.admin-matrix-markdown .markdown-body>div{margin:0!important;overflow:visible!important}.admin-matrix-markdown table,.admin-matrix-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;min-width:600px;font-size:.88rem;margin:0!important}.admin-matrix-markdown thead th,.admin-matrix-table thead th{color:#1e293b;text-align:center;vertical-align:middle;letter-spacing:-.01em;z-index:10;background:#f1f5f9;border-top:none;border-bottom:2px solid #cbd5e1;border-left:none;border-right:1px solid #e2e8f0;padding:8px 4px;font-size:.85rem;font-weight:700;line-height:1.25;position:sticky;top:0;box-shadow:0 1px 2px #0000000d}.admin-matrix-markdown thead th:first-child,.admin-matrix-markdown thead th:nth-child(2){text-align:left;padding-left:10px}.admin-matrix-markdown thead th:last-child,.admin-matrix-table thead th:last-child{text-align:left;border-right:none;padding-left:10px}.admin-matrix-markdown td,.admin-matrix-table td{color:#334155;vertical-align:middle;background-color:#fff;border:1px solid #e2e8f0;border-top:none;border-left:none;padding:8px 4px;line-height:1.4}.admin-matrix-markdown td:first-child,.admin-matrix-markdown td:nth-child(2){padding-left:10px}.admin-matrix-markdown td:last-child,.admin-matrix-table td:last-child{border-right:none;padding-left:10px;padding-right:12px}.admin-matrix-markdown th:first-child,.admin-matrix-markdown td:first-child{white-space:normal;word-break:break-word;overflow-wrap:break-word;min-width:85px;max-width:110px;line-height:1.3}.admin-matrix-markdown th:nth-child(2),.admin-matrix-markdown td:nth-child(2){white-space:normal;word-break:break-word;overflow-wrap:break-word;min-width:120px;line-height:1.3}.admin-matrix-markdown th:nth-child(3),.admin-matrix-markdown td:nth-child(3),.admin-matrix-markdown th:nth-child(4),.admin-matrix-markdown td:nth-child(4),.admin-matrix-markdown th:nth-child(5):not(:last-child),.admin-matrix-markdown td:nth-child(5):not(:last-child){text-align:center;min-width:68px;max-width:95px;padding:6px 2px;font-size:.83rem}.admin-matrix-markdown th:last-child,.admin-matrix-markdown td:last-child{text-align:left;min-width:200px;line-height:1.4}.admin-matrix-markdown tbody tr:nth-child(2n) td,.admin-matrix-table tr:nth-child(2n) td{background-color:#f8fafc}.admin-matrix-markdown tbody tr:hover td,.admin-matrix-table tr:hover td{background-color:#f0fdf4}@media (width<=768px){.admin-matrix-container{max-height:480px}.admin-matrix-markdown table,.admin-matrix-table{font-size:.82rem}.admin-matrix-markdown thead th,.admin-matrix-table thead th,.admin-matrix-markdown td,.admin-matrix-table td{padding:8px 6px}.admin-matrix-markdown th:last-child,.admin-matrix-markdown td:last-child{min-width:180px}}.security-box{background:#fffbeb;border:1px solid #fef3c7;border-radius:8px;padding:20px}.admin-btn-link{color:#334155;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:12px 24px;font-weight:600;text-decoration:none;transition:background .2s;display:inline-block}.admin-btn-link:hover{background:#e2e8f0}.admin-unauthorized{text-align:center;background:#fff;border-left:6px solid #ef4444;border-radius:12px;max-width:600px;margin:60px auto;padding:32px;box-shadow:0 4px 20px #0000000d}.admin-unauthorized h2{color:#ef4444;margin-top:0}.admin-mobile-list{display:none}@media (width<=1023px){.admin-desktop-list{display:none}.admin-mobile-list{flex-direction:column;gap:16px;display:flex}.admin-member-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.card-top{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.card-email{color:#1e293b;margin-bottom:4px;font-size:.95rem}.card-visit,.card-device{color:#64748b;font-size:.85rem}}.admin-action-banner{border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:12px 16px;font-size:.95rem;font-weight:500;display:flex}.banner-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.banner-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.banner-close-btn{cursor:pointer;color:inherit;opacity:.7;background:0 0;border:none;font-size:1.1rem}.banner-close-btn:hover{opacity:1}.section-header-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.admin-btn-secondary{color:#0f172a;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;padding:8px 16px;font-size:.9rem;font-weight:600;transition:background .2s}.admin-btn-secondary:hover{background:#e2e8f0}.admin-add-resident-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:24px;padding:18px 20px}.admin-add-resident-form h3{color:#1e293b;margin-top:0;margin-bottom:6px;font-size:1.05rem}.form-hint{color:#64748b;margin-bottom:14px;font-size:.85rem}.form-grid{flex-wrap:wrap;gap:16px;margin-bottom:16px;display:flex}.form-item{flex-direction:column;flex:1;gap:6px;min-width:200px;display:flex}.form-item label{color:#334155;font-size:.85rem;font-weight:600}.form-item .req{color:#ef4444}.admin-input{border:1px solid #cbd5e1;border-radius:6px;outline:none;padding:8px 12px;font-size:.95rem;transition:border-color .2s}.admin-input:focus{border-color:#3b82f6}.form-actions{gap:10px;display:flex}.admin-btn-primary{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;padding:8px 20px;font-size:.9rem;font-weight:600;transition:background .2s}.admin-btn-primary:hover:not(:disabled){background:#1d4ed8}.admin-btn-primary:disabled{opacity:.6;cursor:not-allowed}.admin-btn-cancel{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:8px 16px;font-size:.9rem}.admin-btn-cancel:hover{background:#f1f5f9}.action-btn-group{justify-content:center;align-items:center;gap:6px;display:flex}.btn-action-role,.btn-action-delete{cursor:pointer;border:1px solid #0000;border-radius:4px;padding:4px 10px;font-size:.8rem;font-weight:600;transition:all .2s}.btn-promote{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.btn-promote:hover:not(:disabled){background:#dbeafe}.btn-demote{color:#475569;background:#f8fafc;border-color:#cbd5e1}.btn-demote:hover:not(:disabled){background:#f1f5f9}.btn-action-delete{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.btn-action-delete:hover:not(:disabled){background:#fee2e2}.btn-action-role:disabled,.btn-action-delete:disabled{opacity:.5;cursor:not-allowed}.card-actions{border-top:1px solid #e2e8f0;gap:8px;margin-top:12px;padding-top:10px;display:flex}.card-actions button{flex:1;padding:6px 12px}.admin-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0f172aa6;justify-content:center;align-items:center;padding:16px;animation:.2s ease-out modalOverlayFadeIn;display:flex;position:fixed;inset:0}.admin-modal-card{background:#fff;border-radius:16px;flex-direction:column;width:100%;max-width:480px;animation:.25s cubic-bezier(.16,1,.3,1) modalCardSlideUp;display:flex;overflow:hidden;box-shadow:0 20px 25px -5px #0003,0 10px 10px -5px #0000000a}@keyframes modalOverlayFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalCardSlideUp{0%{opacity:0;transform:translateY(16px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.admin-modal-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.admin-modal-header h3{color:#1e293b;align-items:center;gap:8px;margin:0;font-size:1.15rem;font-weight:700;display:flex}.admin-modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px;font-size:1.2rem;transition:all .15s}.admin-modal-close-btn:hover:not(:disabled){color:#475569;background:#f1f5f9}.admin-modal-body{color:#334155;padding:20px;font-size:.95rem;line-height:1.6}.admin-modal-body p{margin:0 0 10px}.admin-modal-info-box,.admin-modal-warning-box,.admin-modal-danger-box{border-radius:8px;margin-top:12px;padding:12px 14px;font-size:.88rem}.admin-modal-info-box{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe}.admin-modal-warning-box{color:#92400e;background:#fffbeb;border:1px solid #fde68a}.admin-modal-danger-box{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.admin-modal-info-box ul,.admin-modal-warning-box ul,.admin-modal-danger-box ul{margin:6px 0 0;padding-left:20px}.admin-modal-info-box li,.admin-modal-warning-box li,.admin-modal-danger-box li{margin-bottom:4px}.admin-modal-footer{background:#f8fafc;border-top:1px solid #f1f5f9;justify-content:flex-end;gap:10px;padding:14px 20px;display:flex}.admin-modal-btn-cancel,.admin-modal-btn-confirm{cursor:pointer;border:none;border-radius:8px;padding:10px 18px;font-size:.95rem;font-weight:600;transition:all .15s}.admin-modal-btn-cancel{color:#475569;background:#fff;border:1px solid #cbd5e1}.admin-modal-btn-cancel:hover:not(:disabled){background:#f1f5f9}.admin-modal-btn-confirm.btn-primary{color:#fff;background:#2563eb}.admin-modal-btn-confirm.btn-primary:hover:not(:disabled){background:#1d4ed8}.admin-modal-btn-confirm.btn-warning{color:#fff;background:#f59e0b}.admin-modal-btn-confirm.btn-warning:hover:not(:disabled){background:#d97706}.admin-modal-btn-confirm.btn-danger{color:#fff;background:#ef4444}.admin-modal-btn-confirm.btn-danger:hover:not(:disabled){background:#dc2626}.admin-modal-btn-cancel:disabled,.admin-modal-btn-confirm:disabled{opacity:.5;cursor:not-allowed}.admin-invite-container{max-width:800px;margin:0 auto;padding:24px}.back-link{color:#1a73e8;margin-bottom:24px;font-size:.95rem;font-weight:500;text-decoration:none;transition:opacity .2s;display:inline-block}.back-link:hover{opacity:.8}.admin-invite-title{color:#1e293b;margin-bottom:8px;font-size:1.8rem}.admin-invite-subtitle{color:#64748b;margin-bottom:32px;font-size:1.05rem}.admin-invite-section{background:#fff;border:1px solid #eef2f5;border-radius:12px;padding:32px;box-shadow:0 4px 20px #0000000d}.admin-disaster-container{box-sizing:border-box;width:100%;max-width:1200px;margin:0 auto;padding:12px 10px;overflow-x:hidden}.admin-disaster-header{box-sizing:border-box;border-bottom:3px solid #334155;margin-bottom:20px;padding-bottom:12px}.admin-disaster-header h1{letter-spacing:-.01em;word-break:break-word;overflow-wrap:anywhere;margin:0 0 8px;font-size:clamp(1.35rem,4vw,1.75rem);font-weight:800;line-height:1.3;color:#0f172a!important}.admin-disaster-header .subtitle{word-break:break-word;overflow-wrap:anywhere;margin:0;font-size:clamp(.85rem,2.5vw,.95rem);font-weight:500;line-height:1.6;color:#334155!important}.admin-section{box-sizing:border-box;background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;width:100%;min-width:0;max-width:100%;margin-bottom:24px;padding:20px;overflow:hidden;box-shadow:0 2px 8px #0000000a}.admin-section h2{word-break:break-word;overflow-wrap:anywhere;margin:0 0 8px;font-size:clamp(1.1rem,3vw,1.25rem);font-weight:800;line-height:1.4;color:#0f172a!important}.section-desc{word-break:break-word;overflow-wrap:anywhere;margin:0 0 16px;font-size:.9rem;font-weight:500;line-height:1.5;color:#334155!important}.disaster-mode-panel{background-color:#fff1f2;border:2px solid #fecdd3}.disaster-mode-panel h2{color:#be123c!important}.toggle-wrapper{box-sizing:border-box;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.status-text{flex-wrap:wrap;align-items:center;gap:8px;font-size:.95rem;font-weight:800;display:flex;color:#0f172a!important}.status-on{background-color:#fee2e2;border:1px solid #fca5a5;border-radius:6px;padding:4px 10px;font-weight:800;color:#991b1b!important}.status-off{background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;padding:4px 10px;font-weight:800;color:#166534!important}.mode-btn{cursor:pointer;box-sizing:border-box;border:none;border-radius:8px;min-height:44px;padding:10px 18px;font-size:.95rem;font-weight:800;transition:all .2s;box-shadow:0 2px 6px #0000001a}.btn-on{background-color:#e11d48;color:#fff!important}.btn-on:hover{background-color:#be123c}.btn-off{background-color:#fff;border:1.5px solid #cbd5e1;color:#0f172a!important}.btn-off:hover{background-color:#f1f5f9;border-color:#94a3b8}.admin-grid{box-sizing:border-box;grid-template-columns:1fr 1fr;gap:24px;width:100%;min-width:0;display:grid}.admin-grid-left,.admin-grid-right{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.pending-list{box-sizing:border-box;flex-direction:column;gap:16px;width:100%;min-width:0;display:flex}.pending-card{box-sizing:border-box;word-break:break-word;overflow-wrap:anywhere;background-color:#f8fafc;border:1px solid #cbd5e1;border-left:5px solid #64748b;border-radius:10px;width:100%;min-width:0;max-width:100%;padding:16px;overflow:hidden}.pending-card.source-earthquake{background-color:#fef2f2;border-left-color:#dc2626}.pending-card.source-rss{background-color:#fff7ed;border-left-color:#ea580c}.card-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;width:100%;min-width:0;margin-bottom:10px;display:flex}.source-label{background-color:#475569;border-radius:4px;padding:3px 8px;font-size:.75rem;font-weight:800;color:#fff!important}.time-label{font-size:.8rem;font-weight:600;color:#475569!important}.pending-card h3{word-break:break-word;overflow-wrap:anywhere;margin:0 0 8px;font-size:1.1rem;font-weight:800;line-height:1.4;color:#0f172a!important}.body-preview{word-break:break-word;overflow-wrap:anywhere;margin:0 0 12px;font-size:.95rem;line-height:1.6;color:#1e293b!important}.btn-edit-trigger{cursor:pointer;box-sizing:border-box;background-color:#0284c7;border:none;border-radius:6px;min-height:44px;padding:10px 16px;font-size:.9rem;font-weight:800;transition:background-color .2s;color:#fff!important}.btn-edit-trigger:hover{background-color:#0369a1}.edit-form-inline{box-sizing:border-box;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;flex-direction:column;gap:14px;width:100%;max-width:100%;margin-top:12px;padding:16px;display:flex}.edit-actions{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.btn-approve{cursor:pointer;background-color:#16a34a;border:none;border-radius:6px;min-height:44px;padding:10px 18px;font-size:.95rem;font-weight:800;color:#fff!important}.btn-approve:hover{background-color:#15803d}.btn-cancel{cursor:pointer;background-color:#fff;border:1.5px solid #cbd5e1;border-radius:6px;min-height:44px;padding:10px 18px;font-size:.95rem;font-weight:700;color:#334155!important}.btn-cancel:hover{background-color:#f1f5f9;color:#0f172a!important}.manual-form{box-sizing:border-box;flex-direction:column;gap:16px;width:100%;min-width:0;display:flex}.form-group input:not([type=checkbox]):not([type=radio]),.form-group textarea{box-sizing:border-box;border-radius:6px;width:100%;max-width:100%;padding:10px 12px;font-family:inherit;font-size:.95rem;color:#0f172a!important;background-color:#fff!important;border:1.5px solid #cbd5e1!important}.form-group input:focus,.form-group textarea:focus{outline:none;box-shadow:0 0 0 3px #0284c726;border-color:#0284c7!important}.form-group input::placeholder,.form-group textarea::placeholder{opacity:1;color:#94a3b8!important}.checkbox-group label{cursor:pointer;align-items:center;gap:10px;font-weight:700;display:flex;color:#0f172a!important}.checkbox-group input[type=checkbox]{cursor:pointer;flex-shrink:0;width:20px!important;height:20px!important;margin:0!important}.checkbox-group span{word-break:break-word;overflow-wrap:anywhere;flex:1;font-size:.92rem;line-height:1.5;color:#0f172a!important}.btn-submit-manual{cursor:pointer;box-sizing:border-box;background-color:#e11d48;border:none;border-radius:8px;width:100%;min-height:48px;padding:14px 18px;font-size:1rem;font-weight:800;transition:background-color .2s;box-shadow:0 2px 6px #e11d4840;color:#fff!important}.btn-submit-manual:hover{background-color:#be123c}.btn-submit-manual:disabled{opacity:.6;background-color:#f43f5e}.rescue-section{background-color:#fff1f2;border:2px solid #fecdd3}.rescue-list{box-sizing:border-box;flex-direction:column;gap:18px;width:100%;min-width:0;display:flex}.rescue-card{box-sizing:border-box;word-break:break-word;overflow-wrap:anywhere;background-color:#fff;border:1px solid #cbd5e1;border-left:6px solid #e11d48;border-radius:10px;width:100%;min-width:0;max-width:100%;padding:18px;overflow:hidden;box-shadow:0 2px 8px #0000000a}.rescue-card.urgency-high{background-color:#fff5f5;border-left-color:#dc2626}.rescue-card.urgency-medium{background-color:#fffbf5;border-left-color:#ea580c}.rescue-card-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;width:100%;min-width:0;margin-bottom:12px;display:flex}.urgency-badge{border-radius:4px;padding:3px 8px;font-size:.75rem;font-weight:800;color:#fff!important}.urgency-badge.urgency-high{background-color:#dc2626}.urgency-badge.urgency-medium{background-color:#ea580c}.rescue-time{font-size:.8rem;font-weight:600;color:#475569!important}.rescue-user-info{margin-bottom:12px}.rescue-user-info h3{word-break:break-word;margin:0 0 6px;font-size:1.15rem;font-weight:800;color:#0f172a!important}.rescue-user-info p{word-break:break-word;margin:0 0 4px;font-size:.95rem;line-height:1.5;color:#1e293b!important}.rescue-user-info a{font-weight:800;text-decoration:underline;color:#0284c7!important}.rescue-situation{box-sizing:border-box;background-color:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;margin-bottom:12px;padding:12px 14px;font-size:.95rem}.rescue-situation strong{font-weight:800;color:#0f172a!important}.rescue-situation p{word-break:break-word;overflow-wrap:anywhere;margin:6px 0 0;line-height:1.6;color:#1e293b!important}.rescue-location{box-sizing:border-box;background-color:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;margin-bottom:15px;padding:12px 14px;font-size:.9rem}.rescue-location strong{font-weight:800;color:#0f172a!important}.rescue-location p{word-break:break-word;overflow-wrap:anywhere;margin:6px 0 10px;font-weight:600;color:#334155!important}.maps-link-btn{box-sizing:border-box;word-break:break-all;background-color:#16a34a;border-radius:6px;align-items:center;min-height:44px;padding:8px 14px;font-size:.88rem;font-weight:800;text-decoration:none;display:inline-flex;color:#fff!important}.maps-link-btn:hover{background-color:#15803d}.btn-resolve{cursor:pointer;box-sizing:border-box;background-color:#16a34a;border:none;border-radius:8px;width:100%;min-height:48px;padding:12px 18px;font-size:.95rem;font-weight:800;color:#fff!important}.btn-resolve:hover{background-color:#15803d}.no-data{padding:15px 0;font-size:.95rem;font-style:italic;color:#475569!important}.green-text{font-weight:800;color:#16a34a!important}@media (width<=900px){.admin-grid{grid-template-columns:1fr;gap:16px}}@media (width<=1023px){.admin-disaster-container{padding:10px 8px}.admin-section{padding:16px 14px}}@media (width<=500px){.admin-disaster-container{padding:8px 6px}.admin-section{padding:14px 10px}}@media (prefers-color-scheme:dark){:root{--su-bg-page:#0b1120;--su-bg-card:#1e293b;--su-bg-subcard:#0f172a;--su-bg-input:#0f172a;--su-bg-modal:#1e293b;--su-bg-slide:#1e293b;--su-border:#334155;--su-border-subtle:#ffffff14;--su-border-input:#334155;--su-text-main:#f8fafc;--su-text-secondary:#cbd5e1;--su-text-muted:#94a3b8;--su-primary:#3b82f6;--su-primary-hover:#2563eb;--su-link:#60a5fa;--su-link-hover:#93c5fd;--su-msg-me-bg:#1e3a8a;--su-msg-me-border:#3b82f6;--su-msg-me-text:#fff;--su-msg-me-meta:#93c5fd;--su-msg-other-bg:#1e293b;--su-msg-other-border:#334155;--su-msg-other-text:#f8fafc;--su-msg-other-meta:#94a3b8;--su-msg-bot-bg:#064e3b;--su-msg-bot-border:#059669;--su-msg-bot-text:#ecfdf5;--su-reaction-bg:#0f172a;--su-reaction-border:#334155;--su-reaction-text:#cbd5e1;--su-shadow-sm:0 1px 3px #0000004d;--su-shadow-md:0 4px 12px #00000040;--su-shadow-lg:0 10px 25px -5px #00000080}}@keyframes popIn{0%{opacity:0;transform:translate(-50%,-20px)scale(.92)}to{opacity:1;transform:translate(-50%)scale(1)}}@media (width<=1023px){.comment-fab-container{bottom:calc(80px + env(safe-area-inset-bottom,0));right:16px}}@media (prefers-color-scheme:dark){.admonition{background:#17a2b826;border:1px solid #17a2b84d;border-left:4px solid #38bdf8}.admonition.tip{background:#064e3b73;border:1px solid #10b98159;border-left:4px solid #10b981}.admonition-title{color:#34d399}.admonition li{color:#ecfdf5}.admonition strong{color:#a7f3d0}}@media (prefers-color-scheme:dark){.markdown-alert.markdown-alert-note{background-color:#2563eb2e;border-color:#1e3a8a #1e3a8a #1e3a8a #3b82f6}.markdown-alert.markdown-alert-note .markdown-alert-title{color:#60a5fa}.markdown-alert.markdown-alert-tip{background-color:#16a34a2e;border-color:#14532d #14532d #14532d #22c55e}.markdown-alert.markdown-alert-tip .markdown-alert-title{color:#4ade80}.markdown-alert.markdown-alert-important{background-color:#8b5cf62e;border-color:#4c1d95 #4c1d95 #4c1d95 #a855f7}.markdown-alert.markdown-alert-important .markdown-alert-title{color:#c084fc}.markdown-alert.markdown-alert-warning{background-color:#d977062e;border-color:#78350f #78350f #78350f #f59e0b}.markdown-alert.markdown-alert-warning .markdown-alert-title{color:#fbbf24}.markdown-alert.markdown-alert-caution{background-color:#dc26262e;border-color:#7f1d1d #7f1d1d #7f1d1d #ef4444}.markdown-alert.markdown-alert-caution .markdown-alert-title{color:#f87171}}.superuser-chat-page{max-width:100%;color:var(--su-text-main);box-sizing:border-box;flex-direction:column;height:calc(100dvh - 65px);margin:0 auto;padding:.35rem .5rem;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;overflow:hidden}.superuser-chat-header{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:.5rem;margin-bottom:.75rem;padding:.65rem .85rem;display:flex;box-shadow:0 1px 3px #0000000d}.superuser-chat-header-row{align-items:center;gap:.4rem;width:100%;display:flex}.superuser-chat-header-row .superuser-chat-search-bar{flex:1;margin:0}.superuser-chat-title-group{align-items:center;gap:.75rem;display:flex}.superuser-chat-title{color:#0f172a;align-items:center;gap:.5rem;margin:0;font-size:1.25rem;font-weight:700;display:flex}.superuser-chat-badge{color:#fff;background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);border-radius:9999px;padding:.2rem .6rem;font-size:.75rem;font-weight:600}.superuser-chat-search-bar{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:.5rem;padding:.4rem .75rem;display:flex}.superuser-chat-search-input{color:#334155;background:0 0;border:none;outline:none;width:100%;font-size:.9rem}.superuser-chat-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;align-items:center;padding:0;display:flex}.superuser-chat-search-clear:hover{color:#0f172a}.superuser-chat-jump-btn{color:#fff;cursor:pointer;background:#334155;border:none;border-radius:4px;align-items:center;margin-left:auto;padding:2px 8px;font-size:.72rem;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 1px 2px #0000001a}.superuser-chat-jump-btn:hover{color:#fff;background:#4f46e5;transform:translateY(-1px)}.superuser-chat-jump-btn:active{transform:translateY(0)}@keyframes superuser-jump-flash{0%{background-color:#fde04780;box-shadow:0 0 0 3px #eab30866}70%{background-color:#fde04733}to{box-shadow:none;background-color:#0000}}.superuser-chat-msg-item.highlighted-jump{border-radius:8px;animation:3s ease-out superuser-jump-flash}.superuser-chat-newer-controls{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;justify-content:center;align-items:center;gap:.75rem;margin-top:1rem;padding:.75rem 1rem;display:flex}.superuser-chat-load-newer-btn{color:#334155;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;padding:.4rem .85rem;font-size:.8rem;font-weight:600;transition:all .15s}.superuser-chat-load-newer-btn:hover{color:#0f172a;background:#e2e8f0}.superuser-chat-load-newer-btn:disabled{opacity:.6;cursor:not-allowed}.superuser-chat-msg-bubble blockquote,.superuser-chat-msg-bubble .markdown-blockquote{color:#475569;background:#0000000a;border-left:3px solid #3b82f6;border-radius:0 6px 6px 0;margin:.45rem 0;padding:.4rem .75rem;font-style:normal}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble blockquote,.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble .markdown-blockquote{color:#1e293b;background:#4338ca14;border-left-color:#4f46e5}.superuser-chat-msg-bubble details{background:#1e293b80;border:1px solid #e2e8f026;border-radius:8px;margin:.3rem 0;padding:.4rem .65rem;transition:all .2s}.superuser-chat-msg-bubble details[open]{background:#0f172a99;border-color:#6366f166}.superuser-chat-msg-bubble summary{cursor:pointer;color:#38bdf8;-webkit-user-select:none;user-select:none;outline:none;padding:.2rem 0;font-size:.9rem;font-weight:600}.superuser-chat-msg-bubble summary:hover{color:#7dd3fc}.superuser-chat-msg-bubble details>:not(summary){border-top:1px dashed #e2e8f026;margin-top:.5rem;padding-top:.4rem}.superuser-chat-msg-bubble .markdown-table-wrapper{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #cbd5e1;border-radius:8px;margin:.5rem 0;overflow-x:auto}.superuser-chat-msg-bubble .markdown-table{border-collapse:collapse;width:max-content;min-width:100%;font-size:.85rem}.superuser-chat-msg-bubble .markdown-th{color:#334155;text-align:left;white-space:nowrap;background:#f1f5f9;border:1px solid #cbd5e1;padding:6px 10px;font-weight:600}.superuser-chat-msg-bubble .markdown-td{color:#1e293b;word-break:normal;overflow-wrap:break-word;background:#fff;border:1px solid #e2e8f0;max-width:260px;padding:6px 10px}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble .markdown-table-wrapper{border-color:#a5b4fc}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble .markdown-th{color:#312e81;background:#c7d2fe;border-color:#a5b4fc}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble .markdown-td{color:#1e1b4b;background:#ffffffe6;border-color:#c7d2fe}.superuser-chat-msg-item.is-bot .superuser-chat-msg-bubble .markdown-table-wrapper{background:#fff;border-color:#bbf7d0}.superuser-chat-msg-item.is-bot .superuser-chat-msg-bubble .markdown-th{color:#065f46;background:#dcfce7;border-color:#bbf7d0}.superuser-chat-msg-item.is-bot .superuser-chat-msg-bubble .markdown-td{color:#064e3b;background:#fffffff2;border-color:#bbf7d0}.superuser-chat-bot-ask-badge{color:#10b981;background:#10b98126;border:1px solid #10b9814d;border-radius:4px;align-items:center;gap:2px;padding:1px 6px;font-size:.7rem;font-weight:600;display:inline-flex}@keyframes botDotBounce{0%,80%,to{opacity:.4;transform:translateY(0)}40%{opacity:1;transform:translateY(-6px)}}@keyframes botAvatarPulse{0%,to{box-shadow:0 0 #6366f180}50%{box-shadow:0 0 0 8px #6366f100}}@keyframes botBubbleShimmer{0%{background-position:-200%}to{background-position:200%}}.superuser-chat-bot-thinking-item{opacity:1;animation:none}.pulsing-bot-avatar{animation:1.4s ease-in-out infinite botAvatarPulse}.superuser-chat-bot-thinking-bubble{animation:2s linear infinite botBubbleShimmer;background:linear-gradient(90deg,#6366f114 0%,#8b5cf626 50%,#6366f114 100%) 0 0/200% 100%!important;border:1px solid #8b5cf640!important}.superuser-chat-thinking-tag{color:#a78bfa;letter-spacing:.03em;font-size:.68rem;font-weight:700}.superuser-chat-thinking-content{color:#94a3b8;align-items:center;gap:.6rem;padding-top:.25rem;font-size:.82rem;display:flex}.bot-thinking-dots{align-items:center;gap:4px;display:flex}.bot-thinking-dots .dot{background:#818cf8;border-radius:50%;width:7px;height:7px;animation:1.4s ease-in-out infinite botDotBounce;display:inline-block}.bot-thinking-dots .dot-1{animation-delay:0s}.bot-thinking-dots .dot-2{animation-delay:.18s}.bot-thinking-dots .dot-3{animation-delay:.36s}.superuser-chat-insert-fold-btn{color:#38bdf8;cursor:pointer;background:#f1f5f914;border:1px dashed #38bdf866;border-radius:6px;align-items:center;gap:.3rem;margin-left:.75rem;padding:.25rem .6rem;font-size:.75rem;font-weight:600;transition:all .2s;display:flex}.superuser-chat-insert-fold-btn:hover{color:#7dd3fc;background:#38bdf826;border-color:#38bdf8}.superuser-chat-reset-latest-btn{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:6px;padding:.4rem .9rem;font-size:.8rem;font-weight:600;transition:all .15s;box-shadow:0 1px 3px #4f46e533}.superuser-chat-reset-latest-btn:hover{background:#4338ca;transform:translateY(-1px)}.superuser-chat-timeline{scroll-behavior:smooth;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;flex:1;gap:.75rem;margin-bottom:.5rem;padding:.6rem .35rem;display:flex;overflow-y:auto}.superuser-chat-load-more-btn{color:#475569;cursor:pointer;background:#e2e8f0;border:none;border-radius:20px;align-self:center;padding:.4rem 1rem;font-size:.85rem;font-weight:600;transition:all .2s}.superuser-chat-load-more-btn:hover{color:#1e293b;background:#cbd5e1}.superuser-chat-msg-item{box-sizing:border-box;gap:.75rem;width:100%;max-width:100%;display:flex}.superuser-chat-msg-item.is-me{flex-direction:row-reverse;align-self:flex-end}.superuser-chat-msg-item.is-bot{align-self:flex-start}.superuser-chat-avatar{color:#334155;background:#cbd5e1;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:.9rem;font-weight:700;display:flex}.superuser-chat-avatar.bot-avatar{color:#fff;background:linear-gradient(135deg,#10b981 0%,#059669 100%)}.superuser-chat-msg-bubble{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;cursor:pointer;word-break:break-word;overflow-wrap:anywhere;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:0;max-width:calc(100% - 48px);padding:.85rem 1rem;position:relative;box-shadow:0 1px 2px #0000000a}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble{background:#e0e7ff;border-color:#c7d2fe}.superuser-chat-msg-item.is-bot .superuser-chat-msg-bubble{background:#f0fdf4;border-color:#bbf7d0}.superuser-chat-msg-meta{color:#64748b;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.35rem;font-size:.75rem;display:flex}.superuser-chat-msg-author{color:#334155;font-weight:600}.superuser-chat-ref-badge{color:#475569;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:4px;align-items:center;gap:.25rem;margin-top:.5rem;padding:.15rem .4rem;font-size:.75rem;font-weight:600;text-decoration:none;display:inline-flex}.superuser-chat-ref-badge:hover{color:#0f172a;background:#e2e8f0}.superuser-chat-tag-action-btn{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;margin-top:.5rem;padding:0;transition:all .15s;display:inline-flex}.superuser-chat-tag-action-btn:hover{color:#1e293b;background:#e2e8f0;border-color:#94a3b8}.superuser-chat-tag-action-btn.delete:hover{color:#ef4444;background:#fef2f2;border-color:#fca5a5}.superuser-chat-modal-btn-danger{color:#ef4444;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;align-items:center;gap:.35rem;padding:.5rem .9rem;font-size:.85rem;font-weight:600;transition:all .15s;display:inline-flex}.superuser-chat-modal-btn-danger:hover{color:#dc2626;background:#fee2e2;border-color:#f87171}.superuser-chat-msg-actions{border-top:1px dashed #e2e8f0;gap:.4rem;margin-top:.5rem;padding-top:.4rem;display:flex}.superuser-chat-action-btn{color:#475569;cursor:pointer;background:0 0;border:1px solid #cbd5e1;border-radius:4px;align-items:center;gap:.25rem;padding:.2rem .5rem;font-size:.75rem;transition:background .15s;display:flex}.superuser-chat-action-btn:hover{color:#0f172a;background:#f1f5f9}.superuser-chat-input-area{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:.25rem;padding:.4rem .6rem;display:flex;box-shadow:0 1px 3px #0000000d}.superuser-chat-input-controls{color:#64748b;justify-content:space-between;align-items:center;padding:0 .1rem;font-size:.82rem;display:flex}.superuser-chat-bot-toggle{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.35rem;font-weight:600;display:flex}.superuser-chat-bot-toggle input{cursor:pointer}.superuser-chat-bot-hint.is-detected{color:#059669;font-weight:600}.superuser-chat-push-diag-btn{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;padding:6px 8px;transition:all .15s;display:inline-flex}.superuser-chat-push-diag-btn:hover{color:#0f172a;background:#e2e8f0}.superuser-chat-push-warn-dot{background:#ef4444;border-radius:50%;width:7px;height:7px;position:absolute;top:3px;right:3px}.superuser-chat-push-diag-list{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:.45rem;margin-bottom:.75rem;padding:.65rem .8rem;font-size:.85rem;display:flex}.superuser-chat-push-diag-row{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.superuser-chat-push-diag-alert{word-break:break-word;border-radius:8px;margin-bottom:.75rem;padding:.55rem .75rem;font-size:.82rem;line-height:1.45}.superuser-chat-push-diag-alert.is-ok{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.superuser-chat-push-diag-alert.is-err{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.superuser-chat-push-diag-alert.is-info{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe}.superuser-chat-push-diag-tips{color:#475569;background:#f1f5f9;border-radius:8px;margin-bottom:.85rem;padding:.6rem .75rem;font-size:.78rem;line-height:1.5}.superuser-chat-push-diag-tips ul{margin:.3rem 0 0 1.1rem;padding:0}.superuser-chat-textarea-group{align-items:flex-end;gap:.35rem;display:flex}.superuser-chat-textarea{resize:none;border:1px solid #cbd5e1;border-radius:8px;outline:none;flex:1;min-height:40px;max-height:120px;padding:.45rem .65rem;font-family:inherit;font-size:.95rem}.superuser-chat-textarea:focus{border-color:#6366f1;box-shadow:0 0 0 2px #6366f126}.superuser-chat-search-highlight{color:#854d0e;background-color:#fef08a;border-radius:4px;padding:.1rem .25rem;font-weight:700;box-shadow:0 0 0 1px #fde047}.superuser-chat-send-btn{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;min-width:38px;height:38px;padding:0;transition:background .15s,transform .1s;display:flex}.superuser-chat-send-btn:hover:not(:disabled){background:#4338ca;transform:scale(1.05)}.superuser-chat-send-btn:disabled{color:#94a3b8;cursor:not-allowed;background:#cbd5e1}.superuser-chat-modal-overlay{z-index:1000;background:#0f172a80;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.superuser-chat-modal{background:#fff;border-radius:12px;flex-direction:column;gap:1rem;width:100%;max-width:550px;padding:1.5rem;display:flex;box-shadow:0 20px 25px -5px #0000001a}.superuser-chat-modal-title{color:#0f172a;margin:0;font-size:1.15rem;font-weight:700}.superuser-chat-modal-field{flex-direction:column;gap:.35rem;display:flex}.superuser-chat-modal-label{color:#475569;font-size:.85rem;font-weight:600}.superuser-chat-modal-input,.superuser-chat-modal-select,.superuser-chat-modal-textarea{border:1px solid #cbd5e1;border-radius:6px;outline:none;padding:.5rem .75rem;font-family:inherit;font-size:.9rem}.superuser-chat-modal-textarea{resize:vertical;min-height:80px}.superuser-chat-modal-actions{justify-content:flex-end;gap:.75rem;margin-top:.5rem;display:flex}.superuser-chat-modal-cancel{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;padding:.5rem 1rem;font-weight:600}.superuser-chat-modal-submit{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:6px;padding:.5rem 1.25rem;font-weight:600}.superuser-chat-menu-popup-centered{z-index:1050;background:#fff;border-radius:14px;flex-direction:column;gap:.75rem;width:90%;max-width:360px;max-height:85vh;padding:1.25rem;animation:.2s ease-out superuser-modal-fade;display:flex;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 20px 25px -5px #0003,0 8px 10px -6px #0000001a}.superuser-chat-date-divider{justify-content:center;align-items:center;margin:1.25rem 0 .75rem;display:flex;position:relative}.superuser-chat-date-divider:before{content:"";z-index:1;border-top:1px dashed #cbd5e1;position:absolute;top:50%;left:0;right:0}.superuser-chat-date-divider span{color:#475569;z-index:2;background:#e2e8f0;border-radius:9999px;padding:.25rem .75rem;font-size:.75rem;font-weight:600;position:relative}.superuser-chat-bot-toggle-wrapper{margin-top:.25rem}.superuser-chat-bot-toggle-btn{color:#047857;cursor:pointer;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;justify-content:space-between;align-items:center;width:100%;padding:.35rem .75rem;font-size:.8rem;font-weight:600;transition:background .15s;display:flex}.superuser-chat-bot-toggle-btn:hover{background:#d1fae5}.superuser-chat-bot-expanded-content{border-top:1px dashed #a7f3d0;margin-top:.5rem;padding-top:.5rem}.superuser-chat-reactions-wrapper{flex-wrap:wrap;align-items:center;gap:.35rem;margin-top:.4rem;display:flex;position:relative}.superuser-chat-reaction-badge{cursor:pointer;-webkit-user-select:none;user-select:none;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:9999px;align-items:center;gap:.25rem;padding:.15rem .5rem;font-size:.78rem;transition:all .15s;display:inline-flex}.superuser-chat-reaction-badge.active{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd;font-weight:600}.superuser-chat-reaction-badge:hover{background:#e2e8f0}.superuser-chat-reaction-badge .count{color:#64748b;font-size:.72rem;font-weight:600}.superuser-chat-add-reaction-btn{color:#94a3b8;cursor:pointer;background:0 0;border:1px dashed #cbd5e1;border-radius:9999px;justify-content:center;align-items:center;width:24px;height:24px;transition:all .15s;display:inline-flex}.superuser-chat-add-reaction-btn:hover{color:#6366f1;background:#e0e7ff;border-color:#6366f1}.superuser-chat-emoji-picker-popup{z-index:10;background:#fff;border:1px solid #cbd5e1;border-radius:20px;gap:.4rem;margin-top:.2rem;padding:.3rem .5rem;animation:.15s fadeIn;display:flex;position:absolute;top:100%;left:0;box-shadow:0 4px 12px #0000001f}.superuser-chat-picker-emoji{cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.2rem .3rem;font-size:1.1rem;transition:transform .1s,background .1s}.superuser-chat-picker-emoji:hover{background:#f1f5f9;transform:scale(1.25)}.superuser-chat-typing-container{color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:18px;align-self:flex-start;align-items:center;gap:.5rem;padding:.4rem .85rem;font-size:.78rem;display:inline-flex;box-shadow:0 1px 2px #0000000a}.typing-dots{align-items:center;gap:3px;display:flex}.typing-dots span{background-color:#6366f1;border-radius:50%;width:6px;height:6px;animation:1.4s ease-in-out infinite both typingBounce;display:inline-block}.typing-dots span:first-child{animation-delay:-.32s}.typing-dots span:nth-child(2){animation-delay:-.16s}@keyframes typingBounce{0%,80%,to{opacity:.4;transform:scale(.3)}40%{opacity:1;transform:scale(1)}}.superuser-chat-image-preview-container{gap:.5rem;margin-bottom:.4rem;padding:.4rem .2rem;display:flex;overflow-x:auto}.superuser-chat-image-preview-item{border:1px solid #cbd5e1;border-radius:6px;flex-shrink:0;width:60px;height:60px;position:relative;overflow:hidden}.superuser-chat-image-preview-item img{object-fit:cover;width:100%;height:100%}.superuser-chat-image-remove-btn{color:#fff;cursor:pointer;background:#0009;border:none;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;padding:0;display:flex;position:absolute;top:2px;right:2px}.superuser-chat-attach-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:.5rem;transition:background .15s,color .15s;display:flex}.superuser-chat-attach-btn:hover{color:#2563eb;background:#f1f5f9}@media (width<=640px){.superuser-chat-page{top:56px;left:0;right:0;bottom:calc(68px + env(safe-area-inset-bottom,0px));touch-action:none;z-index:10;max-width:100%;height:auto;margin:0;padding:.15rem .15rem 0;position:fixed;overflow:hidden}.ios-pwa .superuser-chat-page{bottom:calc(88px + env(safe-area-inset-bottom,0px))}.superuser-chat-header{border-radius:8px;flex-shrink:0;margin-bottom:.35rem;padding:.5rem .65rem}.superuser-chat-header-top{flex-wrap:wrap;gap:.4rem}.superuser-chat-title{font-size:1rem}.superuser-chat-timeline{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;border-radius:8px;flex:1;min-height:0;max-height:none;margin-bottom:.35rem;padding:.4rem .15rem;overflow-y:auto}.superuser-chat-msg-item{gap:.35rem;max-width:100%}.superuser-chat-msg-bubble{max-width:calc(100% - 44px);padding:.55rem .75rem}.superuser-chat-input-area{border-radius:8px 8px 0 0;flex-shrink:0;margin-bottom:0;padding:.25rem .35rem}.superuser-chat-textarea{padding:.35rem .5rem;font-size:16px!important}.superuser-chat-send-btn{width:36px;min-width:36px;height:36px}}.superuser-chat-landscape-input-toggle{color:#334155;white-space:nowrap;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:7px;flex-shrink:0;align-items:center;gap:3px;padding:4px 8px;font-size:.74rem;font-weight:700;display:none}.superuser-chat-landscape-input-toggle.is-collapsed{color:#fff;background:#4f46e5;border-color:#4338ca}@media (width<=1024px) and (orientation:landscape),(orientation:landscape) and (height<=600px){.superuser-chat-page{top:env(safe-area-inset-top,0px);left:env(safe-area-inset-left,0px);right:env(safe-area-inset-right,0px);bottom:env(safe-area-inset-bottom,0px);touch-action:none;z-index:10;max-width:100%;height:auto;margin:0;padding:4px 8px;position:fixed;overflow:hidden}.layout-container.disaster-active .superuser-chat-page{top:calc(32px + env(safe-area-inset-top,0px))}.superuser-chat-landscape-input-toggle{display:inline-flex}.superuser-chat-header{border-radius:8px;flex-shrink:0;gap:.25rem;margin-bottom:.25rem;padding:.25rem .5rem}.superuser-chat-header-row{gap:.35rem}.superuser-chat-search-bar{border-radius:6px;padding:.2rem .5rem}.superuser-chat-search-input{font-size:.82rem}.superuser-chat-arch-link{margin-left:0!important;padding:4px 8px!important;font-size:.74rem!important}.superuser-chat-timeline{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;border-radius:8px;flex:1;gap:.45rem;min-height:0;max-height:none;margin-bottom:.25rem;padding:.35rem;overflow-y:auto}.superuser-chat-msg-item{gap:.35rem}.superuser-chat-avatar{width:28px;height:28px;font-size:.72rem}.superuser-chat-msg-bubble{border-radius:10px;max-width:calc(100% - 36px);padding:.45rem .65rem}.superuser-chat-msg-meta{margin-bottom:.2rem;font-size:.7rem}.superuser-chat-msg-bubble .markdown-table{font-size:.78rem}.superuser-chat-msg-bubble .markdown-th,.superuser-chat-msg-bubble .markdown-td{padding:4px 7px}.superuser-chat-input-area{border-radius:8px;flex-shrink:0;gap:.15rem;margin-bottom:0;padding:.2rem 52px .2rem .4rem}.superuser-chat-input-area.is-landscape-collapsed{display:none}.superuser-chat-input-controls{white-space:nowrap;justify-content:flex-start;gap:.35rem;font-size:.72rem;overflow-x:auto}.superuser-chat-insert-fold-btn{padding:.12rem .45rem;font-size:.7rem;margin-left:0!important}.superuser-chat-bot-hint{display:none}.superuser-chat-textarea{min-height:32px;max-height:64px;padding:.22rem .5rem;line-height:1.35;font-size:16px!important}.superuser-chat-attach-btn{padding:.25rem}.superuser-chat-send-btn{width:32px;min-width:32px;height:32px}.superuser-chat-thread-modal{height:92dvh;max-height:92dvh}}.superuser-chat-menu-overlay{z-index:1100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#0f172a73;justify-content:center;align-items:center;padding:1rem;animation:.15s fadeIn;display:flex;position:fixed;inset:0}.superuser-chat-menu-popup{z-index:1101;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:18px;width:100%;max-width:360px;max-height:85vh;padding:1rem;animation:.18s cubic-bezier(.16,1,.3,1) popupScale;position:relative;overflow-y:auto;box-shadow:0 20px 25px -5px #00000040,0 8px 10px -6px #0000001a}@keyframes popupScale{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.superuser-chat-menu-emoji-grid{-webkit-user-select:none;user-select:none;background:#f8fafc;border:1px solid #f1f5f9;border-radius:12px;grid-template-columns:repeat(6,1fr);place-items:center;gap:.25rem .15rem;margin-bottom:.4rem;padding:.35rem .2rem;display:grid}.superuser-chat-menu-emoji-btn{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:.25rem;font-size:1.3rem;transition:transform .12s,background .12s;display:flex}.superuser-chat-menu-emoji-btn:hover{background:#f1f5f9;transform:scale(1.3)}.superuser-chat-menu-divider{background:#f1f5f9;height:1px;margin:.35rem 0}.superuser-chat-menu-item{text-align:left;color:#334155;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.5rem;width:100%;padding:.5rem .75rem;font-size:.88rem;transition:background .12s;display:flex}.superuser-chat-menu-item:hover{color:#0f172a;background:#f8fafc}.superuser-chat-reply-banner{background:#f1f5f9;border-left:3px solid #3b82f6;border-radius:8px 8px 0 0;justify-content:space-between;align-items:center;margin-bottom:.25rem;padding:.4rem .75rem;font-size:.8rem;animation:.15s ease-out superuserSlideDown;display:flex}.superuser-chat-reply-banner-content{flex-direction:column;gap:.1rem;display:flex;overflow:hidden}.superuser-chat-reply-banner-title{color:#2563eb;font-size:.78rem;font-weight:600}.superuser-chat-reply-banner-text{color:#64748b;white-space:nowrap;text-overflow:ellipsis;max-width:450px;overflow:hidden}.superuser-chat-reply-banner-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:4px;transition:all .12s;display:flex}.superuser-chat-reply-banner-close:hover{color:#0f172a;background:#e2e8f0}.superuser-chat-reply-preview{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;background:#0000000d;border-radius:8px;align-items:stretch;min-width:0;max-width:100%;margin-bottom:.45rem;padding:.35rem .5rem;transition:background .15s,transform .1s;display:flex;overflow:hidden}.is-me .superuser-chat-reply-preview{background:#4338ca1a;border:1px solid #6366f133}.superuser-chat-reply-preview:hover{background:#00000017;transform:translateY(-1px)}.is-me .superuser-chat-reply-preview:hover{background:#4338ca2e}.superuser-chat-reply-preview-bar{background:#3b82f6;border-radius:2px;flex-shrink:0;width:3px;margin-right:.5rem}.is-me .superuser-chat-reply-preview-bar{background:#4f46e5}.superuser-chat-reply-preview-body{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex;overflow:hidden}.superuser-chat-reply-preview-author{color:#2563eb;font-size:.72rem;font-weight:700}.is-me .superuser-chat-reply-preview-author{color:#4338ca}.superuser-chat-reply-preview-text{color:#334155;white-space:nowrap;text-overflow:ellipsis;font-size:.78rem;overflow:hidden}.is-me .superuser-chat-reply-preview-text{color:#1e293b}.superuser-chat-thread-link-btn{color:#2563eb;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:.35rem;margin-top:.35rem;padding:.25rem .4rem;font-size:.82rem;font-weight:600;transition:all .15s;display:inline-flex}.is-me .superuser-chat-thread-link-btn{color:#4338ca}.superuser-chat-thread-link-btn:hover{background:#2563eb14;transform:translate(2px)}.is-me .superuser-chat-thread-link-btn:hover{background:#4338ca1f}.superuser-chat-thread-link-btn .thread-arrow{font-size:1rem;line-height:1}.superuser-chat-thread-overlay{-webkit-backdrop-filter:blur(10px);z-index:1050;background:#000000b8;justify-content:center;align-items:center;padding:1rem;animation:.2s ease-out superuserFadeIn;display:flex;position:fixed;inset:0}.superuser-chat-thread-modal{background:#0f172a;border:1px solid #ffffff1f;border-radius:20px;flex-direction:column;width:100%;max-width:580px;height:85vh;max-height:780px;animation:.22s cubic-bezier(.16,1,.3,1) superuserScaleUp;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #0009}.superuser-chat-thread-header{background:#1e293b;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:.85rem 1.15rem;display:flex}.superuser-chat-thread-header-info{align-items:center;gap:.75rem;display:flex}.superuser-chat-thread-header-avatar{color:#f8fafc;background:#475569;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:.9rem;font-weight:700;display:flex}.superuser-chat-thread-header-avatar.bot-avatar{background:#10b981}.superuser-chat-thread-header-title{flex-direction:column;display:flex}.superuser-chat-thread-header-name{color:#f8fafc;font-size:.98rem;font-weight:700}.superuser-chat-thread-header-sub{color:#94a3b8;font-size:.75rem}.superuser-chat-thread-close-btn{color:#cbd5e1;cursor:pointer;background:#ffffff1a;border:none;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;transition:all .15s;display:flex}.superuser-chat-thread-close-btn:hover{color:#fff;background:#fff3;transform:rotate(90deg)}.superuser-chat-thread-timeline{flex-direction:column;flex:1;gap:.9rem;padding:1.25rem 1rem;display:flex;overflow-y:auto}.superuser-chat-thread-footer{background:#1e293b;border-top:1px solid #ffffff14;justify-content:center;padding:.75rem 1rem;display:flex}.superuser-chat-thread-reply-action-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border:none;border-radius:12px;justify-content:center;align-items:center;gap:.5rem;width:100%;padding:.65rem 1.25rem;font-size:.9rem;font-weight:600;transition:all .15s;display:flex;box-shadow:0 4px 12px #2563eb59}.superuser-chat-thread-reply-action-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px #2563eb73}@keyframes superuserSlideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes superuserFadeIn{0%{opacity:0}to{opacity:1}}@keyframes superuserScaleUp{0%{opacity:0;transform:scale(.95)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}@media (prefers-color-scheme:dark){.superuser-chat-page{color:#f1f5f9;background-color:#0b1120}.superuser-chat-header{background:#1e293b;border-color:#334155;box-shadow:0 1px 4px #0000004d}.superuser-chat-title{color:#f8fafc}.superuser-chat-search-bar{background:#0f172a;border-color:#334155}.superuser-chat-search-input{color:#f8fafc}.superuser-chat-timeline{background:#0b1120}.superuser-chat-date-divider span{color:#94a3b8;background:#1e293b;border-color:#334155}.superuser-chat-msg-bubble{color:#f8fafc;background:#1e293b;border-color:#334155;box-shadow:0 2px 6px #00000040}.superuser-chat-msg-meta{color:#94a3b8}.superuser-chat-msg-author{color:#e2e8f0}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble{color:#fff;background:#1e3a8a;border-color:#3b82f6}.superuser-chat-msg-item.is-me .superuser-chat-msg-meta{color:#93c5fd}.superuser-chat-msg-item.is-me .superuser-chat-msg-author{color:#bfdbfe}.superuser-chat-msg-item.is-bot .superuser-chat-msg-bubble{color:#ecfdf5;background:#064e3b;border-color:#059669}.superuser-chat-bot-toggle-btn{color:#6ee7b7;background:#10b98126;border-color:#10b9814d}.superuser-chat-bot-toggle-btn:hover{background:#10b98140}.superuser-chat-bot-expanded-content{color:#ecfdf5;background:#064e3b99;border-color:#10b98140}.superuser-chat-msg-bubble blockquote,.superuser-chat-msg-bubble .markdown-blockquote{background:#ffffff14;border-color:#94a3b840 #94a3b840 #94a3b840 #38bdf8;color:#e2e8f0!important}.superuser-chat-msg-bubble blockquote *,.superuser-chat-msg-bubble .markdown-blockquote *,.superuser-chat-msg-bubble blockquote p,.superuser-chat-msg-bubble .markdown-blockquote p{color:#e2e8f0!important}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble blockquote,.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble .markdown-blockquote{background:#0f172a73;border-color:#93c5fd59 #93c5fd59 #93c5fd59 #93c5fd;color:#f8fafc!important}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble blockquote *,.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble .markdown-blockquote *,.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble blockquote p,.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble .markdown-blockquote p{color:#f8fafc!important}.superuser-chat-bot-hint.is-detected{color:#34d399;font-weight:600}.superuser-chat-msg-bubble .markdown-pre{color:#f8fafc!important;background:#0f172a!important;border-color:#334155!important}.superuser-chat-msg-bubble .markdown-inline-code{color:#f8fafc!important;background:#ffffff1f!important}.superuser-chat-msg-bubble .markdown-table-wrapper{background:#0f172a;border-color:#334155}.superuser-chat-msg-bubble .markdown-table{border-color:#334155}.superuser-chat-msg-bubble .markdown-th{color:#94a3b8;background:#0f172a;border-color:#334155}.superuser-chat-msg-bubble .markdown-td{color:#f1f5f9;background:#0f172a99;border-color:#334155}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble .markdown-table-wrapper{background:#0f172a80;border-color:#3b82f6}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble .markdown-th{color:#bfdbfe;background:#1e40af;border-color:#3b82f6}.superuser-chat-msg-item.is-me .superuser-chat-msg-bubble .markdown-td{color:#fff;background:#0f172a80;border-color:#2563eb}.superuser-chat-msg-item.is-bot .superuser-chat-msg-bubble .markdown-table-wrapper{background:#022c2299;border-color:#059669}.superuser-chat-msg-item.is-bot .superuser-chat-msg-bubble .markdown-th{color:#6ee7b7;background:#044333;border-color:#059669}.superuser-chat-msg-item.is-bot .superuser-chat-msg-bubble .markdown-td{color:#ecfdf5;background:#044e3b80;border-color:#059669}.superuser-chat-bot-expanded-content .markdown-table-wrapper{background:#022c2280;border-color:#10b98159}.superuser-chat-bot-expanded-content .markdown-th{color:#6ee7b7;background:#044333f2;border-color:#10b98159}.superuser-chat-bot-expanded-content .markdown-td{color:#ecfdf5;background:#022c2280;border-color:#10b98140}.superuser-chat-reply-preview{background:#ffffff14;border-color:#ffffff1f}.superuser-chat-reply-preview:hover{background:#ffffff24}.superuser-chat-reply-preview-author{color:#60a5fa}.superuser-chat-reply-preview-text{color:#cbd5e1}.is-me .superuser-chat-reply-preview{background:#00000040;border:1px solid #ffffff2e}.is-me .superuser-chat-reply-preview:hover{background:#00000059}.is-me .superuser-chat-reply-preview-bar{background:#60a5fa}.is-me .superuser-chat-reply-preview-author{color:#93c5fd}.is-me .superuser-chat-reply-preview-text{color:#f1f5f9}.superuser-chat-thread-link-btn{color:#60a5fa}.is-me .superuser-chat-thread-link-btn{color:#bfdbfe}.superuser-chat-thread-link-btn:hover{background:#60a5fa26}.is-me .superuser-chat-thread-link-btn:hover{background:#ffffff2e}.superuser-chat-reply-banner{background:#0f172a;border-left-color:#3b82f6}.superuser-chat-reply-banner-title{color:#60a5fa}.superuser-chat-reply-banner-text{color:#94a3b8}.superuser-chat-reply-banner-close{color:#64748b}.superuser-chat-reply-banner-close:hover{color:#f8fafc;background:#1e293b}.superuser-chat-input-area{background:#1e293b;border-color:#334155}.superuser-chat-textarea{color:#f8fafc;background:#0f172a;border-color:#334155}.superuser-chat-textarea:focus{background:#0f172a;border-color:#3b82f6}.superuser-chat-insert-fold-btn{color:#94a3b8;background:#0f172a;border-color:#334155}.superuser-chat-insert-fold-btn:hover{color:#f8fafc;background:#1e293b}.superuser-chat-menu-popup{color:#f8fafc;background:#1e293b;border-color:#334155}.superuser-chat-reaction-picker{background:#0f172a}.superuser-chat-reaction-emoji-btn:hover,.superuser-chat-menu-divider{background:#334155}.superuser-chat-menu-item{color:#e2e8f0}.superuser-chat-menu-item:hover{color:#fff;background:#334155}.superuser-chat-ref-badge{color:#818cf8;background:#6366f133;border-color:#6366f166}.superuser-chat-ref-badge:hover{background:#6366f159}.superuser-chat-reaction-badge{color:#cbd5e1;background:#0f172a;border-color:#334155}.superuser-chat-reaction-badge:hover{background:#1e293b}.superuser-chat-reaction-badge.active{color:#60a5fa;background:#3b82f633;border-color:#3b82f6}.superuser-chat-landscape-input-toggle{color:#cbd5e1;background:#0f172a;border-color:#334155}.superuser-chat-landscape-input-toggle.is-collapsed{color:#fff;background:#4f46e5;border-color:#6366f1}.superuser-chat-push-diag-btn{color:#cbd5e1;background:#0f172a;border-color:#334155}.superuser-chat-push-diag-btn:hover{color:#fff;background:#1e293b}.superuser-chat-push-diag-list{color:#e2e8f0;background:#0f172a;border-color:#334155}.superuser-chat-push-diag-alert.is-ok{color:#a7f3d0;background:#064e3b80;border-color:#059669}.superuser-chat-push-diag-alert.is-err{color:#fecaca;background:#7f1d1d80;border-color:#dc2626}.superuser-chat-push-diag-alert.is-info{color:#bfdbfe;background:#1e3a8a80;border-color:#3b82f6}.superuser-chat-push-diag-tips{color:#cbd5e1;background:#0f172a;border:1px solid #334155}}@media (prefers-color-scheme:dark){:root{--su-bg-page:#0b1120;--su-bg-card:#1e293b;--su-bg-subcard:#0f172a;--su-bg-input:#0f172a;--su-bg-modal:#1e293b;--su-bg-slide:#1e293b;--su-border:#334155;--su-border-subtle:#ffffff14;--su-border-input:#334155;--su-text-main:#f8fafc;--su-text-secondary:#cbd5e1;--su-text-muted:#94a3b8;--su-primary:#3b82f6;--su-primary-hover:#2563eb;--su-link:#60a5fa;--su-link-hover:#93c5fd;--su-msg-me-bg:#1e3a8a;--su-msg-me-border:#3b82f6;--su-msg-me-text:#fff;--su-msg-me-meta:#93c5fd;--su-msg-other-bg:#1e293b;--su-msg-other-border:#334155;--su-msg-other-text:#f8fafc;--su-msg-other-meta:#94a3b8;--su-msg-bot-bg:#064e3b;--su-msg-bot-border:#059669;--su-msg-bot-text:#ecfdf5;--su-reaction-bg:#0f172a;--su-reaction-border:#334155;--su-reaction-text:#cbd5e1;--su-shadow-sm:0 1px 3px #0000004d;--su-shadow-md:0 4px 12px #00000040;--su-shadow-lg:0 10px 25px -5px #00000080}}@media (width<=1023px){.comment-fab-container{bottom:calc(80px + env(safe-area-inset-bottom,0));right:16px}}@media (prefers-color-scheme:dark){.admonition{background:#17a2b826;border:1px solid #17a2b84d;border-left:4px solid #38bdf8}.admonition.tip{background:#064e3b73;border:1px solid #10b98159;border-left:4px solid #10b981}.admonition-title{color:#34d399}.admonition li{color:#ecfdf5}.admonition strong{color:#a7f3d0}}@media (prefers-color-scheme:dark){.markdown-alert.markdown-alert-note{background-color:#2563eb2e;border-color:#1e3a8a #1e3a8a #1e3a8a #3b82f6}.markdown-alert.markdown-alert-note .markdown-alert-title{color:#60a5fa}.markdown-alert.markdown-alert-tip{background-color:#16a34a2e;border-color:#14532d #14532d #14532d #22c55e}.markdown-alert.markdown-alert-tip .markdown-alert-title{color:#4ade80}.markdown-alert.markdown-alert-important{background-color:#8b5cf62e;border-color:#4c1d95 #4c1d95 #4c1d95 #a855f7}.markdown-alert.markdown-alert-important .markdown-alert-title{color:#c084fc}.markdown-alert.markdown-alert-warning{background-color:#d977062e;border-color:#78350f #78350f #78350f #f59e0b}.markdown-alert.markdown-alert-warning .markdown-alert-title{color:#fbbf24}.markdown-alert.markdown-alert-caution{background-color:#dc26262e;border-color:#7f1d1d #7f1d1d #7f1d1d #ef4444}.markdown-alert.markdown-alert-caution .markdown-alert-title{color:#f87171}}.admin-github-page{background-color:var(--su-bg-page);min-height:calc(100vh - 60px);color:var(--su-text-main);box-sizing:border-box;background-color:var(--su-bg-page);width:100%;max-width:100vw;min-height:calc(100vh - 60px);width:100%;max-width:100vw;padding:10px 0 40px;overflow-x:hidden}.admin-github-container{max-width:1000px;color:var(--su-text-main);margin:0 auto;padding:10px 16px;overflow-x:hidden}@media (width<=1023px){.admin-github-container{padding:8px 4px}}.admin-github-container h2{color:var(--su-text-main);margin-top:0;margin-bottom:8px;font-weight:700}.admin-github-container p{color:var(--su-text-secondary);line-height:1.6}.btn-create-issue{border:1px solid var(--su-border-input);background:var(--su-bg-card);color:var(--su-text-main);cursor:pointer;box-shadow:var(--su-shadow-sm);border-radius:20px;align-items:center;gap:4px;margin-top:12px;margin-bottom:12px;padding:6px 16px;font-size:.85em;font-weight:700;transition:all .15s;display:inline-flex}.btn-create-issue:hover{background:var(--su-border);border-color:var(--su-primary);color:var(--su-primary)}.unread-btn-wrapper button{background:var(--su-bg-card)!important;border:1px solid var(--su-border-input)!important;color:var(--su-text-secondary)!important;box-shadow:var(--su-shadow-sm)!important}.unread-btn-wrapper button:hover:not(:disabled){background:var(--su-border)!important;border-color:var(--su-primary)!important;color:var(--su-primary)!important}.btn-sync-refresh{background:var(--su-bg-card);border:1px solid var(--su-border-input);color:var(--su-text-main);cursor:pointer;box-shadow:var(--su-shadow-sm);border-radius:20px;align-items:center;gap:6px;padding:6px 16px;font-size:.85em;font-weight:700;transition:all .15s;display:inline-flex}.btn-sync-refresh:hover{background:var(--su-border);border-color:var(--su-primary);color:var(--su-primary)}.sync-msg-text{color:var(--su-text-muted);font-size:.9em}.search-highlight-mark{color:#333;background-color:#fff59d;border-radius:2px;padding:0 2px}@media (prefers-color-scheme:dark){.search-highlight-mark{color:#fef08a;background-color:#854d0e}}.filter-controls{background:var(--su-bg-card);border:1px solid var(--su-border);box-shadow:var(--su-shadow-sm);border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;padding:12px;display:flex}.filter-controls select,.filter-controls input[type=text]{border:1px solid var(--su-border-input);background:var(--su-bg-input);color:var(--su-text-main);border-radius:4px;padding:6px 12px}.filter-controls select:focus,.filter-controls input[type=text]:focus{border-color:var(--su-primary);outline:none}.btn-filter{color:#17a2b8;cursor:pointer;background:0 0;border:2px solid #17a2b8;border-radius:4px;margin-top:4px;margin-bottom:4px;margin-right:10px;padding:6px 12px;font-weight:700;transition:all .1s}.btn-filter.active{color:#fff;background:#17a2b8}.btn-filter.schedule-btn{color:#0284c7;border-color:#0284c7}.btn-filter.schedule-btn.active{color:#fff;background:#0284c7}@media (prefers-color-scheme:dark){.btn-filter{color:#38bdf8;border-color:#38bdf8}.btn-filter.active{color:#fff;background:#0284c7;border-color:#0284c7}.btn-filter.schedule-btn{color:#38bdf8;border-color:#38bdf8}.btn-filter.schedule-btn.active{color:#fff;background:#0284c7;border-color:#38bdf8}}.issues-list{flex-direction:column;gap:15px;display:flex}.issue-card{background:var(--su-bg-card);border:1px solid var(--su-border);box-shadow:var(--su-shadow-sm);border-radius:8px;flex-direction:column;gap:8px;padding:16px;transition:border-color .2s,box-shadow .2s;display:flex}.issue-card.pending-qa{background:#fffde7;border:2px solid #f29900}.issue-card.schedule-card{background:#0284c708;border-left:4px solid #0284c7}.issue-card.schedule-card:hover{border-left-color:#0369a1}@media (prefers-color-scheme:dark){.issue-card.pending-qa{background:#451a03;border-color:#f59e0b}.issue-card.schedule-card{background:#0284c714;border-left:4px solid #38bdf8}.issue-card.schedule-card:hover{border-left-color:#7dd3fc}}.issue-card.detail-card{padding:24px}@media (width<=1023px){.issue-card{padding:12px 10px}.issue-card.detail-card{padding:14px 10px}}.issue-header{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.issue-title-link{color:var(--su-link);word-break:break-word;flex:1;font-size:1.1em;font-weight:700;text-decoration:none}.issue-title-link:hover{color:var(--su-link-hover)!important;text-decoration:underline!important}.state-badge{color:#fff;border-radius:12px;padding:2px 8px;font-size:.8em;font-weight:600}.state-badge.open{background:#2cbe4e}.state-badge.closed{background:#6a737d}.qa-badge{color:#fff;background:#f29900;border-radius:12px;padding:2px 10px;font-size:.8em;font-weight:700}.schedule-badge{color:#fff;background:#0284c7;border-radius:12px;align-items:center;gap:3px;padding:2px 8px;font-size:.75em;font-weight:700;display:inline-flex}.schedule-summary-box{color:#0369a1;background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px;flex-direction:column;gap:4px;margin:8px 0;padding:8px 12px;font-size:.85rem;line-height:1.5;display:flex}.schedule-summary-item{word-break:break-word;align-items:baseline;gap:6px;display:flex}.schedule-summary-bullet{flex-shrink:0;font-size:.85em}@media (prefers-color-scheme:dark){.schedule-summary-box{color:#bae6fd;background:#0284c726;border-color:#38bdf84d}}.new-badge{color:#fff;background:#e11d48;border-radius:12px;padding:2px 8px;font-size:.75em;font-weight:700}.issue-labels{flex-wrap:wrap;gap:6px;display:flex}.label-pill{color:#fff;border:1px solid #0000001a;border-radius:12px;padding:2px 10px;font-size:.75em;font-weight:600;transition:opacity .15s}.label-pill:hover{opacity:.85}.issue-body{background:var(--su-bg-subcard);border-top:1px solid var(--su-border);border-bottom:1px solid var(--su-border);color:var(--su-text-main);max-height:300px;padding:12px;font-size:.9em;line-height:1.6;overflow-y:auto}.issue-card.detail-card .issue-body{border:1px solid var(--su-border);border-radius:6px;max-height:none;overflow-y:visible}@media (width<=1023px){.issue-body,.issue-card.detail-card .issue-body{padding:8px 6px}}.issue-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.issue-author{color:var(--su-text-muted);align-items:center;gap:8px;font-size:.85em;display:flex}.issue-author img{border-radius:50%;width:20px;height:20px}.issue-actions{gap:6px;display:flex}.btn-action{background:var(--su-bg-card);border:1px solid var(--su-primary);color:var(--su-primary);cursor:pointer;border-radius:4px;padding:4px 10px;font-size:.8em;transition:all .15s}.btn-action.danger{color:#ef4444;border-color:#ef4444}.btn-action:hover{background:var(--su-border-subtle)}.btn-action.danger:hover{background:#ef444426}.sub-issues-section{border-left:3px solid var(--su-border);margin-top:10px;padding-left:15px;font-size:.9em}.toggle-subs-btn{color:var(--su-link);cursor:pointer;background:0 0;border:none;align-items:center;gap:5px;padding:4px 0;font-size:.9em;font-weight:700;transition:color .2s;display:flex}.toggle-subs-btn:hover{color:var(--su-link-hover);text-decoration:underline}.sub-issues-list{flex-direction:column;gap:5px;margin-top:8px;display:flex}.sub-issue-card{margin:0}.sub-card{background-color:var(--su-bg-subcard);border:1px solid var(--su-border);margin-bottom:8px;padding:10px}.sub-card .issue-header a{font-size:1em}.sub-card .issue-body{padding:8px;font-size:.85em}.label-checkbox-item{background:var(--su-bg-subcard);border:1px solid var(--su-border);cursor:pointer;white-space:nowrap;color:var(--su-text-main);border-radius:6px;align-items:center!important;gap:6px!important;padding:4px 10px!important;font-size:.85em!important;font-weight:400!important;display:inline-flex!important}.label-checkbox-item input[type=checkbox]{cursor:pointer;width:auto!important;height:auto!important;margin:0!important;padding:0!important}.comment-form{background:var(--su-bg-card);border:1px solid var(--su-border);box-shadow:var(--su-shadow-sm);border-radius:12px;padding:20px}@media (width<=1023px){.comment-form{padding:12px 10px}}.comments-list{border:none;flex-direction:column;gap:12px;max-height:none;padding:0;display:flex;overflow-y:visible}.comment-meta{color:var(--su-text-muted);align-items:center;gap:8px;font-size:.85em;display:flex}.comment-meta img{border-radius:50%;width:20px;height:20px}.comment-time{color:var(--su-text-muted);font-size:.75rem}@media (width>=1024px){.modal-content{max-width:800px}.slide-modal-content{max-width:850px}.comment-textarea-container{min-height:350px!important}.comment-textarea{height:350px!important}}.admin-github-page .modal-content,.admin-github-container .modal-content{background-color:var(--su-bg-modal)!important;color:var(--su-text-main)!important;border:1px solid var(--su-border)!important}.admin-github-page .modal-content h3,.admin-github-page .modal-content h4,.admin-github-container .modal-content h3,.admin-github-container .modal-content h4{color:var(--su-text-main)!important}.admin-github-page .modal-content label,.admin-github-page .form-group label,.admin-github-container .modal-content label,.admin-github-container .form-group label{font-weight:600;color:var(--su-text-main)!important}.admin-github-page .modal-content input[type=text],.admin-github-page .modal-content input[type=password],.admin-github-page .modal-content textarea,.admin-github-page .modal-input,.admin-github-page .modal-textarea,.admin-github-page .form-group input,.admin-github-page .form-group textarea,.admin-github-container .modal-content input[type=text],.admin-github-container .modal-content input[type=password],.admin-github-container .modal-content textarea,.admin-github-container .modal-input,.admin-github-container .modal-textarea,.admin-github-container .form-group input,.admin-github-container .form-group textarea{box-sizing:border-box;border-radius:6px;padding:10px 12px;font-size:.95rem;background-color:var(--su-bg-input)!important;color:var(--su-text-main)!important;border:1px solid var(--su-border-input)!important}.admin-github-page .modal-content input[type=text]:focus,.admin-github-page .modal-content textarea:focus,.admin-github-page .modal-input:focus,.admin-github-page .modal-textarea:focus,.admin-github-page .form-group input:focus,.admin-github-page .form-group textarea:focus,.admin-github-container .modal-content input[type=text]:focus,.admin-github-container .modal-content textarea:focus,.admin-github-container .modal-input:focus,.admin-github-container .modal-textarea:focus,.admin-github-container .form-group input:focus,.admin-github-container .form-group textarea:focus{outline:none;border-color:var(--su-primary)!important;box-shadow:0 0 0 2px #3b82f640!important}.admin-github-page .modal-content input::placeholder,.admin-github-page .modal-content textarea::placeholder,.admin-github-page .modal-input::placeholder,.admin-github-page .modal-textarea::placeholder,.admin-github-page .form-group input::placeholder,.admin-github-page .form-group textarea::placeholder,.admin-github-container .modal-content input::placeholder,.admin-github-container .modal-content textarea::placeholder,.admin-github-container .modal-input::placeholder,.admin-github-container .modal-textarea::placeholder,.admin-github-container .form-group input::placeholder,.admin-github-container .form-group textarea::placeholder{opacity:.7;color:var(--su-text-muted)!important}.btn-preview-toggle{background-color:var(--su-bg-subcard)!important;color:var(--su-text-main)!important;border:1px solid var(--su-border)!important}.btn-preview-toggle.active{background-color:var(--su-primary)!important;color:#fff!important;border-color:var(--su-primary)!important}:root{--su-bg-page:#f8fafc;--su-bg-card:#fff;--su-bg-subcard:#f8f9fa;--su-bg-input:#fff;--su-bg-modal:#fff;--su-bg-slide:#f6f8fa;--su-border:#e2e8f0;--su-border-subtle:#f1f5f9;--su-border-input:#cbd5e1;--su-text-main:#0f172a;--su-text-secondary:#475569;--su-text-muted:#94a3b8;--su-primary:#2563eb;--su-primary-hover:#1d4ed8;--su-link:#0366d6;--su-link-hover:#1a73e8;--su-msg-me-bg:#dcf8c6;--su-msg-me-border:#c3e6cb;--su-msg-me-text:#1f2937;--su-msg-me-meta:#4b5563;--su-msg-other-bg:#e9ecef;--su-msg-other-border:#dee2e6;--su-msg-other-text:#1f2937;--su-msg-other-meta:#6b7280;--su-msg-bot-bg:#ecfdf5;--su-msg-bot-border:#a7f3d0;--su-msg-bot-text:#064e3b;--su-reaction-bg:#ffffffd9;--su-reaction-border:#00000014;--su-reaction-text:#333;--su-shadow-sm:0 1px 3px #0000000d;--su-shadow-md:0 4px 12px #00000014;--su-shadow-lg:0 10px 25px -5px #00000026}@media (prefers-color-scheme:dark){:root{--su-bg-page:#0b1120;--su-bg-card:#1e293b;--su-bg-subcard:#0f172a;--su-bg-input:#0f172a;--su-bg-modal:#1e293b;--su-bg-slide:#1e293b;--su-border:#334155;--su-border-subtle:#ffffff14;--su-border-input:#334155;--su-text-main:#f8fafc;--su-text-secondary:#cbd5e1;--su-text-muted:#94a3b8;--su-primary:#3b82f6;--su-primary-hover:#2563eb;--su-link:#60a5fa;--su-link-hover:#93c5fd;--su-msg-me-bg:#1e3a8a;--su-msg-me-border:#3b82f6;--su-msg-me-text:#fff;--su-msg-me-meta:#93c5fd;--su-msg-other-bg:#1e293b;--su-msg-other-border:#334155;--su-msg-other-text:#f8fafc;--su-msg-other-meta:#94a3b8;--su-msg-bot-bg:#064e3b;--su-msg-bot-border:#059669;--su-msg-bot-text:#ecfdf5;--su-reaction-bg:#0f172a;--su-reaction-border:#334155;--su-reaction-text:#cbd5e1;--su-shadow-sm:0 1px 3px #0000004d;--su-shadow-md:0 4px 12px #00000040;--su-shadow-lg:0 10px 25px -5px #00000080}}.btn-back-link{color:var(--su-link);cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:0;font-size:1rem;font-weight:500;transition:color .15s;display:inline-flex}.btn-back-link:hover{color:var(--su-link-hover);text-decoration:underline}.modal-overlay{z-index:2000;background:#0000008c;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.modal-content{background:var(--su-bg-modal);border:1px solid var(--su-border);width:90%;max-width:550px;max-height:90vh;box-shadow:var(--su-shadow-lg);color:var(--su-text-main);border-radius:12px;flex-direction:column;gap:15px;padding:20px;display:flex;overflow-y:auto}.modal-content .form-group{flex-direction:column;gap:6px;display:flex}.modal-content .form-group label{font-size:.9em;font-weight:600;color:var(--su-text-main)!important}.modal-content .form-group input,.modal-content .form-group textarea,.modal-input,.modal-textarea{box-sizing:border-box;border-radius:6px;padding:10px 12px;font-family:inherit;font-size:.95rem;transition:border-color .15s,box-shadow .15s;border:1px solid var(--su-border-input)!important;background-color:var(--su-bg-input)!important;color:var(--su-text-main)!important}.modal-content .form-group input:focus,.modal-content .form-group textarea:focus,.modal-input:focus,.modal-textarea:focus{outline:none;border-color:var(--su-primary)!important;box-shadow:0 0 0 2px #3b82f640!important}.modal-content .form-group input::placeholder,.modal-content .form-group textarea::placeholder,.modal-input::placeholder,.modal-textarea::placeholder{opacity:.7;color:var(--su-text-muted)!important}.modal-footer{justify-content:flex-end;gap:10px;margin-top:10px;display:flex}.btn-cancel{color:#fff;cursor:pointer;background:#64748b;border:none;border-radius:6px;padding:6px 14px;font-weight:500;transition:background .15s}.btn-cancel:hover{background:#475569}.btn-save{background:var(--su-primary);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:6px 14px;font-weight:600;transition:background .15s}.btn-save:hover{background:var(--su-primary-hover)}.btn-preview-toggle{background:var(--su-bg-subcard);border:1px solid var(--su-border);cursor:pointer;color:var(--su-text-secondary);border-radius:4px;padding:4px 12px;font-size:.8em;transition:all .15s}.btn-preview-toggle.active{background:var(--su-primary);color:#fff;border-color:var(--su-primary)}.preview-area{background:var(--su-bg-subcard);border:1px solid var(--su-border);min-height:200px;max-height:400px;color:var(--su-text-main);border-radius:6px;padding:15px;overflow-y:auto}.slide-modal-overlay{z-index:3000;background:#0000008c;justify-content:center;align-items:flex-end;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.slide-modal-content{background:var(--su-bg-slide);border-top:1px solid var(--su-border);border-top-left-radius:16px;border-top-right-radius:16px;flex-direction:column;width:100%;max-width:600px;height:85vh;animation:.3s cubic-bezier(.16,1,.3,1) forwards slideUp;display:flex;overflow:hidden;box-shadow:0 -4px 20px #00000059}.slide-modal-header{border-bottom:1px solid var(--su-border);background:var(--su-bg-card);color:var(--su-text-main);justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.slide-modal-title{color:var(--su-text-main);margin:0;font-size:1.1rem;font-weight:600}.slide-modal-close{color:var(--su-text-muted);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:4px;transition:background-color .2s;display:flex}.slide-modal-close:hover{background-color:var(--su-border-subtle);color:var(--su-text-main)}.slide-modal-body{box-sizing:border-box;background:var(--su-bg-card);flex:1;padding:16px;overflow-y:auto}.slide-modal-paperclip{color:var(--su-text-main)}.comment-textarea-container{background:var(--su-bg-subcard);border:1px solid var(--su-border);border-radius:8px;min-height:200px;padding:12px}.comment-textarea{box-sizing:border-box;resize:none;width:100%;height:200px;color:var(--su-text-main);background:0 0;border:none;outline:none;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5}.haptic-context-menu{background:var(--su-bg-card);border:1px solid var(--su-border);box-shadow:var(--su-shadow-lg);z-index:3100;border-radius:14px;flex-direction:column;min-width:220px;padding:6px 0;animation:.18s cubic-bezier(.34,1.56,.64,1) forwards popIn;display:flex}.haptic-menu-item{text-align:left;color:var(--su-text-main);cursor:pointer;background:0 0;border:none;outline:none;width:100%;padding:12px 16px;font-family:inherit;font-size:.95rem;transition:background .15s}.haptic-menu-item:hover{background:var(--su-border)}.haptic-menu-item:active{background:var(--su-border-input)}.comment-bubble-haptic{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;transition:background-color .5s,transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s}.comment-bubble-haptic:active{transform:scale(.97)!important;box-shadow:0 1px 1px #00000014!important}.comment-bubble-haptic.part-select-active{outline-offset:2px;outline:2px solid #7c3aed}.github-comment-reaction-badge{background:var(--su-reaction-bg);border:1px solid var(--su-reaction-border);color:var(--su-reaction-text);border-radius:8px;align-items:center;gap:4px;padding:2px 6px;font-size:.78em;display:inline-flex;box-shadow:0 1px 2px #0000000d}.github-comment-reaction-badge span.reaction-user{color:var(--su-text-muted);font-style:italic}.comment-fab-container{z-index:1500;gap:8px;display:flex;position:fixed;bottom:24px;right:24px}@media (width<=1023px){.comment-fab-container{bottom:calc(80px + env(safe-area-inset-bottom,0));right:16px}}.comment-fab{background-color:var(--su-primary);color:#fff;cursor:pointer;border:1px solid #fff3;border-radius:24px;align-items:center;gap:6px;padding:12px 20px;font-size:.95rem;font-weight:600;transition:background-color .2s,transform .2s;display:flex;box-shadow:0 4px 16px #0000004d}.comment-fab:hover{background-color:var(--su-primary-hover);transform:translateY(-2px)}.comment-fab:active{transform:translateY(0)}.image-preview-modal{color:#fff!important;background:#111!important;border:1px solid #444!important;width:auto!important;max-width:95vw!important}.image-preview-modal .modal-header{border-bottom:1px solid #333;justify-content:space-between;align-items:center;padding:10px 20px;display:flex}.image-preview-modal .close-btn{color:#aaa;cursor:pointer;background:0 0;border:none;font-size:24px}.image-preview-modal .modal-body{flex-direction:column;justify-content:center;align-items:center;min-height:200px;padding:5px;display:flex}.preview-img{object-fit:contain;border-radius:4px;max-width:100%;max-height:90vh;box-shadow:0 0 20px #00000080}.cache-missing-message{text-align:center;max-width:450px}.warning-text{color:#ffca28;margin-bottom:10px;font-weight:700}.instruction-text{color:#bbb;margin-bottom:20px;font-size:.85em;line-height:1.5}.action-buttons{flex-direction:column;gap:12px;display:flex}.image-picker-wrap{margin-top:12px}.image-picker-label{color:var(--su-text-secondary);margin-bottom:4px;font-size:.8rem}.image-picker-thumbs{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.image-picker-thumb-item{width:72px;height:72px;position:relative}.image-picker-img{object-fit:cover;border:1px solid var(--su-border);border-radius:6px;width:72px;height:72px}.image-picker-img.is-new{border-color:#7c3aed}.image-picker-remove-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:flex;position:absolute;top:-6px;right:-6px}.image-picker-actions{align-items:center;gap:10px;display:flex}.image-picker-add-btn{color:#8b5cf6;cursor:pointer;background:#7c3aed1a;border:1px solid #7c3aed;border-radius:8px;align-items:center;gap:6px;padding:7px 14px;font-size:.85rem;font-weight:600;transition:all .2s;display:flex}.image-picker-add-btn:hover:not(:disabled){background:#7c3aed40}.image-picker-add-btn:disabled{border-color:var(--su-border);background:var(--su-bg-subcard);color:var(--su-text-muted);cursor:not-allowed;opacity:.6}.image-picker-limit-text{color:#16a34a;font-size:.8rem;font-weight:600}.image-picker-info-text{color:var(--su-text-muted);font-size:.8rem}.submit-status-banner{color:var(--su-text-secondary);background:var(--su-bg-subcard);border:1px solid var(--su-border);border-radius:6px;margin-top:12px;padding:8px 12px;font-size:.85rem}.admonition{background:#e8f4f8;border:1px solid #e2e8f0;border-left:4px solid #17a2b8;border-radius:8px;margin-bottom:20px;padding:12px 16px}.admonition.tip{background:#ecfdf5;border:1px solid #bbf7d0;border-left:4px solid #10b981}.admonition-title{color:#065f46;margin-bottom:8px;font-weight:700}.admonition ul{margin:0;padding-left:20px}.admonition li{color:#1e293b;margin-bottom:4px;font-size:.9em}.admonition strong{color:#065f46}@media (prefers-color-scheme:dark){.admonition{background:#17a2b826;border:1px solid #17a2b84d;border-left:4px solid #38bdf8}.admonition.tip{background:#064e3b73;border:1px solid #10b98159;border-left:4px solid #10b981}.admonition-title{color:#34d399}.admonition li{color:#ecfdf5}.admonition strong{color:#a7f3d0}}.comment-bubble{max-width:85%;box-shadow:var(--su-shadow-sm);box-sizing:border-box;word-break:break-word;border-radius:12px;padding:12px 16px;transition:background-color .5s,transform .15s cubic-bezier(.16,1,.3,1);position:relative}.comment-bubble.is-me{background-color:var(--su-msg-me-bg);border:1px solid var(--su-msg-me-border);color:var(--su-msg-me-text);border-radius:18px 18px 2px}.comment-bubble.is-other{background-color:var(--su-msg-other-bg);border:1px solid var(--su-msg-other-border);color:var(--su-msg-other-text);border-radius:18px 18px 18px 2px}.comment-bubble.is-legacy{background-color:var(--su-bg-card);border:1px solid var(--su-border);color:var(--su-text-main);border-radius:8px;max-width:100%}.github-markdown-body{color:var(--su-text-main);line-height:1.6}.github-markdown-body h1,.github-markdown-body h2,.github-markdown-body h3,.github-markdown-body h4{color:var(--su-text-main);border-bottom:1px solid var(--su-border);padding-bottom:.3em}.github-markdown-body a{color:var(--su-link)}.github-markdown-body a:hover{color:var(--su-link-hover);text-decoration:underline}.github-markdown-body blockquote{border-left:4px solid var(--su-primary);background:var(--su-bg-subcard);border-top:1px solid var(--su-border);border-right:1px solid var(--su-border);border-bottom:1px solid var(--su-border);box-sizing:border-box;word-break:break-word;overflow-wrap:anywhere;border-radius:0 6px 6px 0;max-width:100%;margin:12px 0;padding:8px 14px;font-style:normal;color:var(--su-text-main)!important}.github-markdown-body blockquote *{color:var(--su-text-main)!important}.github-markdown-body blockquote blockquote{background:var(--su-border-subtle);border-left:3px solid var(--su-link);margin:6px 0;padding:6px 10px}.github-markdown-body table{border-collapse:collapse;width:100%;margin-bottom:1rem;font-size:.9em}.github-markdown-body th,.github-markdown-body td{border:1px solid var(--su-border);padding:6px 13px}.github-markdown-body th{background-color:var(--su-bg-subcard);color:var(--su-text-main)}.github-markdown-body td{background-color:var(--su-bg-card);color:var(--su-text-main)}.github-markdown-body details{background:var(--su-bg-subcard);border:1px solid var(--su-border);border-radius:6px;margin-bottom:12px;padding:8px 12px}.github-markdown-body summary{cursor:pointer;color:var(--su-link);font-weight:600}.github-markdown-body summary:hover{text-decoration:underline}.markdown-alert{box-shadow:var(--su-shadow-sm);border-radius:8px;margin:16px 0;padding:12px 16px;color:var(--su-text-main)!important}.markdown-alert p,.markdown-alert ul,.markdown-alert ol,.markdown-alert li{margin-bottom:.5rem;line-height:1.6;color:var(--su-text-main)!important}@media (prefers-color-scheme:dark){.markdown-alert.markdown-alert-note{background-color:#2563eb2e;border-color:#1e3a8a #1e3a8a #1e3a8a #3b82f6}.markdown-alert.markdown-alert-note .markdown-alert-title{color:#60a5fa}.markdown-alert.markdown-alert-tip{background-color:#16a34a2e;border-color:#14532d #14532d #14532d #22c55e}.markdown-alert.markdown-alert-tip .markdown-alert-title{color:#4ade80}.markdown-alert.markdown-alert-important{background-color:#8b5cf62e;border-color:#4c1d95 #4c1d95 #4c1d95 #a855f7}.markdown-alert.markdown-alert-important .markdown-alert-title{color:#c084fc}.markdown-alert.markdown-alert-warning{background-color:#d977062e;border-color:#78350f #78350f #78350f #f59e0b}.markdown-alert.markdown-alert-warning .markdown-alert-title{color:#fbbf24}.markdown-alert.markdown-alert-caution{background-color:#dc26262e;border-color:#7f1d1d #7f1d1d #7f1d1d #ef4444}.markdown-alert.markdown-alert-caution .markdown-alert-title{color:#f87171}}.admin-github-page{background-color:var(--su-bg-page);min-height:calc(100vh - 60px);color:var(--su-text-main);box-sizing:border-box;width:100%;max-width:100vw;padding:10px 0 40px;overflow-x:hidden}.arch-page-container{width:100%;max-width:1400px;min-height:calc(100vh - 120px);color:var(--su-text-main);box-sizing:border-box;flex-direction:column;gap:16px;margin:0 auto;padding:8px 12px 32px;display:flex;overflow-x:hidden}.arch-page-container.arch-fullscreen{z-index:9999;background-color:var(--su-bg-page);width:100vw;max-width:100vw;height:100dvh;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.arch-page-container.arch-fullscreen .arch-main-grid{grid-template-columns:1fr;gap:0;height:100dvh;min-height:100%;margin:0;padding:0}.arch-page-container.arch-fullscreen .arch-canvas-card{height:100%;box-shadow:none;border:none;border-radius:0}.arch-page-container.arch-fullscreen .arch-canvas-toolbar{padding-left:max(12px, env(safe-area-inset-left));padding-right:max(12px, env(safe-area-inset-right));padding-top:max(6px, env(safe-area-inset-top));background:var(--su-bg-card);border-bottom:1px solid var(--su-border);padding-bottom:6px}.arch-page-container.arch-fullscreen .arch-viewport,.arch-page-container.arch-fullscreen .arch-diagram-viewport{flex:1;width:100vw;height:calc(100dvh - 48px);min-height:0;margin:0;padding:0}.arch-page-container.arch-fullscreen .arch-image-wrapper,.arch-page-container.arch-fullscreen .arch-diagram-wrapper{width:100%;margin:0 auto;padding:0}.arch-page-container.arch-fullscreen .arch-rendered-svg,.arch-page-container.arch-fullscreen .arch-svg-image{width:100%;max-width:none;height:auto}.arch-fullscreen-tools{border-left:1px solid var(--su-border-input);align-items:center;gap:6px;margin-left:8px;padding-left:8px;display:flex}.arch-tool-btn-diagram-switch{background:var(--su-bg-subcard);border-radius:6px;align-items:center;gap:4px;font-size:.75rem;font-weight:600;display:inline-flex;border:1px solid var(--su-border-input)!important;width:auto!important;color:var(--su-text-main)!important;padding:3px 8px!important}.arch-tool-btn-pin-fs{background:#fee2e2;border-radius:6px;align-items:center;gap:4px;font-size:.75rem;font-weight:600;display:inline-flex;color:#b91c1c!important;border:1px solid #fca5a5!important;width:auto!important;padding:3px 8px!important}.arch-tool-btn-pin-fs.active{color:#fff!important;background:#dc2626!important;border-color:#b91c1c!important}.arch-tool-btn-comments-fs{background:var(--su-bg-subcard);border-radius:6px;align-items:center;gap:4px;font-size:.75rem;font-weight:600;display:inline-flex;border:1px solid var(--su-border-input)!important;width:auto!important;color:var(--su-text-main)!important;padding:3px 8px!important}.arch-tool-btn-comments-fs.active{background:var(--su-primary)!important;color:#fff!important;border-color:var(--su-primary)!important}.arch-sidebar-card.arch-fullscreen-sidebar-overlay{z-index:1000;border:1px solid var(--su-border);background:var(--su-bg-card);width:360px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 80px);animation:.2s ease-out slideUpFade;position:absolute;bottom:16px;right:16px;box-shadow:0 10px 30px #0006}@media (width<=640px),(orientation:landscape) and (height<=500px){.arch-sidebar-card.arch-fullscreen-sidebar-overlay{width:auto;max-width:none;max-height:65dvh;bottom:8px;left:8px;right:8px}}@keyframes slideUpFade{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.arch-unauthorized-card{text-align:center;background:#fff;border-radius:16px;margin-top:40px;padding:60px 24px;box-shadow:0 4px 20px #0000000d}.arch-unauthorized-icon{margin-bottom:16px;font-size:3rem}.arch-back-btn{color:#fff;background:#2563eb;border-radius:8px;margin-top:20px;padding:10px 20px;font-weight:600;text-decoration:none;display:inline-block}.arch-header{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;max-width:100%;padding:16px 20px;display:flex;box-shadow:0 2px 8px #00000005}.arch-header-left{flex:1;min-width:0;max-width:100%}.arch-badge-tag{color:#4f46e5;background:#eef2ff;border-radius:20px;align-items:center;gap:6px;margin-bottom:6px;padding:4px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.arch-title{color:#0f172a;word-break:break-word;overflow-wrap:break-word;margin:0 0 8px;font-size:1.25rem;font-weight:800;line-height:1.35}.arch-meta{color:#64748b;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;font-size:.82rem;display:flex}.arch-branch-badge,.arch-file-badge{color:#334155;word-break:break-all;overflow-wrap:anywhere;box-sizing:border-box;background:#f1f5f9;border-radius:6px;max-width:100%;padding:3px 8px;font-family:monospace;font-weight:600}.arch-file-badge{color:#0284c7;background:#e0f2fe}.arch-fetch-time{white-space:nowrap}.arch-diagram-selector-bar{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:100%;max-width:100%;padding:8px;box-shadow:0 2px 6px #00000005}.arch-selector-group{box-sizing:border-box;grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.arch-selector-btn{cursor:pointer;text-align:left;color:#475569;box-sizing:border-box;background:#f8fafc;border:2px solid #0000;border-radius:10px;align-items:center;gap:12px;min-width:0;padding:10px 14px;transition:all .2s;display:flex}.arch-selector-btn:hover{background:#f1f5f9;border-color:#cbd5e1}.arch-selector-btn.active{color:#1e40af;background:#fff;border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61f}.arch-selector-btn.active svg{color:#2563eb}.arch-selector-text{flex-direction:column;gap:2px;min-width:0;display:flex;overflow:hidden}.arch-selector-title{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:.92rem;font-weight:700;overflow:hidden}.arch-selector-btn.active .arch-selector-title{color:#1d4ed8}.arch-selector-sub{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}@media (width<=1023px){.arch-selector-group{grid-template-columns:1fr}}.arch-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.arch-btn{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:.85rem;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex}.arch-btn-primary{color:#fff;background:#2563eb}.arch-btn-primary:hover{background:#1d4ed8}.arch-btn-outline{color:#334155;background:#fff;border:1px solid #cbd5e1}.arch-btn-outline:hover{background:#f8fafc;border-color:#94a3b8}.arch-btn-refresh{color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0}.arch-btn-refresh:hover{background:#e2e8f0}.arch-btn-refresh.spinning svg{animation:1s linear infinite spin}.arch-btn-pin{color:#b91c1c;background:#fee2e2;border:1px solid #fca5a5}.arch-btn-pin:hover,.arch-btn-pin.active{color:#fff;background:#dc2626;border-color:#b91c1c;box-shadow:0 0 10px #dc262659}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.arch-nav-tabs{-webkit-overflow-scrolling:touch;box-sizing:border-box;scrollbar-width:none;border-bottom:2px solid #e2e8f0;gap:6px;width:100%;max-width:100%;padding-bottom:2px;display:flex;overflow-x:auto}.arch-nav-tabs::-webkit-scrollbar{display:none}.arch-tab-btn{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:3px solid #0000;flex-shrink:0;align-items:center;gap:6px;margin-bottom:-2px;padding:8px 14px;font-size:.88rem;font-weight:600;transition:all .15s;display:inline-flex}.arch-tab-btn:hover{color:#0f172a}.arch-tab-btn.active{color:#2563eb;border-bottom-color:#2563eb}.arch-tab-count{color:#fff;background:#ef4444;border-radius:12px;padding:1px 6px;font-size:.72rem;font-weight:700}.arch-main-grid{grid-template-columns:1fr 380px;gap:16px;min-height:650px;display:grid}@media (width<=1023px){.arch-main-grid{grid-template-columns:1fr}}.arch-canvas-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 10px #00000008}.arch-canvas-toolbar{z-index:10;background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:8px 14px;display:flex}.arch-zoom-controls{background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:4px;padding:3px 6px;display:flex}.arch-tool-btn{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.arch-tool-btn:hover{color:#0f172a;background:#f1f5f9}.arch-zoom-label{color:#334155;text-align:center;min-width:44px;font-size:.78rem;font-weight:700}.arch-canvas-guide{font-size:.8rem}.arch-guide-active{color:#b91c1c;font-weight:700;animation:1.5s infinite pulse}.arch-guide-hint{color:#64748b}.arch-viewport,.arch-diagram-viewport{-webkit-user-select:none;user-select:none;box-sizing:border-box;background-color:#fcfdfe;background-image:radial-gradient(#cbd5e1 1px,#0000 1px);background-size:20px 20px;flex:1;justify-content:center;align-items:flex-start;width:100%;height:100%;min-height:580px;padding:0;display:flex;position:relative;overflow:hidden}.arch-viewport.cursor-grab,.arch-diagram-viewport.grab{cursor:grab}.arch-viewport.cursor-grabbing,.arch-diagram-viewport.grabbing{cursor:grabbing}.arch-viewport.cursor-pin,.arch-diagram-viewport.pin-mode{cursor:crosshair!important}.arch-diagram-wrapper,.arch-image-wrapper{width:100%;margin:0 auto;padding:0;transition:transform 50ms ease-out;display:inline-block;position:relative}.arch-svg-image,.arch-rendered-svg{border-radius:4px;width:100%;max-width:100%;height:auto;margin:0 auto;display:block;box-shadow:0 4px 20px #0000000f}.arch-loading-box{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;min-height:400px;display:flex}.arch-pin-marker{transform-origin:0 100%;cursor:pointer;z-index:20;border:2px solid #fff;border-radius:50% 50% 50% 0;justify-content:center;align-items:center;width:28px;height:28px;transition:transform .2s,box-shadow .2s;display:flex;position:absolute;transform:translate(-50%,-100%)rotate(-45deg);box-shadow:0 2px 8px #0000004d}.arch-pin-marker:hover{z-index:30;transform:translate(-50%,-100%)scale(1.2)}.arch-pin-marker.selected{z-index:40;border-color:#0f172a;transform:translate(-50%,-100%)scale(1.3);box-shadow:0 0 12px #0f172a80}.arch-pin-number{color:#fff;font-size:.72rem;font-weight:800;rotate:45deg}.arch-pin-marker.pending{animation:.6s infinite alternate bounce}@keyframes bounce{0%{transform:translate(-50%,-100%)translateY(0)}to{transform:translate(-50%,-100%)translateY(-6px)}}.arch-pin-tooltip{color:#fff;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;z-index:50;background:#0f172a;border-radius:6px;padding:6px 10px;font-size:.75rem;transition:all .15s;position:absolute;bottom:36px;left:50%;transform:translate(-50%)rotate(45deg);box-shadow:0 4px 12px #0003}.arch-pin-marker:hover .arch-pin-tooltip{opacity:1;visibility:visible}.arch-tooltip-title{font-weight:700}.arch-tooltip-author{color:#94a3b8;font-size:.68rem}.arch-modal-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:100;background:#0f172a73;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0}.arch-modal-card{background:#fff;border-radius:14px;width:100%;max-width:480px;animation:.2s ease-out modalIn;overflow:hidden;box-shadow:0 10px 30px #0003}@keyframes modalIn{0%{opacity:0;transform:scale(.95)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.arch-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.arch-modal-header h3{color:#0f172a;margin:0;font-size:1.05rem;font-weight:700}.arch-modal-close{cursor:pointer;color:#94a3b8;background:0 0;border:none;font-size:1.1rem}.arch-pin-form{flex-direction:column;gap:16px;padding:20px;display:flex}.arch-form-group{flex-direction:column;gap:6px;display:flex}.arch-form-group label{color:#334155;font-size:.82rem;font-weight:600}.arch-category-selector{flex-wrap:wrap;gap:6px;display:flex}.arch-cat-pill{cursor:pointer;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:4px;padding:5px 10px;font-size:.78rem;font-weight:600;transition:all .15s;display:inline-flex}.arch-input,.arch-textarea{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:9px 12px;font-size:.88rem}.arch-input:focus,.arch-textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb26}.arch-modal-footer{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.arch-sidebar-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;max-height:calc(100vh - 160px);display:flex;overflow:hidden;box-shadow:0 2px 10px #00000008}.arch-list-header{border-bottom:1px solid #e2e8f0;padding:16px}.arch-list-header h3{color:#0f172a;margin:0 0 10px;font-size:1rem;font-weight:700}.arch-filter-pills{gap:4px;display:flex}.arch-filter-pill{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:4px 10px;font-size:.75rem;font-weight:600}.arch-filter-pill.active{color:#fff;background:#0f172a;border-color:#0f172a}.arch-pin-items-scroll{flex-direction:column;flex:1;gap:10px;padding:12px;display:flex;overflow-y:auto}.arch-empty-pins{text-align:center;color:#64748b;padding:40px 16px}.arch-empty-icon{margin-bottom:10px;font-size:2.5rem}.arch-empty-sub{color:#94a3b8;font-size:.8rem}.arch-pin-card-item{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px;transition:all .15s}.arch-pin-card-item:hover{border-color:#2563eb;box-shadow:0 2px 8px #2563eb14}.arch-pin-card-item.resolved{opacity:.65;background:#f8fafc}.arch-card-top{align-items:center;gap:6px;margin-bottom:6px;display:flex}.arch-card-number{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:.65rem;font-weight:800;display:flex}.arch-cat-tag-sm{border-radius:4px;padding:2px 6px;font-size:.7rem;font-weight:700}.arch-card-status{border-radius:4px;margin-left:auto;padding:2px 6px;font-size:.68rem;font-weight:700}.arch-card-status.open{color:#b91c1c;background:#fee2e2}.arch-card-status.resolved{color:#475569;background:#e2e8f0}.arch-card-title{color:#0f172a;margin:0 0 4px;font-size:.88rem;font-weight:700}.arch-card-snippet{color:#64748b;margin:0 0 8px;font-size:.78rem}.arch-card-footer{color:#94a3b8;justify-content:space-between;align-items:center;font-size:.72rem;display:flex}.arch-thread-view{flex-direction:column;height:100%;display:flex}.arch-thread-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.arch-thread-back-btn{color:#2563eb;cursor:pointer;background:0 0;border:none;padding:0;font-size:.8rem;font-weight:600}.arch-thread-header-actions{align-items:center;gap:8px;display:flex}.arch-status-badge{cursor:pointer;border:none;border-radius:6px;align-items:center;gap:4px;padding:4px 8px;font-size:.72rem;font-weight:700;display:inline-flex}.arch-status-badge.open{color:#b91c1c;background:#fee2e2}.arch-status-badge.resolved{color:#15803d;background:#dcfce7}.arch-icon-btn-danger{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px}.arch-icon-btn-danger:hover{color:#ef4444;background:#fee2e2}.arch-thread-body{flex:1;padding:16px;overflow-y:auto}.arch-thread-meta{align-items:center;gap:8px;margin-bottom:8px;display:flex}.arch-cat-tag{border-radius:4px;padding:2px 8px;font-size:.72rem;font-weight:700}.arch-thread-date{color:#94a3b8;font-size:.72rem}.arch-thread-title{color:#0f172a;margin:0 0 10px;font-size:1.05rem;font-weight:700}.arch-author-info{align-items:center;gap:8px;margin-bottom:12px;display:flex}.arch-avatar-circle{color:#fff;background:#0f172a;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:.7rem;font-weight:700;display:flex}.arch-author-name{color:#334155;font-size:.78rem;font-weight:600}.arch-thread-desc{color:#334155;white-space:pre-wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:20px;padding:12px;font-size:.85rem;line-height:1.5}.arch-replies-title{color:#475569;margin:0 0 10px;font-size:.85rem;font-weight:700}.arch-replies-list{flex-direction:column;gap:10px;display:flex}.arch-reply-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px}.arch-reply-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.arch-reply-author{align-items:center;gap:6px;display:flex}.arch-mini-avatar{color:#fff;background:#3b82f6;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;font-size:.55rem;font-weight:700;display:flex}.arch-reply-name{color:#334155;font-size:.72rem;font-weight:600}.arch-reply-date{color:#94a3b8;font-size:.68rem}.arch-reply-content{color:#1e293b;white-space:pre-wrap;font-size:.82rem}.arch-no-replies{color:#94a3b8;padding:8px 0;font-size:.78rem;font-style:italic}.arch-reply-form{background:#f8fafc;border-top:1px solid #e2e8f0;gap:6px;padding:12px 16px;display:flex}.arch-reply-input{border:1px solid #cbd5e1;border-radius:8px;flex:1;padding:8px 12px;font-size:.82rem}.arch-reply-input:focus{border-color:#2563eb;outline:none}.arch-reply-send-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;justify-content:center;align-items:center;padding:8px 14px;display:flex}.arch-reply-send-btn:disabled{cursor:not-allowed;background:#cbd5e1}.arch-mece-container{flex-direction:column;gap:20px;display:flex}.arch-mece-intro{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px 24px}.arch-mece-intro h2{color:#0f172a;margin:0 0 8px;font-size:1.25rem}.arch-mece-intro p{color:#475569;margin:0;font-size:.9rem;line-height:1.6}.arch-layers-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px;display:grid}.arch-layer-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px;transition:transform .15s,box-shadow .15s;box-shadow:0 2px 8px #00000005}.arch-layer-card:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0000000d}.arch-layer-header{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.arch-layer-number{color:#fff;background:#0f172a;border-radius:6px;padding:2px 8px;font-size:.72rem;font-weight:800}.arch-layer-icon{font-size:1.4rem}.arch-layer-header h3{color:#0f172a;margin:0;font-size:1.05rem;font-weight:700}.arch-layer-tag{color:#334155;background:#f1f5f9;border-radius:6px;margin-left:auto;padding:2px 8px;font-size:.72rem;font-weight:700}.arch-layer-points{color:#334155;margin:0;padding-left:18px;font-size:.85rem;line-height:1.6}.arch-layer-points li{margin-bottom:8px}.arch-layer-points code{color:#0f172a;background:#f1f5f9;border-radius:4px;padding:1px 5px;font-family:monospace}.arch-source-container{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px}.arch-source-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.arch-source-header h3{color:#0f172a;margin:0 0 4px;font-size:1.1rem}.arch-source-path{color:#64748b;margin:0;font-size:.8rem}.arch-source-path code{color:#2563eb;background:#f1f5f9;border-radius:4px;padding:2px 6px}.arch-source-actions{gap:8px;display:flex}.arch-source-pre{color:#e2e8f0;background:#0f172a;border-radius:10px;max-height:600px;padding:18px;font-family:Fira Code,Menlo,Monaco,monospace;font-size:.85rem;line-height:1.5;overflow-x:auto}@media (orientation:landscape) and (height<=600px){.arch-page-container{gap:8px;min-height:auto;padding:2px 2px 8px}.arch-header{border-radius:8px;gap:8px;padding:8px 12px}.arch-title{margin:0 0 2px;font-size:1.05rem}.arch-badge-tag{margin-bottom:2px;padding:2px 8px;font-size:.7rem}.arch-meta{gap:8px;font-size:.75rem}.arch-header-actions{gap:6px}.arch-btn{border-radius:6px;padding:5px 10px;font-size:.78rem}.arch-nav-tabs{gap:4px;padding-bottom:0}.arch-tab-btn{padding:6px 12px;font-size:.8rem}.arch-main-grid{grid-template-columns:1fr 280px;gap:8px;height:calc(100dvh - 80px);min-height:0}.arch-canvas-card{border-radius:8px;height:100%;min-height:0}.arch-canvas-toolbar{padding:4px 8px}.arch-viewport,.arch-diagram-viewport{touch-action:none;height:calc(100dvh - 120px);min-height:0}.arch-sidebar-card{border-radius:8px;height:100%;max-height:calc(100dvh - 80px);overflow-y:auto}.arch-modal-card{max-height:90dvh;overflow-y:auto}.arch-pin-form{gap:10px;padding:12px 16px}}@media (width<=640px){.arch-main-grid{grid-template-columns:1fr}.arch-header{padding:12px 14px}.arch-header-actions{justify-content:flex-start;width:100%}.arch-viewport{min-height:420px}.arch-sidebar-card{max-height:500px}}.arch-tab-count-commits{color:#fff;background:#3b82f6;border-radius:12px;padding:1px 6px;font-size:.72rem;font-weight:700}.arch-diff-container{flex-direction:column;gap:16px;display:flex}.arch-diff-header-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:12px;padding:16px 20px;display:flex;box-shadow:0 2px 8px #00000005}.arch-diff-selector-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.arch-diff-select-group{flex:1;align-items:center;gap:8px;min-width:280px;display:flex}.arch-diff-label{color:#334155;white-space:nowrap;align-items:center;gap:6px;font-size:.85rem;font-weight:700;display:flex}.arch-commit-select{color:#0f172a;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;flex:1;padding:8px 12px;font-size:.85rem;font-weight:500}.arch-commit-select:focus{background:#fff;border-color:#2563eb;outline:none}.arch-diff-vs-badge{color:#64748b;background:#f1f5f9;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:.82rem;font-weight:700;display:flex}.arch-current-tag{color:#15803d;background:#dcfce7;border-radius:6px;padding:2px 8px}.arch-diff-mode-tabs{background:#f1f5f9;border-radius:8px;align-items:center;gap:6px;padding:4px;display:flex}.arch-diff-mode-btn{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:.82rem;font-weight:600;transition:all .15s;display:inline-flex}.arch-diff-mode-btn:hover{color:#0f172a}.arch-diff-mode-btn.active{color:#2563eb;background:#fff;font-weight:700;box-shadow:0 1px 4px #00000014}.arch-landscape-badge{color:#dc2626;background:#fee2e2;border-radius:4px;padding:1px 5px;font-size:.65rem;font-weight:700}.arch-diff-code-counts{align-items:center;gap:3px;margin-left:2px;font-size:.72rem;display:inline-flex}.arch-count-add{color:#16a34a;font-weight:700}.arch-count-del{color:#dc2626;font-weight:700}.arch-selected-commit-info{border-top:1px dashed #e2e8f0;padding-top:10px}.arch-commit-meta-bar{flex-wrap:wrap;align-items:center;gap:10px;font-size:.82rem;display:flex}.arch-commit-sha-pill{color:#4338ca;background:#e0e7ff;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-weight:700;display:inline-flex}.arch-commit-msg-text{color:#1e293b;flex:1;min-width:200px;font-weight:600}.arch-commit-details{color:#64748b;align-items:center;gap:12px;font-size:.78rem;display:flex}.arch-commit-author,.arch-commit-date{align-items:center;gap:4px;display:flex}.arch-mobile-orientation-banner{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;align-items:flex-start;gap:12px;padding:12px 16px;display:flex}.arch-phone-icon{color:#d97706;flex-shrink:0;margin-top:2px}.arch-banner-text strong{margin-bottom:2px;font-size:.88rem;display:block}.arch-banner-text p{color:#b45309;margin:0;font-size:.78rem;line-height:1.4}.arch-diff-loading{text-align:center;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;align-items:center;gap:12px;padding:60px 20px;display:flex}.arch-side-by-side-container{flex-direction:column;gap:12px;display:flex}.arch-diff-zoom-toolbar{background:#fff;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;padding:8px 16px;display:flex}.arch-diff-zoom-hint{color:#64748b;font-size:.8rem}.arch-side-by-side-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.arch-diff-pane{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 2px 8px #00000008}.arch-pane-past{border-top:4px solid #ef4444}.arch-pane-current{border-top:4px solid #22c55e}.arch-pane-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:10px 16px;display:flex}.arch-pane-tag{border-radius:6px;padding:3px 8px;font-size:.82rem;font-weight:700}.arch-pane-tag.past{color:#b91c1c;background:#fee2e2}.arch-pane-tag.current{color:#15803d;background:#dcfce7}.arch-pane-sha{color:#64748b;background:#e2e8f0;border-radius:4px;padding:2px 6px;font-family:monospace;font-size:.78rem}.arch-pane-content{background-color:#fcfdfe;background-image:radial-gradient(#cbd5e1 1px,#0000 1px);background-size:20px 20px;min-height:480px;padding:16px;overflow:auto}.arch-diff-svg-wrapper{transition:transform .1s ease-out;display:inline-block}.arch-diff-svg{background:#fff;border-radius:6px;max-width:none;height:auto;display:block;box-shadow:0 2px 10px #0000000d}.arch-diff-empty{color:#94a3b8;justify-content:center;align-items:center;height:100%;min-height:300px;display:flex}.arch-side-by-side-container.portrait-stack .arch-side-by-side-grid{grid-template-columns:1fr}.arch-flip-container{flex-direction:column;gap:12px;display:flex}.arch-flip-switch-bar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.arch-flip-toggles{background:#f1f5f9;border-radius:8px;align-items:center;gap:8px;padding:4px;display:flex}.arch-flip-toggle-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:6px;padding:8px 16px;font-size:.85rem;font-weight:600;transition:all .15s;display:inline-flex}.arch-flip-dot{border-radius:50%;width:8px;height:8px}.arch-flip-dot.past{background:#ef4444}.arch-flip-dot.current{background:#22c55e}.arch-flip-toggle-btn.past.active{color:#b91c1c;background:#fee2e2;font-weight:700;box-shadow:0 1px 4px #ef444433}.arch-flip-toggle-btn.current.active{color:#15803d;background:#dcfce7;font-weight:700;box-shadow:0 1px 4px #22c55e33}.arch-flip-canvas-viewport{background:#fcfdfe radial-gradient(#cbd5e1 1px,#0000 1px) 0 0/20px 20px;border:1px solid #e2e8f0;border-radius:12px;min-height:520px;padding:16px;overflow:auto}.arch-flip-wrapper{transition:transform .1s ease-out;display:inline-block}.arch-code-diff-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:12px;display:flex;overflow:hidden}.arch-diff-summary-bar{background:#f8fafc;border-bottom:1px solid #e2e8f0;align-items:center;gap:16px;padding:12px 18px;font-size:.85rem;display:flex}.arch-diff-summary-item{align-items:center;gap:6px;display:inline-flex}.arch-diff-summary-item.unchanged{color:#64748b;font-size:.8rem}.arch-diff-actions-right{margin-left:auto}.arch-btn-sm-outline{color:#2563eb;background:#fff;border:1px solid #bfdbfe;border-radius:6px;align-items:center;gap:4px;padding:4px 10px;font-size:.78rem;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex}.arch-btn-sm-outline:hover{background:#eff6ff;border-color:#2563eb}.arch-code-diff-table-wrapper{max-height:600px;overflow-x:auto}.arch-code-diff-table{border-collapse:collapse;width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.82rem;line-height:1.45}.arch-diff-row{border-bottom:1px solid #f1f5f9}.arch-diff-linenum{text-align:right;color:#94a3b8;-webkit-user-select:none;user-select:none;width:44px;min-width:44px;padding:2px 8px;font-size:.75rem}.arch-diff-old-num,.arch-diff-new-num{border-right:1px solid #e2e8f0}.arch-diff-marker{text-align:center;-webkit-user-select:none;user-select:none;width:24px;min-width:24px;font-weight:700}.arch-diff-content{white-space:pre;padding:2px 10px}.arch-diff-content code{font-family:inherit;font-size:inherit;background:0 0;padding:0}.arch-diff-row.diff-added{background-color:#f0fdf4}.arch-diff-row.diff-added .arch-diff-marker{color:#16a34a;background-color:#dcfce7}.arch-diff-row.diff-added .arch-diff-content{color:#14532d}.arch-diff-row.diff-removed{background-color:#fef2f2}.arch-diff-row.diff-removed .arch-diff-marker{color:#dc2626;background-color:#fee2e2}.arch-diff-row.diff-removed .arch-diff-content{color:#7f1d1d;opacity:.85;text-decoration:line-through}.arch-diff-row.diff-unchanged{background-color:#fff}.arch-diff-row.diff-unchanged .arch-diff-content{color:#334155}@media (prefers-color-scheme:dark){.arch-page-container{color:#f8fafc}.arch-page-container.arch-fullscreen{background-color:#0b1120}.arch-unauthorized-card{color:#f8fafc;background:#1e293b;border:1px solid #334155;box-shadow:0 4px 20px #0000004d}.arch-header{background:#1e293b;border-color:#334155;box-shadow:0 2px 8px #0003}.arch-title{color:#f8fafc}.arch-meta{color:#94a3b8}.arch-branch-badge,.arch-file-badge{color:#cbd5e1;background:#0f172a;border:1px solid #334155}.arch-file-badge{color:#38bdf8;background:#0284c726;border-color:#0284c74d}.arch-diagram-selector-bar{background:#1e293b;border-color:#334155;box-shadow:0 2px 6px #0003}.arch-selector-btn{color:#cbd5e1;background:#0f172a;border-color:#334155}.arch-selector-btn:hover{background:#1e293b;border-color:#475569}.arch-selector-btn.active{color:#60a5fa;background:#1e293b;border-color:#3b82f6;box-shadow:0 4px 12px #3b82f640}.arch-selector-title{color:#f8fafc}.arch-selector-btn.active .arch-selector-title{color:#60a5fa}.arch-selector-sub{color:#94a3b8}.arch-btn-outline{color:#f8fafc;background:#1e293b;border-color:#475569}.arch-btn-outline:hover{background:#334155;border-color:#64748b}.arch-btn-refresh{color:#f8fafc;background:#1e293b;border-color:#475569}.arch-btn-refresh:hover{background:#334155}.arch-nav-tabs{border-bottom-color:#334155}.arch-tab-btn{color:#94a3b8}.arch-tab-btn:hover{color:#f8fafc}.arch-tab-btn.active{color:#60a5fa;border-bottom-color:#60a5fa}.arch-canvas-card{background:#1e293b;border-color:#334155;box-shadow:0 2px 10px #0000004d}.arch-canvas-toolbar{background:#0f172a;border-bottom-color:#334155}.arch-zoom-controls{background:#1e293b;border-color:#334155}.arch-tool-btn{color:#cbd5e1}.arch-tool-btn:hover{color:#f8fafc;background:#334155}.arch-zoom-label{color:#f8fafc}.arch-guide-hint{color:#94a3b8}.arch-viewport,.arch-diagram-viewport{background-color:#0f172a;background-image:radial-gradient(#334155 1px,#0000 1px)}.arch-modal-overlay{background:#000000a6}.arch-modal-card{color:#f8fafc;background:#1e293b;border:1px solid #334155;box-shadow:0 10px 30px #00000080}.arch-modal-header{border-bottom-color:#334155}.arch-modal-header h3{color:#f8fafc}.arch-form-group label{color:#cbd5e1}.arch-cat-pill{color:#cbd5e1;background:#0f172a;border-color:#334155}.arch-input,.arch-textarea{color:#f8fafc;background:#0f172a;border-color:#334155}.arch-input:focus,.arch-textarea:focus{border-color:#3b82f6}.arch-sidebar-card{background:#1e293b;border-color:#334155;box-shadow:0 2px 10px #0000004d}.arch-sidebar-header{background:#0f172a;border-bottom-color:#334155}.arch-sidebar-title{color:#f8fafc}.arch-pin-card{background:#0f172a;border-color:#334155}.arch-pin-card:hover{background:#1e293b;border-color:#3b82f6}.arch-pin-card.selected{background:#3b82f626;border-color:#3b82f6}.arch-pin-title{color:#f8fafc}.arch-pin-body{color:#cbd5e1}.arch-detail-header{border-bottom-color:#334155}.arch-detail-title{color:#f8fafc}.arch-detail-desc{color:#e2e8f0;background:#0f172a;border-color:#334155}.arch-reply-item{color:#f8fafc;background:#0f172a;border-color:#334155}.arch-reply-item.is-me{color:#fff;background:#1e3a8a;border-color:#3b82f6}.arch-reply-item.is-bot{color:#ecfdf5;background:#064e3b;border-color:#059669}.arch-reply-author{color:#cbd5e1}.arch-reply-time{color:#94a3b8}.arch-reply-input-box{background:#0f172a;border-color:#334155}.arch-reply-textarea{color:#f8fafc}.arch-mece-layer-card,.arch-mece-summary-box{color:#f8fafc;background:#1e293b;border-color:#334155}.arch-mece-layer-title{color:#f8fafc}.arch-mece-layer-desc{color:#cbd5e1}.arch-flip-switch-bar{background:#1e293b;border-color:#334155}.arch-flip-toggles{background:#0f172a}.arch-flip-toggle-btn{color:#94a3b8}.arch-flip-canvas-viewport{background-color:#0f172a;background-image:radial-gradient(#334155 1px,#0000 1px);border-color:#334155}.arch-code-diff-container{background:#1e293b;border-color:#334155}.arch-diff-summary-bar{color:#f8fafc;background:#0f172a;border-bottom-color:#334155}.arch-diff-row.diff-unchanged{background-color:#1e293b}.arch-diff-row.diff-unchanged .arch-diff-content{color:#cbd5e1}.arch-diff-row.diff-added{background-color:#16a34a26}.arch-diff-row.diff-added .arch-diff-marker{color:#4ade80;background-color:#16a34a4d}.arch-diff-row.diff-added .arch-diff-content{color:#86efac}.arch-diff-row.diff-removed{background-color:#dc262626}.arch-diff-row.diff-removed .arch-diff-marker{color:#f87171;background-color:#dc26264d}.arch-diff-row.diff-removed .arch-diff-content{color:#fca5a5}.arch-diff-linenum{color:#64748b}.arch-diff-old-num,.arch-diff-new-num{border-right-color:#334155}.arch-btn-sm-outline{color:#60a5fa;background:#0f172a;border-color:#334155}.arch-btn-sm-outline:hover{background:#1e293b}.arch-rendered-svg,.arch-svg-image,.arch-flip-img{filter:invert(.92)hue-rotate(180deg)brightness(1.05)contrast(1.1);border-radius:8px;box-shadow:0 4px 20px #0006;background:0 0!important}.arch-image-wrapper,.arch-diagram-wrapper,.arch-flip-wrapper{background:0 0!important}}.settings-container{max-width:800px;margin:0 auto;padding:20px 10px}@media (width<=1023px){.settings-container{padding:10px 4px}}.settings-loading{text-align:center;color:#666;padding:40px}.settings-section{background:#fff;border:1px solid #eef0f2;border-radius:12px;margin-bottom:25px;padding:20px;box-shadow:0 2px 8px #0000000a}.section-title{color:#333;align-items:center;gap:8px;margin-bottom:5px;font-size:1.25rem;display:flex;margin-top:0!important}.section-desc{color:#666;margin-bottom:20px;font-size:.9rem}.setting-item{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;padding:15px 0;display:flex}.setting-item:last-child{border-bottom:none}.master-toggle-wrapper{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:15px;padding:15px}.master-toggle-wrapper.disabled-all{opacity:.5;pointer-events:none}.setting-info{flex:1;padding-right:15px}.setting-title{color:#333;margin-bottom:4px;font-size:1rem;font-weight:600}.setting-desc{color:#777;font-size:.85rem;line-height:1.4}.sub-settings-group{padding-left:10px;transition:opacity .3s}.sub-settings-group.disabled{opacity:.5;pointer-events:none}.warning-alert{color:#856404;background-color:#fff3cd;border:1px solid #ffeeba;border-radius:8px;margin-bottom:20px;padding:12px 15px;font-size:.9rem}.toggle-switch{width:50px;height:28px;margin:0;display:inline-block;position:relative}.toggle-slider:before{content:"";background-color:#fff;border-radius:50%;width:20px;height:20px;transition:all .3s;position:absolute;bottom:4px;left:4px;box-shadow:0 2px 4px #0003}input:focus+.toggle-slider{box-shadow:0 0 1px #1976d2}.spinner{border:4px solid #0000001a;border-left-color:#1976d2;border-radius:50%;width:36px;height:36px;margin:0 auto 15px;animation:1s linear infinite spin}.disaster-handbook-container{color:#1e293b;box-sizing:border-box;max-width:900px;margin:0 auto;padding:1rem;font-family:inherit}.handbook-network-banner{border-radius:.75rem;align-items:center;gap:.75rem;margin-bottom:1.5rem;padding:.85rem 1.25rem;font-size:.95rem;font-weight:700;display:flex;box-shadow:0 2px 4px #0000000d}.handbook-network-banner.offline{color:#991b1b;background-color:#fef2f2;border:2px solid #ef4444}.handbook-network-banner.online{color:#166534;background-color:#f0fdf4;border:1.5px solid #86efac}.handbook-header{text-align:center;border-bottom:2px solid #e2e8f0;margin-bottom:2rem;padding-bottom:1rem}.handbook-header h1{color:#0d2b55;margin:0 0 .5rem;font-size:1.6rem;font-weight:900;line-height:1.3}.handbook-header p{color:#475569;margin:0;font-size:.95rem;line-height:1.5}.handbook-tabs{-webkit-overflow-scrolling:touch;gap:.5rem;margin-bottom:1.5rem;padding-bottom:.5rem;display:flex;overflow-x:auto}.handbook-tab-btn{color:#334155;cursor:pointer;white-space:nowrap;background-color:#f8fafc;border:2px solid #cbd5e1;border-radius:.75rem;flex:1;justify-content:center;align-items:center;gap:.4rem;min-width:130px;padding:.75rem .5rem;font-size:.95rem;font-weight:800;transition:all .2s;display:flex}.handbook-tab-btn.active{color:#fff;background-color:#0d2b55;border-color:#0d2b55;box-shadow:0 4px 6px -1px #0d2b5533}.handbook-section{background-color:#fff;border:1.5px solid #e2e8f0;border-radius:1rem;margin-bottom:1.5rem;padding:1.5rem;box-shadow:0 4px 6px -1px #0000000d}.handbook-section-title{color:#0f172a;border-bottom:2px solid #f1f5f9;align-items:center;gap:.5rem;margin:0 0 1rem;padding-bottom:.6rem;font-size:1.25rem;font-weight:900;display:flex}.shelter-list{flex-direction:column;gap:1rem;display:flex}.shelter-card{background-color:#fafbfc;border:2px solid #e2e8f0;border-radius:.85rem;padding:1.2rem;transition:border-color .2s}.shelter-card.primary{background-color:#f0f7ff;border-color:#3b82f6}.shelter-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.5rem;display:flex}.shelter-name{color:#0f172a;margin:0;font-size:1.15rem;font-weight:900}.shelter-badge{border-radius:9999px;padding:.25rem .6rem;font-size:.75rem;font-weight:800}.shelter-badge.primary{color:#fff;background-color:#2563eb}.shelter-badge.community{color:#fff;background-color:#10b981}.shelter-badge.secondary{color:#fff;background-color:#64748b}.shelter-distance{color:#1d4ed8;margin-bottom:.5rem;font-size:.9rem;font-weight:700}.shelter-tags{flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem;display:flex}.shelter-tag{color:#334155;background-color:#e2e8f0;border-radius:.4rem;padding:.2rem .5rem;font-size:.8rem;font-weight:700}.shelter-tag.flood{color:#1e40af;background-color:#dbeafe}.shelter-tag.earthquake{color:#c2410c;background-color:#ffedd5}.shelter-tag.landslide{color:#854d0e;background-color:#fef08a}.shelter-note{color:#334155;background-color:#ffffffb3;border:1px solid #0000000d;border-radius:.5rem;margin:0;padding:.5rem .75rem;font-size:.9rem;line-height:1.45}.contact-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;display:grid}.contact-box{background-color:#f8fafc;border:1.5px solid #cbd5e1;border-radius:.75rem;flex-direction:column;justify-content:space-between;padding:1rem;display:flex}.contact-box-name{color:#0f172a;margin-bottom:.25rem;font-size:1.05rem;font-weight:900}.contact-box-division{color:#64748b;margin-bottom:.75rem;font-size:.85rem}.contact-box-btn{color:#fff;background-color:#dc2626;border-radius:.6rem;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 1rem;font-size:1.1rem;font-weight:900;text-decoration:none;transition:opacity .2s;display:inline-flex;box-shadow:0 2px 4px #dc262640}.contact-box-btn:active{opacity:.85}.contact-box-note{color:#64748b;margin-top:.5rem;font-size:.8rem}.dh-guide-filters{flex-wrap:wrap;gap:.5rem;margin-bottom:1.15rem;display:flex}.dh-guide-filter-btn{color:#334155;cursor:pointer;background-color:#f8fafc;border:1.5px solid #cbd5e1;border-radius:9999px;justify-content:center;align-items:center;min-height:38px;padding:.45rem .85rem;font-size:.88rem;font-weight:800;transition:all .2s;display:inline-flex}.dh-guide-filter-btn.active{color:#fff;background-color:#0d2b55;border-color:#0d2b55;box-shadow:0 2px 4px #0d2b5533}.dh-action-guide-list{flex-direction:column;gap:1.25rem;display:flex}.dh-action-card{text-align:left;box-sizing:border-box;background-color:#fff;border:2px solid #e2e8f0;border-radius:.85rem;flex-direction:column;align-items:stretch;gap:.85rem;width:100%;padding:1.25rem;display:flex}.dh-action-card.flood{background-color:#f8faff;border-color:#93c5fd}.dh-action-card.earthquake{background-color:#fffaf5;border-color:#fdba74}.dh-action-card.blackout{background-color:#fefce8;border-color:#fde047}.dh-action-card-header{align-items:center;gap:.6rem;margin-bottom:0;display:flex}.dh-action-card-header h3{color:#0f172a;margin:0;font-size:1.15rem;font-weight:900;line-height:1.35}.dh-action-points{box-sizing:border-box;flex-direction:column;gap:.65rem;width:100%;margin:0;padding:0;list-style:none;display:flex}.dh-action-points li{text-align:left;word-break:break-word;overflow-wrap:anywhere;box-sizing:border-box;background-color:#fff;border:1px solid #0f172a14;border-radius:.6rem;padding:.7rem .85rem}.dh-action-card.flood .dh-action-points li{border-left:4px solid #3b82f6}.dh-action-card.earthquake .dh-action-points li{border-left:4px solid #f97316}.dh-action-card.blackout .dh-action-points li{border-left:4px solid #eab308}.dh-action-lead{color:#0f172a;margin-bottom:.25rem;font-size:.95rem;font-weight:800;line-height:1.4}.dh-action-body{color:#334155;font-size:.93rem;line-height:1.6}.dh-action-local-box{color:#9a3412;text-align:left;background-color:#0000000a;border-left:4px solid #f97316;border-radius:0 .5rem .5rem 0;padding:.6rem .85rem;font-size:.88rem;font-weight:700;line-height:1.5}.checklist-container{flex-direction:column;gap:.6rem;display:flex}.checklist-item{cursor:pointer;background-color:#f8fafc;border:1.5px solid #e2e8f0;border-radius:.65rem;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;transition:all .2s;display:flex}.checklist-item.checked{background-color:#f0fdf4;border-color:#86efac}.checklist-checkbox{cursor:pointer;width:1.3rem;height:1.3rem;margin-top:.15rem}.checklist-text-area{flex:1}.checklist-name{color:#0f172a;margin-bottom:.2rem;font-size:1rem;font-weight:800}.checklist-item.checked .checklist-name{color:#64748b;text-decoration:line-through}.checklist-detail{color:#64748b;font-size:.85rem;line-height:1.4}@media (width<=600px){.disaster-handbook-container{padding:.6rem .35rem}.handbook-header h1{font-size:1.3rem}.handbook-tabs{grid-template-columns:1fr 1fr;gap:.45rem;padding-bottom:0;display:grid;overflow-x:visible}.handbook-tab-btn{width:100%;min-width:0;padding:.65rem .4rem;font-size:.88rem}.handbook-section{border-radius:.85rem;padding:1rem .75rem}.handbook-section-title{font-size:1.1rem}.dh-action-card{padding:.95rem .8rem}.dh-action-card-header h3{font-size:1.05rem}.dh-action-points li{padding:.65rem .75rem}}.disaster-portal-container{box-sizing:border-box;width:100%;max-width:1200px;margin:0 auto;padding:12px 10px;overflow-x:hidden}.portal-header{box-sizing:border-box;border-bottom:3px solid #d9534f;margin-bottom:20px;padding-bottom:12px}.portal-header h1{letter-spacing:-.01em;word-break:break-word;overflow-wrap:anywhere;margin:0 0 8px;font-size:clamp(1.35rem,4vw,1.75rem);font-weight:800;line-height:1.3;color:#0f172a!important}.portal-sub{word-break:break-word;overflow-wrap:anywhere;margin:0;font-size:clamp(.85rem,2.5vw,.95rem);line-height:1.6;color:#334155!important}.disaster-active-banner{color:#991b1b;box-sizing:border-box;word-break:break-word;overflow-wrap:anywhere;background-color:#fee2e2;border:2px solid #ef4444;border-radius:12px;margin-bottom:24px;padding:16px 20px;overflow:hidden}.disaster-active-banner h3{align-items:center;gap:8px;margin:0 0 8px;font-size:1.15rem;font-weight:800;display:flex;color:#991b1b!important}.disaster-active-banner p{margin:0;font-size:.9rem;line-height:1.5;color:#7f1d1d!important}.disaster-normal-banner{box-sizing:border-box;word-break:break-word;overflow-wrap:anywhere;background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;margin-bottom:24px;padding:14px 18px;font-size:.95rem;font-weight:700;overflow:hidden;color:#166534!important}.portal-grid{box-sizing:border-box;grid-template-columns:1fr 1fr;gap:24px;width:100%;min-width:0;display:grid}.portal-left,.portal-right{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.portal-section{box-sizing:border-box;background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:0;max-width:100%;margin-bottom:24px;padding:20px;overflow:hidden;box-shadow:0 2px 8px #0000000a}.section-title{word-break:break-word;overflow-wrap:anywhere;border-left:5px solid #0284c7;align-items:center;gap:6px;margin:0 0 16px;padding-left:10px;font-size:clamp(1.1rem,3vw,1.25rem);font-weight:800;line-height:1.4;display:flex;color:#0f172a!important}.help-section .section-title{border-left-color:#e11d48;color:#be123c!important}.no-alerts{font-size:.9rem;font-style:italic;color:#64748b!important}.alert-list{box-sizing:border-box;flex-direction:column;gap:16px;width:100%;min-width:0;display:flex}.alert-card{box-sizing:border-box;word-break:break-word;overflow-wrap:anywhere;background-color:#f8fafc;border:1px solid #cbd5e1;border-left:5px solid #64748b;border-radius:10px;width:100%;min-width:0;max-width:100%;padding:16px;overflow:hidden}.alert-card.source-earthquake{background-color:#fef2f2;border-left-color:#dc2626}.alert-card.source-rss{background-color:#fff7ed;border-left-color:#ea580c}.alert-card.source-manual{background-color:#f0fdfa;border-left-color:#0d9488}.alert-card-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;width:100%;min-width:0;margin-bottom:10px;display:flex}.alert-badge{color:#fff;letter-spacing:.02em;border-radius:4px;padding:3px 8px;font-size:.75rem;font-weight:800}.badge-earthquake{background-color:#dc2626}.badge-rss{background-color:#ea580c}.badge-manual{background-color:#0d9488}.alert-time{font-size:.8rem;font-weight:600;color:#475569!important}.alert-card-title{word-break:break-word;overflow-wrap:anywhere;margin:0 0 10px;font-size:1.1rem;font-weight:800;line-height:1.4;color:#0f172a!important}.alert-card-body{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;box-sizing:border-box;max-width:100%;margin:0 0 12px;font-size:.95rem;line-height:1.6;color:#1e293b!important}.alert-link-btn{color:#0284c7;box-sizing:border-box;word-break:break-all;overflow-wrap:anywhere;align-items:center;max-width:100%;min-height:44px;font-size:.9rem;font-weight:700;text-decoration:underline;display:inline-flex}.alert-link-btn:hover{color:#0369a1;text-decoration:underline}.contact-list{box-sizing:border-box;grid-template-columns:1fr 1fr;gap:12px;width:100%;min-width:0;display:grid}.contact-card{box-sizing:border-box;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;flex-direction:column;gap:6px;min-width:0;padding:12px 14px;display:flex;overflow:hidden}.contact-name{word-break:break-word;font-size:.95rem;font-weight:800;color:#0f172a!important}.contact-phone{word-break:break-all;align-items:center;min-height:44px;font-size:1.05rem;font-weight:800;text-decoration:underline;display:inline-flex;color:#0284c7!important}.contact-phone:hover{color:#0369a1!important}.help-intro{word-break:break-word;overflow-wrap:anywhere;box-sizing:border-box;background-color:#fff1f2;border:1px solid #fecdd3;border-radius:8px;margin-bottom:20px;padding:12px 14px;font-size:.88rem;line-height:1.6;color:#334155!important}.help-form{text-align:left;box-sizing:border-box;flex-direction:column;gap:16px;width:100%;min-width:0;display:flex}.form-group{box-sizing:border-box;flex-direction:column;gap:6px;width:100%;min-width:0;display:flex}.form-group label{font-size:.9rem;font-weight:800;color:#0f172a!important}.form-group input:not([type=checkbox]):not([type=radio]),.form-group select,.form-group textarea{box-sizing:border-box;border-radius:6px;width:100%;max-width:100%;padding:10px 12px;font-family:inherit;font-size:.95rem;color:#0f172a!important;background-color:#fff!important;border:1.5px solid #cbd5e1!important}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;box-shadow:0 0 0 3px #0284c726;border-color:#0284c7!important}.form-group textarea{resize:vertical}.consent-box{box-sizing:border-box;background-color:#fff1f2;border:1.5px dashed #f43f5e;border-radius:8px;padding:14px}.checkbox-label{cursor:pointer;align-items:flex-start;gap:10px;display:flex}.checkbox-label input[type=checkbox]{cursor:pointer;flex-shrink:0;margin-top:3px;width:20px!important;height:20px!important}.checkbox-label span{text-align:left;word-break:break-word;overflow-wrap:anywhere;flex:1;font-size:.88rem;font-weight:700;line-height:1.5;color:#9f1239!important}.submit-help-btn{cursor:pointer;box-sizing:border-box;background-color:#e11d48;border:none;border-radius:8px;width:100%;min-height:48px;padding:14px;font-size:1rem;font-weight:800;transition:background-color .2s;box-shadow:0 2px 6px #e11d4840;color:#fff!important}.submit-help-btn:hover{background-color:#be123c}.submit-help-btn:disabled{opacity:.6;cursor:not-allowed;background-color:#f43f5e}.my-request-card{text-align:left;box-sizing:border-box;word-break:break-word;overflow-wrap:anywhere;background-color:#fff1f2;border:2px solid #fecdd3;border-radius:10px;padding:18px;overflow:hidden}.request-status-badge{background-color:#e11d48;border-radius:12px;margin-bottom:14px;padding:4px 12px;font-size:.85rem;font-weight:800;display:inline-block;color:#fff!important}.my-request-info{flex-direction:column;gap:8px;margin-bottom:18px;font-size:.92rem;display:flex;color:#1e293b!important}.my-request-info p{word-break:break-word;overflow-wrap:anywhere;margin:0}.cancel-help-btn{cursor:pointer;background-color:#fff;border:1.5px solid #cbd5e1;border-radius:6px;min-height:44px;padding:10px 18px;font-size:.9rem;font-weight:700;transition:all .2s;color:#475569!important}.cancel-help-btn:hover{background-color:#f1f5f9;border-color:#94a3b8;color:#0f172a!important}@media (width<=900px){.portal-grid{grid-template-columns:1fr;gap:16px}}@media (width<=1023px){.disaster-portal-container{padding:10px 8px}.portal-section{padding:16px 14px}}@media (width<=500px){.disaster-portal-container{padding:8px 6px}.portal-section{padding:14px 10px}.contact-list{grid-template-columns:1fr}}.weather-dashboard-container{color:#f8fafc;box-sizing:border-box;background:linear-gradient(135deg,#1e3c72 0%,#2a5298 50%,#4a6fa5 100%);border-radius:20px;max-width:900px;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;box-shadow:0 10px 30px #00000040}.weather-location-header{text-align:center;text-shadow:0 2px 4px #0000004d;margin-bottom:25px}.location-title{letter-spacing:1px;margin:0 0 5px;font-size:2.2rem;font-weight:800;text-align:center!important}.location-coords{color:#cbd5e1;margin:0;font-size:.9rem;text-align:center!important}.weather-summary-card{-webkit-backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #ffffff26;border-radius:16px;margin-bottom:20px;padding:25px;box-shadow:0 8px 32px #1f268733}.weather-main-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:25px;margin-bottom:20px;display:flex}.weather-large-emoji{filter:drop-shadow(0 4px 8px #00000040);font-size:5rem;line-height:1}.weather-temp-block{flex-direction:column;align-items:flex-start;display:flex}.current-temp{font-size:4rem;font-weight:700;line-height:1}.temp-range{color:#e2e8f0;margin-top:5px;font-size:1.1rem}.weather-condition-text{color:#fff;border-left:2px solid #ffffff4d;min-width:120px;padding-left:25px;font-size:1.8rem;font-weight:600}.weather-jma-banner{color:#e0f2fe;background:#0e749059;border:1px solid #38bdf866;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px;padding:8px 14px;font-size:.9rem;display:flex}.jma-badge-tag{color:#fff;letter-spacing:.5px;white-space:nowrap;background:#0284c7;border-radius:6px;padding:3px 8px;font-size:.75rem;font-weight:700}.jma-overview-text{font-weight:500;line-height:1.4}.weather-radar-action-row{justify-content:center;margin:12px 0 16px;display:flex}.weather-radar-btn{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff26;border:1px solid #ffffff4d;border-radius:9999px;align-items:center;gap:8px;padding:8px 16px;font-size:.88rem;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.weather-radar-btn:hover{color:#fff;background:#ffffff47;border-color:#ffffff80;transform:translateY(-1px)}.weather-advice-box{background:#0003;border-left:4px solid #3ca2e0;border-radius:12px;margin-top:15px;padding:15px 20px}.advice-badge{color:#3ca2e0;text-transform:uppercase;margin-bottom:5px;font-size:.85rem;font-weight:700}.advice-text{color:#f1f5f9;margin:0;font-size:1rem;line-height:1.5}.weather-section-card{-webkit-backdrop-filter:blur(8px);background:#ffffff14;border:1px solid #ffffff1a;border-radius:16px;margin-bottom:20px;padding:20px}.weather-dashboard-container .section-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;display:flex}.weather-dashboard-container .section-title{color:#fff;align-items:center;margin:0;font-size:1.25rem;font-weight:700;display:flex}.weather-dashboard-container .section-desc{color:#cbd5e1;margin:-10px 0 15px;font-size:.85rem}.weather-dashboard-container .toggle-container{align-items:center;gap:8px;display:flex}.weather-dashboard-container .toggle-label{color:#e2e8f0;font-size:.85rem}.weather-dashboard-container .hourly-legend-label{color:#cbd5e1;opacity:.85;font-size:.75rem}.toggle-switch{width:44px;height:24px;display:inline-block;position:relative}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{cursor:pointer;background-color:#fff3;border-radius:24px;transition:all .3s;position:absolute;inset:0}.toggle-slider:before{content:"";background-color:#fff;border-radius:50%;width:18px;height:18px;transition:all .3s;position:absolute;bottom:3px;left:3px}input:checked+.toggle-slider{background-color:#3ca2e0}input:checked+.toggle-slider:before{transform:translate(20px)}.hourly-container-wrapper{background:#00000026;border-radius:12px;align-items:flex-start;padding:10px;display:flex}.hourly-header-col{border-right:1px solid #ffffff26;flex-direction:column;flex:0 0 40px;align-items:center;margin-right:10px;padding:12px 0;display:flex}.hourly-header-label{text-align:center;color:#94a3b8;width:100%;font-size:.75rem;font-weight:700;display:block}.hourly-header-label.label-time{height:20px;margin-bottom:6px;line-height:20px}.hourly-header-label.label-emoji{height:30px;margin-bottom:6px;line-height:30px}.hourly-header-label.label-temp{height:24px;margin-bottom:4px;line-height:24px}.hourly-header-label.label-pop{height:18px;margin-bottom:2px;line-height:18px}.hourly-header-label.label-precip{height:18px;margin-bottom:4px;line-height:18px}.hourly-header-label.label-wind{height:26px;line-height:26px}.hourly-scroll-container{scrollbar-width:thin;scrollbar-color:#ffffff4d transparent;flex:1;gap:15px;padding-bottom:10px;display:flex;position:relative;overflow-x:auto}.hourly-scroll-container::-webkit-scrollbar{height:6px}.hourly-scroll-container::-webkit-scrollbar-thumb{background-color:#ffffff4d;border-radius:10px}.hourly-item{text-align:center;background:#ffffff0d;border:1px solid #ffffff0d;border-radius:10px;flex-direction:column;flex:0 0 85px;align-items:center;padding:12px 6px;transition:background .2s;display:flex}.hourly-item span{text-align:center;width:100%;display:block}.hourly-item:hover{background:#ffffff1a}.hourly-time-label{color:#cbd5e1;height:20px;margin-bottom:6px;font-size:.8rem;line-height:20px}.hourly-emoji{height:30px;margin-bottom:6px;font-size:1.8rem;line-height:30px}.hourly-temp{height:24px;margin-bottom:4px;font-size:1.1rem;font-weight:700;line-height:24px}.hourly-pop{color:#3ca2e0;height:18px;margin-bottom:2px;font-size:.75rem;font-weight:600;line-height:18px}.hourly-precip{color:#94a3b8;height:18px;margin-bottom:4px;font-size:.7rem;line-height:18px}.hourly-wind{color:#e2e8f0;flex-direction:column;justify-content:center;align-items:center;height:26px;font-size:.7rem;line-height:13px;display:flex}.wind-dir,.wind-spd{text-align:center;white-space:nowrap;width:100%;display:block}.weather-grid-two-cols{grid-template-columns:1fr 1fr;gap:20px;display:grid}.flex-col-card{flex-direction:column;min-height:350px;display:flex}.pm25-scroll-container{flex:1;padding-right:5px;overflow-y:auto}.pm25-item-row{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:10px 5px;display:flex}.pm25-item-row:last-child{border-bottom:none}.pm25-time{color:#e2e8f0;font-size:.85rem}.pm25-level-indicator{align-items:center;gap:8px;width:90px;display:flex}.pm25-color-dot{border-radius:50%;width:10px;height:10px;box-shadow:0 0 6px}.pm25-level-text{font-size:.85rem;font-weight:600}.pm25-value{color:#fff;font-size:.85rem;font-weight:700}.daily-list-container{flex:1;padding-right:5px;overflow-y:auto}.daily-list-row{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:10px 5px;display:flex}.daily-list-row:last-child{border-bottom:none}.daily-date{color:#e2e8f0;width:90px;font-size:.85rem}.daily-emoji{font-size:1.4rem}.daily-condition{text-align:left;width:100px;font-size:.85rem}.daily-temp-range{font-size:.85rem;font-weight:600}.daily-pop{color:#3ca2e0;text-align:right;width:60px;font-size:.8rem;font-weight:600}.indices-list{flex-direction:column;gap:15px;display:flex}.index-item-row{background:#ffffff0a;border:1px solid #ffffff0a;border-radius:12px;align-items:center;gap:15px;padding:12px 15px;display:flex}.index-meta-col{flex-direction:column;flex-shrink:0;gap:4px;width:180px;display:flex}.index-name{color:#fff;font-size:.95rem;font-weight:700}.index-icons-row{align-items:center;display:flex}.index-icon-unit{transition:transform .2s}.index-content-col{flex:1}.index-label-text{color:#fff;margin-bottom:2px;font-size:1.05rem;font-weight:700}.index-advice-text{color:#cbd5e1;font-size:.85rem;line-height:1.4}.weather-grid-four-cols{grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px;display:grid}.weather-detail-box{text-align:center;background:#ffffff0f;border:1px solid #ffffff14;border-radius:12px;padding:15px 10px}.detail-title{color:#cbd5e1;text-transform:uppercase;margin-bottom:6px;font-size:.75rem}.detail-value{color:#fff;font-size:1.2rem;font-weight:700}.weather-footer-timestamp{text-align:center;color:#94a3b8;margin-top:10px;margin-bottom:25px;font-size:.75rem}.weather-admin-panel{background:#00000040;border:1px dashed #fff3;border-radius:16px;margin-top:25px;padding:20px}.admin-title{color:#ff9800;margin:0 0 5px;font-size:1.05rem;font-weight:700}.admin-desc{color:#cbd5e1;margin:0 0 15px;font-size:.8rem}.admin-buttons-row{flex-wrap:wrap;gap:12px;display:flex}.weather-btn{cursor:pointer;border:none;border-radius:8px;outline:none;padding:8px 16px;font-size:.85rem;font-weight:700;transition:all .2s;display:inline-block}.weather-btn-primary{color:#fff;background-color:#3ca2e0}.weather-btn-primary:hover{background-color:#2980b9;transform:translateY(-1px)}.weather-btn-secondary{color:#fff;background-color:#ffffff26;border:1px solid #ffffff40}.weather-btn-secondary:hover{background-color:#ffffff40;transform:translateY(-1px)}.weather-btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.weather-error-card{text-align:center;background:#f443361a;border:1px solid #f443364d;border-radius:16px;margin:20px 0;padding:30px}.error-text{color:#ff8a80;margin:0;font-weight:600}.skeleton-weather-header{flex-direction:column;align-items:center;margin-bottom:20px;display:flex}@media (width<=1023px){.weather-dashboard-container{padding:20px 5px}.weather-location-header{margin-bottom:10px}.weather-summary-card{margin-bottom:10px;padding:10px 5px}.weather-main-row{margin-bottom:10px}.weather-section-card{margin-bottom:10px;padding:10px 4px}.hourly-container-wrapper{padding:6px 4px}.hourly-header-col{border-right:1px solid #ffffff26;flex:0 0 32px;margin-right:4px;padding:6px 0}.hourly-header-label{font-size:.65rem}.hourly-header-label.label-time{height:16px;margin-bottom:4px;line-height:16px}.hourly-header-label.label-emoji{height:24px;margin-bottom:4px;line-height:24px}.hourly-header-label.label-temp{height:20px;margin-bottom:4px;line-height:20px}.hourly-header-label.label-pop{height:14px;margin-bottom:2px;line-height:14px}.hourly-header-label.label-precip{height:14px;margin-bottom:4px;line-height:14px}.hourly-header-label.label-wind{height:24px;line-height:24px}.hourly-scroll-container{gap:4px}.hourly-item{border-radius:6px;flex:0 0 38px;padding:6px 2px}.hourly-time-label{height:16px;margin-bottom:4px;font-size:.65rem;line-height:16px}.hourly-emoji{height:24px;margin-bottom:4px;font-size:1.2rem;line-height:24px}.hourly-temp{height:20px;margin-bottom:4px;font-size:.8rem;line-height:20px}.hourly-pop{height:14px;margin-bottom:2px;font-size:.65rem;line-height:14px}.hourly-precip{height:14px;margin-bottom:4px;font-size:.6rem;line-height:14px}.hourly-wind{flex-direction:column;height:24px;font-size:.55rem;line-height:12px}.wind-dir,.wind-spd{font-size:.55rem}.weather-grid-two-cols{grid-template-columns:1fr;gap:15px}.weather-grid-four-cols{grid-template-columns:1fr 1fr;margin-bottom:10px}.weather-footer-timestamp{margin-bottom:10px}.weather-error-card{margin:10px 0}.skeleton-weather-header{margin-bottom:10px}.index-item-row{flex-direction:column;align-items:flex-start;gap:8px}.index-meta-col{flex-direction:row;justify-content:space-between;align-items:center;width:100%}.weather-main-row{gap:15px}.weather-large-emoji{font-size:3.5rem}.current-temp{font-size:3rem}.weather-condition-text{text-align:center;border-top:1px solid #fff3;border-left:none;width:100%;padding-top:10px;padding-left:0;font-size:1.4rem}.guide-status-row{flex-direction:column;align-items:flex-start;gap:12px}}.weather-notification-guide-card{-webkit-backdrop-filter:blur(10px);color:#fff;background:#ffffff14;border:1px solid #ffffff26;border-radius:16px;flex-direction:column;gap:10px;margin-bottom:20px;padding:15px 20px;display:flex;box-shadow:0 4px 15px #0000001a}.guide-header{align-items:center;gap:8px;display:flex}.guide-icon{font-size:1.2rem}.weather-dashboard-container .guide-title{font-size:1.05rem;font-weight:700;color:#fff!important}.guide-body{flex-direction:column;gap:8px;display:flex}.guide-desc{color:#fff;margin:0;font-size:.85rem;line-height:1.4}.guide-status-row{flex-wrap:wrap;gap:20px;margin:5px 0;display:flex}.status-item{white-space:nowrap;align-items:center;gap:8px;font-size:.85rem;transition:opacity .2s;display:flex}.status-item-off{opacity:.7}.status-label{color:#fff;white-space:nowrap}.status-badge{white-space:nowrap;border-radius:12px;padding:2px 8px;font-size:.8rem;font-weight:600}.status-badge.status-on{color:#81c784;background:#4caf5026;border:1px solid #4caf504d}.status-badge.status-off{color:#94a3b8;background:#ffffff0d;border:1px solid #ffffff1a}.guide-toggle-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#ffffff26;border:1px solid #ffffff40;border-radius:6px;margin-left:5px;padding:4px 10px;font-size:.75rem;font-weight:600;transition:all .2s}.guide-toggle-btn:hover{background:#ffffff4d;border-color:#fff6}.guide-toggle-btn.btn-on{background:#3ca2e0;border-color:#3ca2e0}.guide-toggle-btn.btn-on:hover{background:#2980b9;border-color:#2980b9}.guide-toggle-btn.btn-off{color:#ef9a9a;background:#f4433626;border-color:#f443364d}.guide-toggle-btn.btn-off:hover{background:#f443364d;border-color:#f4433680}.guide-tip{color:#fca5a5;margin:5px 0 0;font-size:.75rem;line-height:1.3}.guide-action{gap:10px;margin-top:5px;display:flex}.guide-btn{color:#fff;cursor:pointer;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;align-items:center;gap:5px;padding:8px 16px;font-size:.85rem;font-weight:600;transition:all .2s;display:inline-flex}.guide-btn:hover{background:#fff3;border-color:#ffffff4d}.guide-btn-primary{background:#3ca2e0;border:none}.guide-btn-primary:hover{background:#2980b9}.schedule-page-container{box-sizing:border-box;max-width:600px;margin:0 auto;padding:1.5rem 1rem}.schedule-header{align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.back-btn-large{color:#334155;cursor:pointer;background-color:#f1f5f9;border:1px solid #cbd5e1;border-radius:1.5rem;align-items:center;gap:.3rem;padding:.5rem 1rem;font-size:1.1rem;font-weight:800;display:flex;box-shadow:0 2px 4px #0000000d}.back-btn-large:active{background-color:#e2e8f0}.schedule-page-title{color:#1e293b;align-items:center;gap:.5rem;margin:0;font-size:1.6rem;font-weight:900;display:flex}.title-icon{color:#2e86de}.schedule-info-banner{color:#166534;text-align:left;background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:1rem;gap:.75rem;margin-bottom:1.5rem;padding:1rem;font-size:1.05rem;line-height:1.5;display:flex}.info-icon{color:#15803d;flex-shrink:0;margin-top:.2rem}.schedule-list{flex-direction:column;gap:1.25rem;display:flex}.schedule-card{background-color:#fff;border:2px solid #e2e8f0;border-radius:1.25rem;transition:transform .2s;display:flex;overflow:hidden;box-shadow:0 4px 10px #0000000d}.schedule-card:hover{transform:translateY(-2px)}.category-cleanup{border-color:#84cc16}.category-meeting{border-color:#f97316}.category-festival{border-color:#f43f5e}.category-drill{border-color:#3b82f6}.category-other{border-color:#64748b}.schedule-month-badge{background-color:#f8fafc;border-right:2px solid #e2e8f0;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:5.5rem;display:flex}.category-cleanup .schedule-month-badge{background-color:#f7fee7;border-right-color:#d9f99d}.category-meeting .schedule-month-badge{background-color:#fff7ed;border-right-color:#ffedd5}.category-festival .schedule-month-badge{background-color:#fff1f2;border-right-color:#ffe4e6}.category-drill .schedule-month-badge{background-color:#eff6ff;border-right-color:#dbeafe}.category-other .schedule-month-badge{background-color:#f8fafc;border-right-color:#e2e8f0}.month-number{color:#1e293b;font-size:2.2rem;font-weight:900;line-height:1}.month-label{color:#64748b;margin-top:.2rem;font-size:1rem;font-weight:800}.schedule-content{text-align:left;flex-grow:1;padding:1.1rem 1.25rem}.schedule-title-row{align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.schedule-emoji{font-size:1.4rem}.schedule-event-title{color:#0f172a;margin:0;font-size:1.3rem;font-weight:900}.schedule-date-text{color:#475569;margin:0 0 .5rem;font-size:1.05rem;line-height:1.4}.schedule-description{color:#64748b;margin:0;font-size:1rem;line-height:1.5}.pr-page-container{box-sizing:border-box;max-width:600px;margin:0 auto;padding:1.5rem 1rem}.pr-header{align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.pr-page-title{color:#1e293b;align-items:center;gap:.5rem;margin:0;font-size:1.6rem;font-weight:900;display:flex}.pr-page-title .title-icon{color:#16a34a}.pr-card-main{text-align:center;box-sizing:border-box;background-color:#fff;border:2px solid #bbf7d0;border-radius:1.5rem;margin-bottom:1.5rem;padding:2rem 1.5rem;box-shadow:0 4px 15px #16a34a0d}.pr-mascot-row{justify-content:center;align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}.pr-badge-tag{color:#15803d;background-color:#dcfce7;border-radius:1rem;padding:.3rem .8rem;font-size:.9rem;font-weight:800}.pr-emoji{font-size:2.2rem}.pr-card-title{color:#0f172a;margin:0 0 1rem;font-size:1.6rem;font-weight:900}.pr-card-desc{color:#475569;text-align:left;margin:0 0 2rem;font-size:1.1rem;line-height:1.6}.pr-open-btn{color:#fff;cursor:pointer;box-sizing:border-box;background:linear-gradient(135deg,#22c55e 0%,#15803d 100%);border:none;border-bottom:.35rem solid #14532d;border-radius:1.25rem;justify-content:center;align-items:center;gap:.75rem;width:100%;padding:1.1rem 1.5rem;font-size:1.35rem;font-weight:900;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 4px 12px #16a34a4d}.pr-open-btn:hover{transform:translateY(-2px);box-shadow:0 6px 15px #16a34a66}.pr-open-btn:active{border-bottom-width:.1rem;transform:translateY(2px);box-shadow:0 2px 6px #16a34a33}.pr-guide-box{text-align:left;box-sizing:border-box;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:1.25rem;padding:1.25rem}.guide-title{color:#334155;align-items:center;gap:.5rem;margin:0 0 .75rem;font-size:1.15rem;font-weight:800;display:flex}.guide-icon{color:#64748b}.guide-list{color:#475569;margin:0;padding-left:1.25rem;font-size:1rem;line-height:1.6}.guide-list li{margin-bottom:.6rem}.guide-list li:last-child{margin-bottom:0}.terms-container{max-width:800px;margin:0 auto;padding:20px 10px}@media (width<=1023px){.terms-container{padding:10px 4px}}.terms-header{align-items:center;gap:12px;margin-bottom:20px;display:flex}.terms-back-btn{color:#555;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #ddd;border-radius:20px;padding:6px 14px;font-size:.85rem;transition:background .2s}.terms-back-btn:hover{background:#f1f5f9}.terms-title{color:#333;margin:0;font-size:1.3rem}.terms-tabs{border-bottom:2px solid #e2e8f0;gap:0;margin-bottom:20px;display:flex}.terms-tab-btn{color:#777;cursor:pointer;background:0 0;border:none;border-bottom:3px solid #0000;margin-bottom:-2px;padding:10px 20px;font-size:.95rem;font-weight:500;transition:color .2s,border-color .2s}.terms-tab-btn:hover{color:#1976d2}.terms-tab-btn.active{color:#1976d2;border-bottom-color:#1976d2;font-weight:700}.terms-content{background:#fff;border:1px solid #eef0f2;border-radius:12px;min-height:300px;padding:24px;box-shadow:0 2px 8px #0000000a}.terms-loading{text-align:center;color:#666;padding:40px}.terms-loading .spinner{border:4px solid #0000001a;border-left-color:#1976d2;border-radius:50%;width:36px;height:36px;margin:0 auto 15px;animation:1s linear infinite spin}.terms-error{color:#856404;background:#fff3cd;border:1px solid #ffeeba;border-radius:8px;padding:12px 16px;font-size:.9rem}.terms-markdown{color:#333;font-size:.95rem;line-height:1.75}.terms-markdown h1{border-bottom:2px solid #e2e8f0;margin-bottom:16px;padding-bottom:8px;font-size:1.4rem}.terms-markdown h2{color:#1976d2;margin-top:28px;margin-bottom:10px;font-size:1.15rem}.terms-markdown h3{color:#444;margin-top:20px;font-size:1rem}.terms-markdown table{font-size:.88rem}.kofun-map-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;margin-top:1.25rem;display:flex;overflow:hidden;box-shadow:0 4px 14px #0f172a0d}.kofun-map-card.compact{margin-top:.9rem}.map-card-header{background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.85rem 1.1rem;display:flex}.map-card-title-row{align-items:center;gap:.45rem;display:flex}.map-icon-badge{color:#059669;background:#ecfdf5;border-radius:8px;justify-content:center;align-items:center;width:26px;height:26px;display:inline-flex}.map-card-heading{color:#1e293b;font-size:.95rem;font-weight:700}.map-distance-badge{color:#065f46;background:#d1fae5;border:1px solid #a7f3d0;border-radius:20px;align-items:center;gap:.3rem;padding:.2rem .55rem;font-size:.78rem;font-weight:600;display:inline-flex}.map-tabs{background:#f1f5f9;border-bottom:1px solid #e2e8f0;gap:4px;padding:4px;display:flex}.map-tab-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:.35rem;padding:.45rem .6rem;font-size:.82rem;font-weight:600;transition:all .2s;display:inline-flex}.map-tab-btn:hover{color:#0f172a}.map-tab-btn.active{color:#0f172a;background:#fff;box-shadow:0 1px 4px #00000014}.map-viewport-container{background:#f8fafc;width:100%;height:220px;position:relative;overflow:hidden}.osm-frame-wrapper{width:100%;height:100%;position:relative}.osm-iframe{border:none;width:100%;height:100%;display:block}.osm-frame-wrapper.locked .osm-iframe{pointer-events:none}.osm-frame-wrapper.interactive .osm-iframe{pointer-events:auto}.map-interaction-overlay{cursor:pointer;background:#0f172a0a;justify-content:center;align-items:flex-end;padding-bottom:10px;transition:background .2s;display:flex;position:absolute;inset:0}.map-interaction-overlay:hover{background:#0f172a1a}.interaction-hint{color:#1e293b;background:#fffffff2;border:1px solid #cbd5e1;border-radius:20px;align-items:center;gap:.35rem;padding:.3rem .75rem;font-size:.75rem;font-weight:600;display:inline-flex;box-shadow:0 2px 8px #00000026}.area-map-wrapper{flex-direction:column;width:100%;height:100%;display:flex;position:relative}.area-map-svg{object-fit:cover;width:100%;height:100%;display:block}.area-map-caption{text-align:center;color:#64748b;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffd9;padding:2px 6px;font-size:.7rem;position:absolute;bottom:4px;left:0;right:0}@keyframes mapPulse{0%{r:12px;opacity:.9}70%{r:26px;opacity:0}to{r:26px;opacity:0}}.pulse-circle{animation:2s cubic-bezier(.24,0,.38,1) infinite mapPulse}.river-flow-path{animation:2.4s linear infinite riverFlow}@keyframes riverFlow{0%{stroke-dashoffset:0}to{stroke-dashoffset:-36px}}.map-info-list{background:#fff;border-top:1px solid #f1f5f9;flex-direction:column;gap:.5rem;padding:.85rem 1.1rem;display:flex}.map-info-row{grid-template-columns:80px 1fr;align-items:baseline;gap:.5rem;font-size:.84rem;display:grid}.map-info-label{color:#64748b;align-items:center;gap:.25rem;font-size:.8rem;font-weight:600;display:inline-flex}.info-icon{font-size:.85rem}.map-info-value{color:#1e293b;font-weight:500;line-height:1.45}.map-actions-row{background:#f8fafc;border-top:1px solid #e2e8f0;gap:.5rem;padding:.75rem 1.1rem;display:flex}.btn-google-nav{color:#fff;letter-spacing:.02em;background:linear-gradient(135deg,#059669 0%,#047857 100%);border-radius:12px;flex:2;justify-content:center;align-items:center;gap:.45rem;min-height:46px;padding:.75rem 1rem;font-size:.92rem;font-weight:800;text-decoration:none;transition:all .2s;display:inline-flex;box-shadow:0 3px 8px #05966947}.btn-google-nav:hover{background:linear-gradient(135deg,#047857 0%,#065f46 100%);transform:translateY(-1px);box-shadow:0 5px 12px #05966961}.nav-ext-icon{opacity:.85}.btn-copy-address{color:#1e293b;cursor:pointer;background:#fff;border:1.5px solid #cbd5e1;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:.35rem;min-height:46px;padding:.75rem;font-size:.86rem;font-weight:700;transition:all .2s;display:inline-flex}.btn-copy-address:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}@media (width<=640px){.kofun-map-card{border-radius:10px;margin-top:.65rem}.map-card-header{padding:.55rem .6rem}.map-card-heading{font-size:.88rem}.map-distance-badge{padding:.15rem .45rem;font-size:.74rem}.map-tab-btn{padding:.4rem .5rem;font-size:.78rem}.map-viewport-container{height:195px}.map-info-list{gap:.4rem;padding:.6rem .55rem}.map-info-row{grid-template-columns:72px 1fr;font-size:.82rem}.map-info-label{font-size:.76rem}.map-info-value{font-size:.82rem}.map-actions-row{gap:.4rem;padding:.55rem}.btn-google-nav{min-height:46px;padding:.65rem .6rem;font-size:.88rem}.btn-copy-address{min-height:46px;padding:.65rem .45rem;font-size:.8rem}}.sekijin-svg{overflow:visible}.sj-eyes{transform-box:fill-box;transform-origin:50%}.sj-idle .sj-eyes,.sj-happy .sj-eyes{animation:5.2s infinite sjBlink}@keyframes sjBlink{0%,91%,to{transform:scaleY(1)}94%{transform:scaleY(.08)}}.sj-eye-glow{transform-box:fill-box;transform-origin:50%;animation:.32s ease-in-out infinite alternate sjEyeGlow}@keyframes sjEyeGlow{0%{opacity:.55;transform:scale(.8)}to{opacity:1;transform:scale(1.25)}}.sj-mouth-talk{transform-box:fill-box;transform-origin:50%;animation:.26s ease-in-out infinite alternate sjMouthFlap}@keyframes sjMouthFlap{0%{transform:scaleY(.35)scaleX(.85)}to{transform:scaleY(1.2)scaleX(1.12)}}.sj-arm{transform-box:view-box}.sj-arm-left{transform-origin:46px 102px}.sj-arm-right{transform-origin:114px 102px}.sj-charging .sj-arm-left{animation:.2s ease-in-out infinite alternate sjArmCheerL}.sj-charging .sj-arm-right{animation:.2s ease-in-out infinite alternate sjArmCheerR}@keyframes sjArmCheerL{0%{transform:rotate(2deg)}to{transform:rotate(14deg)}}@keyframes sjArmCheerR{0%{transform:rotate(-2deg)}to{transform:rotate(-14deg)}}.sj-happy .sj-arm-left,.sj-lucky .sj-arm-left{animation:1.1s ease-in-out infinite alternate sjArmBanzaiL}.sj-happy .sj-arm-right,.sj-lucky .sj-arm-right{animation:1.1s ease-in-out infinite alternate sjArmBanzaiR}@keyframes sjArmBanzaiL{0%{transform:rotate(0)}to{transform:rotate(10deg)}}@keyframes sjArmBanzaiR{0%{transform:rotate(-10deg)}to{transform:rotate(0)}}.sj-twinkle{transform-box:fill-box;transform-origin:50%;animation:1.6s ease-in-out infinite sjTwinkle}@keyframes sjTwinkle{0%,to{opacity:0;transform:scale(.2)rotate(0)}50%{opacity:1;transform:scale(1.2)rotate(45deg)}}@media (prefers-reduced-motion:reduce){.sj-eyes,.sj-eye-glow,.sj-arm,.sj-twinkle{animation:none!important}}.quiz-modal-backdrop{-webkit-backdrop-filter:blur(8px);z-index:3000;padding-top:max(24px, env(safe-area-inset-top,24px));padding-bottom:max(60px, calc(env(safe-area-inset-bottom,24px) + 36px));padding-left:max(12px, env(safe-area-inset-left,12px));padding-right:max(12px, env(safe-area-inset-right,12px));-webkit-overflow-scrolling:touch;background-color:#0f172ad1;justify-content:center;align-items:center;animation:.25s ease-out quizFadeIn;display:flex;position:fixed;inset:0;overflow-y:auto}@keyframes quizFadeIn{0%{opacity:0}to{opacity:1}}.quiz-modal-card{touch-action:pan-y;background:#fff;border-radius:22px;flex-direction:column;width:100%;max-width:580px;max-height:min(84vh,100dvh - 88px);margin:auto;animation:.3s cubic-bezier(.16,1,.3,1) quizSlideUp;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #0006,0 0 0 1px #0000001a}@keyframes quizSlideUp{0%{opacity:0;transform:translateY(20px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.quiz-modal-header{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);border-bottom:2px solid #f59e0b;flex-shrink:0;justify-content:space-between;align-items:center;gap:.45rem;padding:.7rem .9rem;display:flex}.quiz-badge-wrap{align-items:center;gap:.45rem;min-width:0;line-height:1.5;display:flex}.quiz-stage-pill{color:#fff;letter-spacing:.04em;background:#d97706;border-radius:9999px;flex-shrink:0;align-items:center;gap:.25rem;padding:.2rem .55rem;font-size:.72rem;font-weight:900;line-height:1.4;display:inline-flex}.quiz-title-text{color:#78350f;white-space:nowrap;text-overflow:ellipsis;font-size:.93rem;font-weight:900;line-height:1.5;overflow:hidden}.quiz-close-btn{color:#92400e;cursor:pointer;background:0 0;border:none;border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;padding:.35rem;transition:background-color .15s;display:flex}.quiz-close-btn:hover{background:#92400e1f}.quiz-completion-overview{background:#f8fafc;border-bottom:1.5px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;gap:.4rem;padding:.45rem .85rem;display:flex}.overview-stats-row{white-space:nowrap;flex:1;align-items:center;gap:.65rem;min-width:0;line-height:1.5;display:flex}.completion-stat-chip{color:#334155;white-space:nowrap;flex-shrink:0;align-items:center;gap:.25rem;font-size:.78rem;font-weight:800;display:inline-flex}.stat-chip-label{color:#64748b;white-space:nowrap}.stat-chip-num{color:#0f172a;white-space:nowrap;font-weight:900}.completion-stat-chip.quiz-stat .stat-chip-num{color:#d97706}.quiz-current-mode-tag{flex-shrink:0}.mode-tag-pill{white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:9999px;align-items:center;gap:.25rem;padding:.2rem .55rem;font-size:.72rem;font-weight:900;transition:all .15s;display:inline-flex}.mode-tag-pill:hover{transform:translateY(-1px)}.mode-tag-pill.kids{color:#92400e;background:#fef3c7;border:1px solid #fcd34d}.mode-tag-pill.adult{color:#334155;background:#f1f5f9;border:1px solid #cbd5e1}.chest-gacha-stage{background:radial-gradient(circle,#fffbeb 0%,#fef3c7 60%,#fde68a 100%);flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:360px;padding:1.2rem 1rem;animation:.3s ease-out quizFadeIn;display:flex;position:relative;overflow:hidden}.chest-sekijin-speech{background:#fffffff2;border:2px solid #f59e0b;border-radius:18px;align-items:center;gap:.75rem;width:100%;max-width:440px;padding:.65rem .95rem;display:flex;box-shadow:0 4px 12px #d9770626}.speech-avatar{flex-shrink:0;justify-content:center;align-items:center;display:flex}.speech-bubble-chest{flex:1}.speech-bubble-chest .speech-text{color:#78350f;margin:0;font-size:.86rem;font-weight:700;line-height:1.45}.speech-bubble-chest strong{color:#b45309}.chest-center-display{justify-content:center;align-items:center;margin:.4rem 0;display:flex}.ancient-chest-wrapper{cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;outline:none;justify-content:center;align-items:center;width:170px;height:170px;display:flex;position:relative}.ancient-chest-wrapper.phase-intro{animation:2.6s ease-in-out infinite chestWobble}@keyframes chestWobble{0%,to{transform:translateY(0)rotate(0)scale(1)}20%{transform:translateY(-8px)rotate(-3deg)scale(1.02)}40%{transform:translateY(2px)rotate(3deg)scale(1.03)}60%{transform:translateY(-6px)rotate(-2deg)scale(1.02)}80%{transform:translateY(1px)rotate(2deg)scale(1.01)}}.ancient-chest-wrapper.phase-intro:hover{transform:scale(1.06)}.ancient-chest-wrapper.phase-cracking{animation:80ms linear infinite chestCrackShake}@keyframes chestCrackShake{0%{transform:translate(-4px,3px)rotate(-3deg)}25%{transform:translate(4px,-3px)rotate(3deg)}50%{transform:translate(-3px,-4px)rotate(-2deg)}75%{transform:translate(3px,4px)rotate(2deg)}to{transform:translate(0)rotate(0)}}.ancient-chest-wrapper.phase-opening .chest-lid-group{animation:1.3s cubic-bezier(.16,1,.3,1) forwards chestLidPopOpen}@keyframes chestLidPopOpen{0%{transform:translateY(0)rotate(0)}to{transform:translateY(-50px)rotate(-14deg)}}.ancient-chest-wrapper.phase-revealing .chest-lid-group{opacity:.2;transition:all 1s ease-out;transform:translateY(-70px)rotate(-16deg)scale(.85)}.ancient-chest-wrapper.phase-revealing .chest-base-group{opacity:.25;transition:all 1s ease-out;transform:translateY(35px)scale(.9)}.chest-emerging-card{z-index:20;pointer-events:none;width:250px;animation:1.7s cubic-bezier(.16,1,.3,1) forwards cardEmergeZoom;position:absolute}@keyframes cardEmergeZoom{0%{opacity:0;filter:blur(8px)brightness(2.5);transform:scale(.15)rotate(-22deg)}50%{opacity:1;filter:blur()brightness(1.3);transform:scale(1.12)rotate(4deg)}75%{opacity:1;filter:brightness(1.1);transform:scale(.97)rotate(-1deg)}to{opacity:1;filter:brightness();transform:scale(1.02)rotate(0)}}.emerging-card-inner{text-align:center;background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 50%,#fde68a 100%);border:2.5px solid #d97706;border-radius:18px;flex-direction:column;align-items:center;gap:.45rem;padding:1.2rem 1rem;display:flex;box-shadow:0 16px 36px #d9770666,0 0 24px #facc1599}.emerging-sparkle-spin{animation:3s linear infinite raySpin}.emerging-badge{color:#fff;letter-spacing:.05em;background:#d97706;border-radius:9999px;padding:.2rem .65rem;font-size:.76rem;font-weight:900}.emerging-title{color:#78350f;font-size:1.05rem;font-weight:900;line-height:1.35}.emerging-sub{color:#b45309;font-size:.76rem;font-weight:700}.ancient-chest-svg{width:100%;height:100%;overflow:visible}.chest-halo-back{animation:2s ease-in-out infinite alternate haloPulse}@keyframes haloPulse{0%{opacity:.5;transform:scale(.9)}to{opacity:.9;transform:scale(1.2)}}.chest-crack-glow{filter:drop-shadow(0 0 8px #fff)drop-shadow(0 0 16px #fde047);animation:.12s ease-in-out infinite alternate crackFlicker}@keyframes crackFlicker{0%{opacity:.6}to{opacity:1}}.chest-burst-rays{pointer-events:none;justify-content:center;align-items:center;animation:2.4s linear infinite raySpin;display:flex;position:absolute;inset:-70px}@keyframes raySpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ray-ring{border:5px solid #fef08af2;border-radius:9999px;width:200px;height:200px;animation:.9s ease-out forwards ringExpand;position:absolute;box-shadow:0 0 30px #facc15cc}@keyframes ringExpand{0%{opacity:1;transform:scale(.3)}to{opacity:0;transform:scale(2)}}.ray-beam{filter:drop-shadow(0 0 6px #fde047);background:linear-gradient(#0000,#fef08af2);border-radius:9999px;width:7px;height:260px;position:absolute}.ray-core-glow{background:radial-gradient(circle,#fff 0%,#fde047cc 50%,#0000 75%);border-radius:9999px;width:100px;height:100px;animation:.8s ease-out infinite alternate coreGlowPulse;position:absolute}@keyframes coreGlowPulse{0%{opacity:.7;transform:scale(.8)}to{opacity:1;transform:scale(1.4)}}.chest-tap-hint{color:#fff;background:linear-gradient(135deg,#d97706 0%,#b45309 100%);border-radius:9999px;align-items:center;gap:.4rem;padding:.38rem .9rem;font-size:.84rem;font-weight:900;animation:1.2s ease-in-out infinite tapHintHop;display:flex;position:absolute;bottom:-32px;box-shadow:0 6px 14px #b4530959}@keyframes tapHintHop{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}.tap-hand-icon{font-size:1.15rem}.btn-skip-chest-anim{color:#475569;cursor:pointer;background:#ffffffd9;border:1.5px solid #cbd5e1;border-radius:9999px;align-items:center;gap:.35rem;margin-top:1.4rem;padding:.45rem 1rem;font-size:.8rem;font-weight:800;transition:all .15s;display:inline-flex;box-shadow:0 2px 4px #0000000d}.btn-skip-chest-anim:hover{color:#0f172a;background:#fff;border-color:#94a3b8;transform:translateY(-1px)}.quiz-body{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y;flex-direction:column;gap:1rem;padding:.9rem 1.1rem 3rem;animation:.75s cubic-bezier(.16,1,.3,1) both quizCardLand;display:flex;overflow-y:auto}@keyframes quizCardLand{0%{opacity:0;filter:brightness(1.25);transform:scale(.94)translateY(24px)}60%{opacity:1;transform:scale(1.01)translateY(-2px)}to{opacity:1;filter:brightness();transform:scale(1)translateY(0)}}.quiz-progress-bar-wrap{flex-direction:column;gap:.35rem;display:flex}.quiz-progress-info{color:#64748b;justify-content:space-between;font-size:.85rem;font-weight:800;display:flex}.quiz-progress-track{background:#f1f5f9;border-radius:9999px;width:100%;height:8px;overflow:hidden}.quiz-progress-fill{background:linear-gradient(90deg,#f59e0b,#10b981);border-radius:9999px;height:100%;transition:width .3s}.quiz-question-box{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:16px;padding:1.2rem}.quiz-q-label{color:#0284c7;align-items:center;gap:.4rem;margin-bottom:.4rem;font-size:.85rem;font-weight:900;display:flex}.quiz-question-text{color:#1e293b;margin:0 0 .6rem;font-size:1.15rem;font-weight:900;line-height:1.5}.quiz-hint-text{color:#d97706;background:#fef3c7;border-radius:8px;margin:0;padding:.4rem .8rem;font-size:.82rem;font-weight:700}.quiz-options-grid{flex-direction:column;gap:.75rem;display:flex}.quiz-option-btn{color:#1e293b;text-align:left;cursor:pointer;touch-action:manipulation;background:#fff;border:2px solid #cbd5e1;border-radius:14px;align-items:center;gap:.9rem;padding:.75rem 1rem;font-size:.96rem;font-weight:800;transition:all .15s;display:flex;position:relative}.quiz-option-btn:hover:not(:disabled){background:#f0f9ff;border-color:#3b82f6;transform:translateY(-2px);box-shadow:0 4px 6px -1px #3b82f626}.option-num{color:#475569;background:#e2e8f0;border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.9rem;font-weight:900;display:flex}.option-label{flex:1}.quiz-option-btn.option-correct{color:#065f46;background:#ecfdf5;border-color:#10b981}.quiz-option-btn.option-correct .option-num{color:#fff;background:#10b981}.option-icon-correct{color:#10b981;flex-shrink:0}.quiz-option-btn.option-wrong{color:#991b1b;background:#fef2f2;border-color:#ef4444}.quiz-option-btn.option-wrong .option-num{color:#fff;background:#ef4444}.option-icon-wrong{color:#ef4444;flex-shrink:0}.quiz-option-btn.option-disabled{opacity:.6;border-color:#e2e8f0}.quiz-feedback-box{border-radius:16px;flex-direction:column;gap:.9rem;padding:1.2rem;animation:.25s ease-out quizSlideUp;display:flex}.quiz-feedback-box.correct{background:#ecfdf5;border:1.5px solid #a7f3d0}.quiz-feedback-box.wrong{background:#fff7ed;border:1.5px solid #fed7aa}.feedback-result-banner{align-items:center;display:flex}.feedback-badge{border-radius:9999px;align-items:center;gap:.4rem;padding:.35rem .8rem;font-size:1.05rem;font-weight:900;display:inline-flex}.feedback-badge.correct{color:#fff;background:#059669}.feedback-badge.wrong{color:#fff;background:#ea580c}.feedback-explanation{color:#334155;margin:0;font-size:.92rem;font-weight:600;line-height:1.6}.quiz-char-comments{flex-direction:column;gap:.6rem;display:flex}.char-comment-bubble{border-radius:12px;flex-direction:column;gap:.25rem;padding:.75rem .95rem;display:flex}.char-comment-bubble.agasa-bubble{background:#fff;border:1.5px solid #e0e7ff}.char-badge.agasa{color:#4338ca;font-size:.78rem;font-weight:900}.char-comment-bubble.sekijin-bubble-quiz{background:#fff;border:1.5px solid #d1fae5}.char-badge.sekijin{color:#047857;font-size:.78rem;font-weight:900}.char-comment-bubble.fact-bubble{background:#fff;border:1.5px solid #fed7aa}.char-badge.fact{color:#c2410c;font-size:.78rem;font-weight:900}.char-text{color:#1e293b;margin:0;font-size:.88rem;font-weight:700;line-height:1.5}.quiz-btn-next{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:12px;justify-content:center;align-items:center;gap:.5rem;margin-top:.4rem;padding:.85rem 1.4rem;font-size:1rem;font-weight:800;transition:transform .15s;display:inline-flex;box-shadow:0 4px 6px -1px #2563eb4d}.quiz-btn-next:hover{transform:translateY(-2px)}.quiz-result-view{text-align:center;flex-direction:column;align-items:center;gap:1.2rem;padding:1.8rem 1.4rem;display:flex;overflow-y:auto}.trophy-gold-anim{animation:1s ease-in-out infinite alternate bounceTrophy}@keyframes bounceTrophy{0%{transform:translateY(0)scale(1)}to{transform:translateY(-6px)scale(1.08)}}.result-main-title{color:#1e293b;margin:0;font-size:1.35rem;font-weight:900}.result-score-chip{color:#334155;background:#f1f5f9;border:1.5px solid #cbd5e1;border-radius:9999px;padding:.4rem 1.1rem;font-size:1rem;font-weight:800}.result-score-chip .score-num{color:#d97706;font-size:1.3rem;font-weight:900}.result-collection-progress{text-align:left;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:.4rem;width:100%;padding:.9rem 1.1rem;display:flex}.result-progress-header{color:#334155;justify-content:space-between;align-items:center;font-size:.86rem;font-weight:800;display:flex}.result-progress-header span:first-child{align-items:center;gap:.35rem;display:flex}.result-progress-ratio{color:#d97706;font-weight:900}.result-progress-bar{background:#e2e8f0;border-radius:9999px;width:100%;height:8px;overflow:hidden}.result-progress-fill{background:linear-gradient(90deg,#f59e0b,#10b981);border-radius:9999px;height:100%;transition:width .4s}.result-progress-hint{color:#475569;margin:0;padding-top:.2rem;font-size:.82rem;font-weight:600;line-height:1.8}.quiz-certificate-card{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:3px double #d97706;border-radius:16px;width:100%;padding:.75rem;transition:box-shadow .3s,border-color .3s;position:relative;overflow:hidden;box-shadow:0 10px 15px -3px #d9770626}.quiz-certificate-card:after{content:"";width:220%;height:220%;animation:certShimmerGleam var(--cert-shimmer-dur,6s) infinite ease-in-out;pointer-events:none;z-index:2;background:linear-gradient(60deg,#fff0 30%,#ffffff8c 46%,#fef08ab3 50%,#ffffff8c 54%,#fff0 70%);position:absolute;top:-60%;left:-60%;transform:rotate(30deg)translateY(-130%)}@keyframes certShimmerGleam{0%,70%{opacity:0;transform:rotate(30deg)translateY(-130%)}75%{opacity:1}to{opacity:0;transform:rotate(30deg)translateY(130%)}}.quiz-certificate-card.cert-tier-1:after{background:linear-gradient(60deg,#fff0 35%,#ffffff73 50%,#fff0 65%)}.quiz-certificate-card.cert-tier-2{box-shadow:0 10px 18px -3px #d9770633}.quiz-certificate-card.cert-tier-2:after{background:linear-gradient(60deg,#fff0 32%,#ffffff8c 48%,#fde04799 52%,#fff0 68%)}.quiz-certificate-card.cert-tier-3{border-color:#b45309;box-shadow:0 10px 20px -3px #d9770640,0 0 14px #f59e0b2e}.quiz-certificate-card.cert-tier-3:after{background:linear-gradient(60deg,#fff0 28%,#ffffffa6 44%,#fde047bf 50%,#ffffffa6 56%,#fff0 72%)}.quiz-certificate-card.cert-tier-4{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 60%,#fde68a 100%);border-color:#d97706;box-shadow:0 12px 24px -3px #d977064d,0 0 22px #f59e0b4d}.quiz-certificate-card.cert-tier-4:after{background:linear-gradient(60deg,#fff0 24%,#fffc 42%,#facc15e6 50%,#fffc 58%,#fff0 76%)}.cert-border-inner{z-index:3;border:1.5px dashed #b45309;border-radius:12px;flex-direction:column;gap:.75rem;padding:1.2rem 1rem;display:flex;position:relative}.cert-badge{color:#b45309;letter-spacing:.05em;align-items:center;gap:.35rem;font-size:.88rem;font-weight:900;line-height:1.6;display:inline-flex}.cert-badge-crown{color:#d97706;display:inline-flex}.cert-badge-award{color:#b45309;display:inline-flex}.cert-rank-pill-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.cert-rank-pill{color:#fff;letter-spacing:.02em;background:linear-gradient(135deg,#d97706 0%,#b45309 100%);border-radius:9999px;align-items:center;gap:.25rem;padding:.2rem .65rem;font-size:.78rem;font-weight:900;display:inline-flex;box-shadow:0 2px 6px #b4530940}.cert-progress-text{color:#92400e;font-size:.8rem;font-weight:700}.quiz-certificate-card.grand-master-cert,.quiz-certificate-card.cert-tier-5{background:linear-gradient(135deg,#fffbeb 0%,#fef08a 40%,#fde047 100%);border:4px double #d97706;position:relative;overflow:hidden;box-shadow:0 0 32px #f59e0b73,0 12px 28px #b4530947}.quiz-certificate-card.grand-master-cert:after,.quiz-certificate-card.cert-tier-5:after{background:linear-gradient(60deg,#fff0 20%,#ffffffd9 40%,#fde047f2 50%,#ffffffd9 60%,#fff0 80%)}.quiz-certificate-card.grand-master-cert:before{content:"";pointer-events:none;background:linear-gradient(45deg,#0000 45%,#fff9 50%,#0000 55%);width:200%;height:200%;animation:4s linear infinite certShine;position:absolute;top:-50%;left:-50%}@keyframes certShine{0%{transform:translate(-100%,-100%)rotate(45deg)}to{transform:translate(100%,100%)rotate(45deg)}}.quiz-certificate-card.grand-master-cert .cert-border-inner{background:#fff9;border:2px solid #b45309}.quiz-certificate-card.grand-master-cert .cert-recipient{color:#78350f;text-shadow:0 1px 2px #fef08acc;font-size:1.4rem}.quiz-certificate-card.grand-master-cert .cert-rank-pill{background:linear-gradient(135deg,#b45309 0%,#78350f 100%);border:1px solid #fde047;padding:.25rem .8rem;font-size:.85rem}.cert-recipient{color:#78350f;text-underline-offset:5px;margin:0;font-size:1.3rem;font-weight:900;line-height:1.7;text-decoration:underline}.cert-body{color:#451a03;margin:0;padding-top:.2rem;font-size:.92rem;font-weight:600;line-height:1.95}.cert-signatures{color:#92400e;border-top:1px solid #b4530933;justify-content:space-around;margin-top:.6rem;padding-top:.5rem;font-size:.82rem;font-weight:800;display:flex}.result-comments-box{text-align:left;flex-direction:column;gap:.6rem;width:100%;display:flex}.result-action-buttons{gap:.8rem;width:100%;margin-top:.5rem;display:flex}.btn-quiz-retry{color:#334155;cursor:pointer;background:#fff;border:2px solid #cbd5e1;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:.4rem;padding:.8rem 1rem;font-size:.95rem;font-weight:800;transition:background-color .15s;display:inline-flex}.btn-quiz-retry:hover{background:#f8fafc}.btn-quiz-finish{color:#fff;cursor:pointer;background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:12px;flex:1;padding:.8rem 1rem;font-size:.95rem;font-weight:800;transition:transform .15s}.btn-quiz-finish:hover{transform:translateY(-2px)}.btn-quiz-finish-single{color:#fff;cursor:pointer;background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:14px;justify-content:center;align-items:center;gap:.5rem;width:100%;margin-top:1.25rem;margin-bottom:2rem;padding:.95rem 1.2rem;font-size:1rem;font-weight:800;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 4px 14px #0596694d}.btn-quiz-finish-single:hover{transform:translateY(-2px);box-shadow:0 6px 18px #05966966}.kofun-ruby-block{ruby-position:over;-webkit-ruby-position:before;ruby-align:center}.kofun-rt-text{color:#b45309;-webkit-user-select:none;user-select:none;letter-spacing:-.01em;font-size:.62em;font-weight:800;line-height:1}.btn-quiz-finish-single .kofun-rt-text,.feedback-badge .kofun-rt-text,.cert-rank-pill .kofun-rt-text,.quiz-stage-pill .kofun-rt-text,.emerging-badge .kofun-rt-text,.chest-tap-hint .kofun-rt-text,.daily-cleared-tag .kofun-rt-text{color:#fef08a}.daily-quiz-header-badge{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.daily-pill{color:#475569;font-size:.84rem;font-weight:800;line-height:1.6}.daily-cleared-tag{color:#fff;background:#059669;border-radius:9999px;padding:.2rem .6rem;font-size:.74rem;font-weight:800;line-height:1.5}.quiz-question-text{padding-top:.25rem;line-height:1.9}.option-label{line-height:1.75}.feedback-explanation{line-height:1.85}@media (width<=480px){.quiz-modal-card{max-height:min(84vh,100dvh - 84px)}.quiz-body,.quiz-result-view{padding:1rem .9rem max(3.5rem, calc(2.2rem + env(safe-area-inset-bottom))) .9rem}.quiz-question-text{font-size:1.05rem;line-height:1.85}.quiz-option-btn{padding:.75rem .85rem;font-size:.92rem}.result-action-buttons{flex-direction:column}}.kofun-omikuji-container{color:#1e293b;max-width:720px;margin:0 auto;padding:1.25rem 1rem 4rem;font-family:inherit}.kofun-header{text-align:center;margin-bottom:1.75rem;position:relative}.kofun-su-badge{color:#92400e;background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);border:1px solid #fcd34d;border-radius:9999px;align-items:center;gap:.35rem;margin-bottom:.6rem;padding:.3rem .85rem;font-size:.75rem;font-weight:800;display:inline-flex;box-shadow:0 2px 6px #f59e0b33}.kofun-title{color:#064e3b;letter-spacing:.04em;text-shadow:0 1px 2px #0000000d;justify-content:center;align-items:center;gap:.6rem;margin:.25rem 0;font-size:1.8rem;font-weight:900;display:flex}.title-sekijin-icon{filter:drop-shadow(0 2px 4px #0000001f);flex-shrink:0}.voice-label-inner{align-items:center;gap:.4rem;display:inline-flex}.voice-sekijin-icon{flex-shrink:0}.karuta-locked-kofun{opacity:.75;transition:transform .2s}.kofun-subtitle{color:#4b5563;margin:0;font-size:.92rem;line-height:1.5}.confetti-container{pointer-events:none;z-index:9999;width:100vw;height:100vh;position:fixed;top:0;left:0;overflow:hidden}.confetti-piece{opacity:.95;border-radius:2px;width:10px;height:16px;animation:linear forwards confettiFall;position:absolute;top:-24px}.confetti-1{background:linear-gradient(135deg,#f59e0b,#fbbf24);border-radius:50%;width:13px;height:13px;box-shadow:0 0 8px #f59e0b99}.confetti-2{background:linear-gradient(135deg,#ef4444,#dc2626);width:8px;height:18px;box-shadow:0 0 6px #ef444480}.confetti-3{background:linear-gradient(135deg,#10b981,#059669);width:14px;height:8px;box-shadow:0 0 6px #10b98180}.confetti-4{background:linear-gradient(135deg,#f43f5e,#fda4af);width:10px;height:15px;box-shadow:0 0 6px #f43f5e80}.confetti-5{background:linear-gradient(135deg,#8b5cf6,#c084fc);width:9px;height:15px;box-shadow:0 0 6px #8b5cf680}@keyframes confettiFall{0%{opacity:1;transform:translateY(0)rotate(0)scale(1)}75%{opacity:.9}to{opacity:0;transform:translateY(105vh)rotate(720deg)scale(.6)}}.kofun-stage{text-align:center;background:linear-gradient(#f0fdf4 0%,#e6f4ea 50%,#dcfce7 100%);border:2px solid #a7f3d0;border-radius:28px;margin-bottom:2rem;padding:2.5rem 1.5rem 2rem;position:relative;overflow:hidden;box-shadow:0 10px 30px #064e3b14,inset 0 1px #fffc}.kofun-stage:before{content:"";opacity:.6;background:repeating-linear-gradient(45deg,#059669,#059669 8px,#10b981 8px 16px);height:8px;position:absolute;top:0;left:0;right:0}.stage-actors{justify-content:center;align-items:flex-end;gap:1.5rem;margin-bottom:1.5rem;display:flex;position:relative}.sekijin-wrapper{filter:drop-shadow(0 10px 16px #0f172a26);cursor:pointer;-webkit-user-select:none;user-select:none;width:140px;height:180px;transition:all .3s cubic-bezier(.34,1.56,.64,1);position:relative}.sekijin-wrapper:hover{filter:drop-shadow(0 14px 22px #0f172a38)}.sekijin-wrapper:active{transform:scale(.96)}@keyframes gentleFloat{0%{transform:translateY(0)}to{transform:translateY(-6px)}}.sekijin-wrapper.bouncing{animation:.75s cubic-bezier(.34,1.56,.64,1) sekijinBounce}@keyframes sekijinBounce{0%{transform:translateY(0)scale(1)}25%{transform:translateY(-18px)scale(1.1)rotate(5deg)}50%{transform:translateY(5px)scale(.95)rotate(-3deg)}75%{transform:translateY(-7px)scale(1.03)rotate(2deg)}to{transform:translateY(0)scale(1)rotate(0)}}.sekijin-talking-mouth{transform-origin:60px 50px;animation:.28s ease-in-out infinite alternate mouthFlap}@keyframes mouthFlap{0%{transform:scaleY(.4)scaleX(.85)}to{transform:scaleY(1.3)scaleX(1.15)}}.sekijin-wrapper.shaking{animation:.1s ease-in-out infinite alternate sekijinPowerShake}@keyframes sekijinPowerShake{0%{transform:translate(-3px,2px)rotate(-4deg)scale(1.04)}50%{transform:translate(3px,-2px)rotate(4deg)scale(1.05)}to{transform:translate(-2px,-3px)rotate(-3deg)scale(1.04)}}.sekijin-halo{pointer-events:none;z-index:0;background:radial-gradient(circle,#fbbf2466 0%,#fbbf2400 70%);border-radius:50%;animation:2s ease-in-out infinite haloPulse;position:absolute;inset:-20px}.sekijin-svg{z-index:1;width:100%;height:100%;position:relative}.omikuji-cylinder-box{flex-direction:column;justify-content:flex-end;align-items:center;width:76px;height:140px;display:flex;position:relative}.omikuji-tube{z-index:2;background:linear-gradient(135deg,#b91c1c 0%,#991b1b 50%,#7f1d1d 100%);border:2px solid #fecaca;border-radius:10px 10px 16px 16px;justify-content:center;align-items:center;width:64px;height:105px;display:flex;position:relative;box-shadow:0 8px 16px #7f1d1d4d,inset 0 2px 4px #ffffff4d}.omikuji-tube-label{writing-mode:vertical-rl;color:#fef08a;letter-spacing:.3em;text-shadow:0 1px 2px #00000080;font-size:.85rem;font-weight:900}.tube-mouth{background:#450a0a;border:2px solid #f87171;border-radius:6px;height:12px;position:absolute;top:-8px;left:6px;right:6px;box-shadow:inset 0 2px 4px #000c}.omikuji-stick{z-index:1;opacity:0;background:linear-gradient(#fef3c7 0%,#fde68a 100%);border:1.5px solid #d97706;border-radius:4px 4px 0 0;justify-content:center;align-items:center;width:20px;height:70px;transition:transform .6s cubic-bezier(.175,.885,.32,1.275);display:flex;position:absolute;bottom:60px;transform:translateY(30px);box-shadow:0 4px 8px #0003}.omikuji-stick.pop-out{opacity:1;transform:translateY(-50px)}.stick-text{writing-mode:vertical-rl;color:#92400e;letter-spacing:.1em;font-size:.65rem;font-weight:900}.omikuji-cylinder-box.shaking .omikuji-tube{animation:.12s ease-in-out infinite alternate tubeShake}@keyframes tubeShake{0%{transform:rotate(-8deg)}to{transform:rotate(8deg)}}.sekijin-bubble{color:#064e3b;background-color:#fff;border:2px solid #a7f3d0;border-radius:20px;max-width:92%;margin-bottom:1.75rem;padding:1.1rem 1.5rem;font-size:1.05rem;line-height:1.6;display:inline-block;position:relative;box-shadow:0 4px 14px #064e3b0f}.sekijin-bubble:after{content:"";border:12px solid #0000;border-top-width:0;border-bottom-color:#fff;position:absolute;top:-12px;left:50%;transform:translate(-50%)}.btn-draw-omikuji{color:#fff;cursor:pointer;letter-spacing:.05em;background:linear-gradient(135deg,#059669 0%,#047857 50%,#064e3b 100%);border:2px solid #6ee7b7;border-radius:9999px;align-items:center;gap:.75rem;padding:1.1rem 2.8rem;font-size:1.25rem;font-weight:900;transition:all .25s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 8px 24px #05966959,inset 0 1px #ffffff4d}.btn-draw-omikuji:hover:not(:disabled){transform:translateY(-3px)scale(1.02);box-shadow:0 12px 28px #05966973}.btn-draw-omikuji:disabled{opacity:.8;cursor:not-allowed}.omikuji-result-card{background:#fff;border:2px solid #e2e8f0;border-radius:24px;margin-bottom:2rem;animation:.6s cubic-bezier(.16,1,.3,1) forwards omikujiAscend;position:relative;overflow:hidden;box-shadow:0 12px 36px #0000001a}@keyframes omikujiAscend{0%{opacity:0;transform:translateY(30px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.result-ofuda-header{text-align:center;background:linear-gradient(#fffbeb 0%,#fefce8 60%,#fff 100%);border-bottom:2px dashed #fde68a;padding:2rem 1.5rem 1.25rem;position:relative}.ofuda-stamp{color:#dc2626;opacity:.88;pointer-events:none;border:2.5px solid #dc2626;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;width:52px;height:52px;font-size:.75rem;font-weight:900;line-height:1.1;animation:.5s cubic-bezier(.175,.885,.32,1.275) forwards stampPress;display:flex;position:absolute;top:18px;right:20px;transform:rotate(8deg);box-shadow:inset 0 0 6px #dc262666,0 2px 4px #dc262626}@keyframes stampPress{0%{opacity:0;transform:scale(3)rotate(28deg)}60%{opacity:1;transform:scale(.92)rotate(6deg)}to{opacity:.88;transform:scale(1)rotate(8deg)}}.fortune-pill{color:#fff;letter-spacing:.2em;text-shadow:0 2px 4px #0003;border-radius:9999px;margin-bottom:.6rem;padding:.4rem 2.8rem;font-size:2.5rem;font-weight:900;display:inline-block;box-shadow:0 6px 18px #0000002e}.fortune-pill.iwai{background:linear-gradient(135deg,#d97706 0%,#b45309 50%,#78350f 100%);border:3px solid #fde68a;animation:2.5s ease-in-out infinite alternate iwaiGoldGlow;box-shadow:0 0 20px #d9770680}@keyframes iwaiGoldGlow{0%{transform:scale(1);box-shadow:0 0 10px #d9770666}to{transform:scale(1.02);box-shadow:0 0 28px #f59e0be6}}.result-subtitle{color:#334155;margin:.4rem 0 0;font-size:1.1rem;font-weight:800}.result-body{padding:1.5rem}.voice-card{background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border:1.5px solid #cbd5e1;border-left:6px solid #059669;border-radius:0 16px 16px 0;margin-bottom:1.5rem;padding:1.25rem}.voice-card-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.6rem;display:flex}.voice-label{color:#059669;align-items:center;gap:.4rem;font-size:.85rem;font-weight:800;display:flex}.voice-card.translated{background:linear-gradient(135deg,#eff6ff 0%,#fff 100%);border-color:#93c5fd;box-shadow:0 4px 16px #2563eb14}.voice-card.translated .voice-label{color:#2563eb}.voice-card-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.btn-translate-toggle{color:#1d4ed8;cursor:pointer;background-color:#eff6ff;border:1.5px solid #bfdbfe;border-radius:9999px;align-items:center;gap:.35rem;padding:.35rem .85rem;font-size:.8rem;font-weight:800;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 2px 6px #2563eb1a}.btn-translate-toggle:hover{background-color:#dbeafe;border-color:#93c5fd;transform:translateY(-1px)}.btn-translate-toggle.active{color:#fff;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border-color:#1e40af;box-shadow:0 3px 10px #2563eb59}.btn-speak-voice{color:#059669;cursor:pointer;background-color:#fff;border:1.5px solid #059669;border-radius:9999px;align-items:center;gap:.35rem;padding:.35rem .85rem;font-size:.8rem;font-weight:800;transition:all .2s;display:inline-flex;box-shadow:0 2px 6px #05966926}.btn-speak-voice:hover{color:#fff;background-color:#059669}.btn-speak-voice.speaking{color:#fff;background-color:#dc2626;border-color:#dc2626;animation:1s infinite alternate speakPulse}.audio-equalizer{align-items:flex-end;gap:2.5px;height:14px;margin-right:2px;display:inline-flex}.eq-bar{background-color:#fff;border-radius:1px;width:2.5px}.eq-1{height:12px;animation:.45s ease-in-out infinite alternate eqBounce}.eq-2{height:8px;animation:.35s ease-in-out .15s infinite alternate eqBounce}.eq-3{height:14px;animation:.5s ease-in-out 50ms infinite alternate eqBounce}@keyframes eqBounce{0%{height:3px}to{height:14px}}.voice-text{color:#0f172a;letter-spacing:.01em;margin:0;font-size:1.25rem;font-weight:800;line-height:1.65;transition:opacity .25s}.yameben-glossary-section{background-color:#fff;border:1.5px solid #fed7aa;border-radius:14px;margin-bottom:1.5rem;overflow:hidden;box-shadow:0 2px 8px #ea580c0d}.btn-glossary-toggle{cursor:pointer;text-align:left;background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%);border:none;justify-content:space-between;align-items:center;width:100%;padding:.85rem 1.1rem;transition:background-color .2s;display:flex}.btn-glossary-toggle:hover{background:linear-gradient(135deg,#ffedd5 0%,#fed7aa 100%)}.glossary-toggle-left{color:#9a3412;align-items:center;gap:.5rem;font-size:.95rem;font-weight:800;display:flex}.glossary-badge{color:#fff;letter-spacing:.02em;background-color:#ea580c;border-radius:9999px;padding:.15rem .5rem;font-size:.7rem;font-weight:800}.glossary-chevron{color:#ea580c;transition:transform .3s cubic-bezier(.16,1,.3,1)}.glossary-chevron.rotated{transform:rotate(180deg)}.glossary-items-grid{background-color:#fffaf5;border-top:1px solid #fed7aa;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.75rem;padding:.9rem;animation:.25s fadeIn;display:grid}.glossary-item-card{background-color:#fff;border:1px solid #fed7aa;border-radius:10px;padding:.75rem .85rem;box-shadow:0 1px 3px #00000008}.glossary-word-row{flex-wrap:wrap;align-items:baseline;gap:.35rem;margin-bottom:.25rem;display:flex}.glossary-word{color:#c2410c;letter-spacing:.02em;font-size:1.05rem;font-weight:900}.glossary-meaning{color:#475569;font-size:.85rem;font-weight:700}.glossary-desc{color:#64748b;margin:0;font-size:.8rem;line-height:1.5}.action-card{background-color:#f0fdf4;border:2px solid #86efac;border-radius:16px;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:1.1rem 1.35rem;display:flex;box-shadow:0 3px 10px #10b98114}.action-icon{flex-shrink:0;font-size:2rem}.action-label{color:#166534;letter-spacing:.03em;font-size:.82rem;font-weight:800;display:block}.action-text{color:#064e3b;margin:.25rem 0 0;font-size:1.08rem;font-weight:800;line-height:1.5}.kofun-column-card{background:#fff;border:1.5px solid #cbd5e1;border-radius:18px;margin-bottom:1.5rem;padding:1.5rem;box-shadow:0 4px 14px #0000000a}.kofun-column-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.85rem;display:flex}.kofun-column-title{color:#064e3b;align-items:center;gap:.45rem;margin:0;font-size:1.25rem;font-weight:900;display:flex}.kofun-fact-badge{color:#fff;letter-spacing:.05em;background-color:#d97706;border-radius:6px;padding:.25rem .65rem;font-size:.72rem;font-weight:800}.kofun-spec-table{background-color:#f8fafc;border:1.5px solid #e2e8f0;border-radius:12px;margin-bottom:1rem;overflow:hidden;box-shadow:0 1px 3px #00000005}.spec-row{border-bottom:1px solid #e2e8f0;align-items:baseline;gap:.75rem;padding:.65rem .95rem;display:flex}.spec-row:last-child{border-bottom:none}.spec-label{color:#475569;flex-shrink:0;align-items:center;gap:.3rem;min-width:62px;font-size:.82rem;font-weight:800;display:inline-flex}.spec-icon{font-size:.9rem}.spec-value{color:#0f172a;font-size:.92rem;font-weight:700;line-height:1.5}.kofun-column-content{color:#1e293b;margin:0 0 1rem;font-size:.98rem;font-weight:500;line-height:1.75}.modal-highlight-box{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:1.5px solid #fde68a;border-left:4px solid #f59e0b;border-radius:10px;padding:.75rem .95rem;box-shadow:0 2px 6px #f59e0b14}.highlight-header{align-items:center;gap:.35rem;margin-bottom:.25rem;display:flex}.highlight-icon{font-size:.95rem}.highlight-title{color:#b45309;letter-spacing:.03em;font-size:.8rem;font-weight:900}.highlight-body{color:#78350f;margin:0;font-size:.9rem;font-weight:800;line-height:1.5}.result-actions{justify-content:flex-end;gap:.6rem;padding-top:.5rem;display:flex}.btn-copy-quote{color:#475569;cursor:pointer;background-color:#fff;border:1.5px solid #cbd5e1;border-radius:9999px;align-items:center;gap:.4rem;padding:.5rem 1rem;font-size:.85rem;font-weight:700;transition:all .2s;display:inline-flex}.btn-copy-quote:hover{color:#0f172a;background-color:#f1f5f9}.karuta-collection-section{background-color:#fff;border:2px solid #e2e8f0;border-radius:24px;margin-bottom:2rem;padding:1.75rem 1.5rem;box-shadow:0 4px 16px #0000000d}.karuta-section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}.karuta-section-title{color:#064e3b;align-items:center;gap:.4rem;margin:0;font-size:1.15rem;font-weight:900;display:flex}.karuta-progress-pill{color:#fff;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border-radius:9999px;flex-wrap:wrap;align-items:center;gap:.45rem;padding:.25rem .75rem;font-size:.8rem;font-weight:800;display:inline-flex}.karuta-rank-tag{letter-spacing:.02em;background:#ffffff40;border-radius:9999px;padding:.1rem .45rem;font-weight:900}.karuta-progress-pill.completed{background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);animation:2s ease-in-out infinite pulseGold;box-shadow:0 2px 6px #d9770659}@keyframes pulseGold{0%,to{transform:scale(1)}50%{transform:scale(1.04)}}.karuta-complete-banner{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:2px solid #f59e0b;border-radius:18px;flex-direction:column;gap:.75rem;margin-bottom:1.25rem;padding:1.25rem;display:flex;box-shadow:0 6px 16px #d977061f}.complete-banner-header{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.complete-badge-pill{color:#fff;letter-spacing:.03em;background:#d97706;border-radius:9999px;align-items:center;gap:.35rem;padding:.2rem .65rem;font-size:.78rem;font-weight:900;display:inline-flex}.complete-title-main{color:#78350f;margin:0;font-size:1.15rem;font-weight:900}.complete-banner-desc{color:#451a03;margin:0;font-size:.9rem;font-weight:600;line-height:1.6}.karuta-quiz-mode-box{background:#ffffffbf;border:1.5px solid #fde68a;border-radius:14px;flex-direction:column;gap:.5rem;margin-top:.2rem;padding:.75rem .9rem;display:flex}.quiz-mode-box-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem;display:flex}.quiz-mode-box-label{color:#78350f;font-size:.82rem;font-weight:900}.quiz-mode-box-hint{color:#b45309;font-size:.75rem;font-weight:700}.karuta-quiz-mode-pill-toggle{background:#e2e8f0;border-radius:12px;grid-template-columns:1fr 1fr;gap:.45rem;padding:3px;display:grid}.karuta-mode-pill-btn{color:#475569;cursor:pointer;background:0 0;border:1.5px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:.4rem;padding:.55rem .75rem;font-size:.84rem;font-weight:800;transition:all .2s;display:inline-flex}.karuta-mode-pill-btn.active{color:#92400e;background:#fff;border-color:#f59e0b;font-weight:900;box-shadow:0 2px 6px #f59e0b33}.complete-primary-action{width:100%;margin-top:.25rem}.btn-open-quiz-stage{color:#fff;cursor:pointer;letter-spacing:.02em;background:linear-gradient(135deg,#d97706 0%,#b45309 100%);border:none;border-radius:14px;justify-content:center;align-items:center;gap:.55rem;width:100%;padding:.95rem 1.25rem;font-size:.98rem;font-weight:900;transition:all .15s;display:inline-flex;box-shadow:0 4px 12px #b4530947}.btn-open-quiz-stage:hover{background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);transform:translateY(-2px);box-shadow:0 6px 16px #b4530961}.btn-open-quiz-stage:active{transform:translateY(0)}.btn-open-quiz-stage.stage-cleared{background:linear-gradient(135deg,#059669 0%,#047857 100%);box-shadow:0 4px 12px #05966947}.btn-open-quiz-stage.stage-cleared:hover{background:linear-gradient(135deg,#10b981 0%,#059669 100%);box-shadow:0 6px 16px #05966961}.complete-banner-safe-footer{flex-direction:column;gap:.55rem;margin-top:.4rem;display:flex}.safe-footer-divider{background:#d9770633;width:100%;height:1px}.safe-footer-content{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.safe-footer-round-label{color:#92400e;align-items:center;gap:.3rem;font-size:.8rem;font-weight:800;display:inline-flex}.btn-restart-karuta-subtle{color:#b45309;cursor:pointer;background:#fff9;border:1px dashed #d97706;border-radius:8px;align-items:center;gap:.35rem;padding:.35rem .7rem;font-size:.78rem;font-weight:700;transition:all .2s;display:inline-flex}.btn-restart-karuta-subtle:hover{color:#78350f;background:#fff;border-style:solid;border-color:#b45309;transform:translateY(-1px)}.karuta-ongoing-quiz-banner{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:1.5px solid #fde68a;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.9rem;padding:.85rem 1rem;display:flex;box-shadow:0 2px 8px #f59e0b1a}.ongoing-quiz-content{flex-direction:column;flex:1;gap:.25rem;min-width:200px;display:flex}.ongoing-quiz-badge-row{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.ongoing-quiz-pill{color:#fff;background:#d97706;border-radius:9999px;align-items:center;gap:.25rem;padding:.15rem .5rem;font-size:.72rem;font-weight:900;display:inline-flex}.ongoing-round-pill{color:#78350f;background:#fef3c7e6;border:1px solid #fcd34d;border-radius:9999px;padding:.15rem .45rem;font-size:.72rem;font-weight:800}.ongoing-quiz-title{color:#78350f;margin:0;font-size:.98rem;font-weight:900}.ongoing-quiz-desc{color:#92400e;margin:0;font-size:.78rem;font-weight:700}.ongoing-quiz-action{flex-shrink:0}.btn-ongoing-quiz{color:#fff;cursor:pointer;background:linear-gradient(135deg,#d97706 0%,#b45309 100%);border:none;border-radius:10px;align-items:center;gap:.4rem;padding:.55rem .9rem;font-size:.84rem;font-weight:900;transition:all .15s;display:inline-flex;box-shadow:0 2px 6px #b4530940}.btn-ongoing-quiz:hover{background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);transform:translateY(-1px)}.btn-ongoing-quiz.stage-cleared{background:linear-gradient(135deg,#059669 0%,#047857 100%);box-shadow:0 2px 6px #05966940}.btn-ongoing-quiz.stage-cleared:hover{background:linear-gradient(135deg,#10b981 0%,#059669 100%)}.karuta-desc{color:#64748b;margin:0 0 1.25rem;font-size:.88rem;line-height:1.5}.karuta-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.85rem;display:grid}.karuta-card{text-align:center;cursor:pointer;background-color:#f8fafc;border:2px solid #e2e8f0;border-radius:14px;padding:.85rem .6rem;transition:all .25s cubic-bezier(.16,1,.3,1);position:relative;overflow:hidden}.karuta-card.discovered{background:linear-gradient(#fff 0%,#f0fdf4 100%);border-color:#10b981;box-shadow:0 4px 12px #10b98126}.karuta-card.discovered:hover{transform:translateY(-4px);box-shadow:0 8px 20px #10b98140}.karuta-card.discovered:after{content:"";pointer-events:none;background:linear-gradient(60deg,#fff0 30%,#ffffff73 50%,#fff0 70%);width:200%;height:200%;animation:6s ease-in-out infinite shimmerGleam;position:absolute;top:-50%;left:-50%;transform:rotate(30deg)translateY(-100%)}@keyframes shimmerGleam{0%,80%{opacity:0;transform:rotate(30deg)translateY(-120%)}85%{opacity:1}to{opacity:0;transform:rotate(30deg)translateY(120%)}}.karuta-card.undiscovered{opacity:.6;cursor:default;background-color:#f1f5f9;border-color:#cbd5e1}.karuta-card-icon{justify-content:center;align-items:center;min-height:2.2rem;margin-bottom:.4rem;font-size:2rem;display:flex}.karuta-card-fortune{color:#fff;border-radius:9999px;margin-bottom:.35rem;padding:.15rem .5rem;font-size:.75rem;font-weight:900;display:inline-block}.karuta-card-name{color:#1e293b;font-size:.8rem;font-weight:800;line-height:1.3}.su-debug-panel{color:#f8fafc;background-color:#0f172a;border:1px solid #334155;border-radius:20px;margin-top:2rem;padding:1.5rem;box-shadow:0 8px 24px #0003}.su-debug-title{color:#38bdf8;align-items:center;gap:.45rem;margin:0 0 .6rem;font-size:.95rem;font-weight:800;display:flex}.su-debug-actions{flex-wrap:wrap;gap:.6rem;display:flex}.btn-su-debug{color:#e2e8f0;cursor:pointer;background-color:#1e293b;border:1px solid #475569;border-radius:10px;align-items:center;gap:.4rem;padding:.6rem 1rem;font-size:.85rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-su-debug:hover{color:#fff;background-color:#334155}.modal-backdrop{top:56px;left:0;right:0;bottom:calc(76px + env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(6px);z-index:1500;box-sizing:border-box;background-color:#0f172aa6;justify-content:center;align-items:center;padding:.75rem .5rem;animation:.2s cubic-bezier(.16,1,.3,1) modalFadeIn;display:flex;position:fixed}.modal-content{background-color:#fff;border-radius:18px;flex-direction:column;width:100%;max-width:480px;max-height:100%;animation:.25s cubic-bezier(.16,1,.3,1) modalSlideUp;display:flex;overflow:hidden;box-shadow:0 16px 36px -8px #0000004d}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(16px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.modal-header{background:linear-gradient(135deg,#f0fdf4 0%,#fff 100%);border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:1.1rem 1.25rem .9rem;display:flex}.modal-header-text{flex-direction:column;flex:1;gap:.25rem;min-width:0;display:flex}.modal-category-label{color:#059669;letter-spacing:.05em;font-size:.72rem;font-weight:800}.modal-title-main{color:#0f172a;flex-wrap:wrap;align-items:baseline;gap:.25rem;margin:0;font-size:1.2rem;font-weight:900;line-height:1.35;display:flex}.modal-title-ruby{color:#64748b;font-size:.8rem;font-weight:600}.btn-modal-close{color:#475569;cursor:pointer;background-color:#f1f5f9;border:none;border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:flex}.btn-modal-close:hover{color:#0f172a;background-color:#e2e8f0;transform:rotate(90deg)}.modal-body{-webkit-overflow-scrolling:touch;flex:1;padding:1.15rem 1.25rem;overflow-y:auto}.modal-fortune-banner{border:1.5px solid;border-radius:12px;align-items:center;gap:.65rem;margin-bottom:1rem;padding:.65rem .85rem;display:flex}.modal-fortune-badge{color:#fff;letter-spacing:.04em;border-radius:9999px;flex-shrink:0;padding:.2rem .65rem;font-size:.8rem;font-weight:900;box-shadow:0 2px 6px #0000001f}.modal-fortune-title{color:#1e293b;font-size:.88rem;font-weight:800;line-height:1.4}.modal-kofun-content{color:#1e293b;letter-spacing:.015em;text-align:justify;margin:0 0 1rem;font-size:.98rem;font-weight:500;line-height:1.8}.modal-footer{background-color:#f8fafc;border-top:1px solid #f1f5f9;padding:.75rem 1.25rem;display:flex}.btn-modal-done{color:#fff;cursor:pointer;background:linear-gradient(135deg,#059669 0%,#047857 100%);border:none;border-radius:12px;width:100%;padding:.75rem;font-size:.95rem;font-weight:800;transition:all .2s;box-shadow:0 3px 10px #05966940}.btn-modal-done:hover{filter:brightness(1.05);transform:translateY(-1px)}@media (width<=640px){.kofun-omikuji-container{padding:.75rem .35rem 3.5rem}.kofun-title{font-size:1.5rem}.kofun-subtitle{font-size:.85rem}.kofun-stage{border-radius:20px;margin-bottom:1.25rem;padding:1.5rem .6rem 1.2rem}.stage-actors{gap:.85rem;margin-bottom:1rem}.sekijin-wrapper{width:115px;height:150px}.omikuji-barrel-wrapper{width:90px;height:140px}.sekijin-bubble{margin-bottom:1rem;padding:.75rem .9rem;font-size:.92rem}.btn-draw-omikuji{width:100%;max-width:320px;padding:.9rem 1.75rem;font-size:1.15rem}.omikuji-result-card{border-radius:18px;margin-bottom:1.5rem}.result-ofuda-header{padding:1.5rem .6rem 1rem}.ofuda-stamp{width:44px;height:44px;font-size:.68rem;top:12px;right:12px}.fortune-pill{letter-spacing:.15em;padding:.3rem 1.6rem;font-size:2.1rem}.result-subtitle{font-size:.95rem}.result-body{padding:.85rem .45rem}.voice-card{border-radius:0 12px 12px 0;margin-bottom:1rem;padding:.9rem .65rem}.voice-text{font-size:1.15rem;line-height:1.6}.action-card{border-radius:12px;gap:.75rem;margin-bottom:1rem;padding:.85rem .65rem}.action-icon{font-size:1.6rem}.action-text{font-size:.98rem}.yameben-glossary-section{border-radius:12px;margin-bottom:1rem}.btn-glossary-toggle{padding:.75rem .85rem}.glossary-items-grid{grid-template-columns:1fr;gap:.5rem;padding:.65rem .45rem}.kofun-column-card{border-radius:14px;margin-bottom:1rem;padding:.85rem .55rem}.kofun-column-title{font-size:1.15rem}.spec-row{gap:.5rem;padding:.55rem .65rem}.spec-label{min-width:55px;font-size:.76rem}.spec-value{font-size:.86rem}.karuta-collection-section{border-radius:18px;padding:1.25rem .65rem}.karuta-grid{grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:.5rem}.karuta-card{border-radius:10px;padding:.65rem .4rem}.karuta-card-icon{margin-bottom:.25rem;font-size:1.6rem}.modal-backdrop{top:56px;bottom:calc(76px + env(safe-area-inset-bottom,0px));padding:.35rem .15rem}.modal-content{border-radius:14px;width:100%;max-height:100%;box-shadow:0 8px 24px #00000040}.modal-header{padding:.75rem .55rem .55rem}.modal-title-main{font-size:1.15rem}.modal-body{padding:.55rem .25rem}.modal-fortune-banner{border-radius:8px;gap:.45rem;margin-bottom:.6rem;padding:.45rem .55rem}.modal-fortune-badge{padding:.15rem .5rem;font-size:.75rem}.modal-fortune-title{font-size:.82rem}.modal-kofun-content{margin-bottom:.75rem;padding:0 .35rem;font-size:.94rem;line-height:1.7}.modal-highlight-box{border-radius:8px;margin-left:.15rem;margin-right:.15rem;padding:.65rem .75rem}.modal-footer{padding:.55rem .35rem}.btn-modal-done{border-radius:10px;min-height:44px;padding:.75rem;font-size:.95rem;font-weight:800}}@media (width>=1025px){.modal-backdrop{padding:1.5rem 1rem;top:56px;bottom:0}.modal-content{max-height:86vh}}.omikuji-recent-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-top:1.5rem;padding:1.1rem;box-shadow:0 4px 14px #0000000a}.recent-section-header{justify-content:space-between;align-items:center;margin-bottom:.85rem;display:flex}.recent-section-title{color:#1e293b;align-items:center;gap:.45rem;margin:0;font-size:1rem;font-weight:800;display:flex}.recent-badge{color:#059669;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:9999px;padding:.2rem .55rem;font-size:.75rem;font-weight:700}.recent-privacy-note{color:#64748b;align-items:center;gap:.25rem;margin:-.35rem 0 .85rem;font-size:.72rem;line-height:1.4;display:flex}.recent-logs-list{flex-direction:column;gap:.55rem;display:flex}.recent-log-item{background-color:#f8fafc;border:1px solid #f1f5f9;border-radius:12px;justify-content:space-between;align-items:center;gap:.5rem;padding:.65rem .85rem;font-size:.88rem;display:flex}.log-user-meta{align-items:center;gap:.4rem;min-width:0;display:flex}.log-avatar{flex-shrink:0;align-items:center;font-size:1rem;display:inline-flex}.log-user-name{color:#334155;white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden}.log-result{flex-shrink:0;align-items:center;gap:.45rem;display:flex}.log-kofun-name{color:#64748b;font-size:.82rem;font-weight:600}.log-fortune-pill{color:#fff;border-radius:9999px;padding:.15rem .55rem;font-size:.75rem;font-weight:800}.recent-empty-hint{color:#94a3b8;text-align:center;margin:0;padding:.8rem .5rem;font-size:.85rem}.recent-quiz-summary-bar{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:1.5px solid #f59e0b;border-radius:12px;justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:.85rem;padding:.65rem .9rem;display:flex;box-shadow:0 2px 6px #f59e0b1f}.quiz-summary-left{align-items:center;gap:.5rem;min-width:0;display:flex}.quiz-summary-icon{flex-shrink:0;font-size:1.25rem}.quiz-summary-text-wrap{flex-direction:column;min-width:0;display:flex}.quiz-summary-title{color:#78350f;font-size:.86rem;font-weight:900}.quiz-summary-desc{color:#b45309;font-size:.72rem;line-height:1.35}.quiz-summary-status{flex-shrink:0}.quiz-cleared-badge{color:#fff;background:#059669;border-radius:9999px;align-items:center;gap:.3rem;padding:.25rem .6rem;font-size:.74rem;font-weight:800;display:inline-flex;box-shadow:0 1px 3px #0596694d}.btn-quiz-quick-open{color:#fff;cursor:pointer;background:linear-gradient(135deg,#d97706 0%,#b45309 100%);border:none;border-radius:9999px;align-items:center;gap:.3rem;padding:.3rem .7rem;font-size:.75rem;font-weight:800;transition:transform .15s,box-shadow .15s;display:inline-flex;box-shadow:0 2px 4px #b4530940}.btn-quiz-quick-open:hover{transform:translateY(-1px);box-shadow:0 4px 8px #b4530959}.btn-quiz-quick-open.cleared{color:#065f46;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1.5px solid #10b981;box-shadow:0 2px 4px #10b98133}.btn-quiz-quick-open.cleared:hover{background:#a7f3d0;box-shadow:0 4px 8px #10b9814d}.quiz-locked-note{color:#78350f;background:#f59e0b2e;border-radius:9999px;padding:.2rem .55rem;font-size:.72rem;font-weight:700}.recent-log-item.quiz-highlight-item{background:linear-gradient(135deg,#fefce8 0%,#fef3c7 100%);border:1.5px solid #f59e0b;box-shadow:0 3px 8px #f59e0b26}.quiz-avatar{background:#fde68a;border-radius:9999px;padding:2px}.quiz-kofun-tag{color:#b45309!important;font-weight:800!important}.log-quiz-pill{color:#fff;letter-spacing:.02em;background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);border-radius:9999px;align-items:center;gap:.25rem;padding:.15rem .45rem;font-size:.7rem;font-weight:900;display:inline-flex;box-shadow:0 1px 3px #d977064d}.log-quiz-pill.highlight-quiz-pill{background:linear-gradient(135deg,#d97706 0%,#92400e 100%);padding:.2rem .55rem;font-size:.74rem}@media (width<=480px){.omikuji-recent-section{padding:.9rem .75rem}.recent-log-item{gap:.35rem;padding:.6rem .65rem;font-size:.84rem}.log-result{gap:.35rem}.log-kofun-name{font-size:.78rem}.recent-quiz-summary-bar{flex-direction:column;align-items:flex-start;gap:.5rem}.quiz-summary-status{justify-content:flex-end;width:100%;display:flex}}.reset-confirm-backdrop{-webkit-backdrop-filter:blur(5px);z-index:10500;background:#0f172aa6;justify-content:center;align-items:center;padding:1.25rem;animation:.2s ease-out resetFadeIn;display:flex;position:fixed;inset:0}@keyframes resetFadeIn{0%{opacity:0}to{opacity:1}}.reset-confirm-card{background:#fff;border:2px solid #fed7aa;border-radius:22px;flex-direction:column;gap:1.15rem;width:100%;max-width:440px;padding:1.5rem;animation:.25s cubic-bezier(.16,1,.3,1) resetPopUp;display:flex;box-shadow:0 20px 45px #0f172a4d}@keyframes resetPopUp{0%{opacity:0;transform:scale(.92)translateY(12px)}to{opacity:1;transform:scale(1)translateY(0)}}.reset-confirm-header{align-items:center;gap:.85rem;display:flex}.reset-confirm-icon-box{color:#b45309;background:#fef3c7;border:1.5px solid #fde68a;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.reset-confirm-title-area{flex-direction:column;gap:.15rem;display:flex}.reset-confirm-title{color:#1e293b;margin:0;font-size:1.05rem;font-weight:900;line-height:1.35}.reset-confirm-subtitle{color:#b45309;font-size:.76rem;font-weight:800}.reset-confirm-body{flex-direction:column;gap:.85rem;display:flex}.reset-confirm-prompt{color:#334155;margin:0;font-size:.88rem;line-height:1.6}.reset-confirm-prompt strong{color:#b45309}.reset-confirm-points{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:.55rem;padding:.75rem .9rem;display:flex}.reset-point-item{color:#475569;align-items:flex-start;gap:.5rem;font-size:.82rem;line-height:1.5;display:flex}.reset-point-item strong{color:#1e293b}.point-icon{flex-shrink:0;margin-top:2px}.point-icon.text-green{color:#059669}.point-icon.text-amber{color:#d97706}.reset-confirm-actions{flex-direction:column;gap:.65rem;margin-top:.35rem;display:flex}.btn-cancel-round-reset{color:#fff;cursor:pointer;letter-spacing:.02em;background:linear-gradient(135deg,#059669 0%,#047857 100%);border:none;border-radius:12px;justify-content:center;align-items:center;width:100%;padding:.85rem 1.2rem;font-size:.92rem;font-weight:900;transition:all .15s;display:inline-flex;box-shadow:0 4px 12px #05966940}.btn-cancel-round-reset:hover{background:linear-gradient(135deg,#10b981 0%,#059669 100%);transform:translateY(-2px);box-shadow:0 6px 16px #05966959}.btn-cancel-round-reset:active{transform:translateY(0)}.btn-execute-round-reset{color:#64748b;cursor:pointer;background:#fff;border:1.5px solid #cbd5e1;border-radius:12px;justify-content:center;align-items:center;gap:.4rem;width:100%;padding:.7rem 1rem;font-size:.82rem;font-weight:700;transition:all .15s;display:inline-flex}.btn-execute-round-reset:hover{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.kofun-stage{isolation:isolate;background:linear-gradient(#e0f2fe 0%,#ecfdf5 38%,#d1fae5 72%,#a7f3d0 100%)}.kofun-stage:before{z-index:6}.stage-bg,.stage-overlay{pointer-events:none;position:absolute;inset:0}.stage-bg{z-index:0;overflow:hidden}.stage-overlay{z-index:5;overflow:hidden}.stage-controls{z-index:2;position:relative}.stage-sky-glow{background:radial-gradient(at 50% 38%,#fef3c7e6 0%,#fef3c700 62%);animation:7s ease-in-out infinite alternate skyBreath;position:absolute;inset:0}@keyframes skyBreath{0%{opacity:.55}to{opacity:1}}.stage-sun{opacity:.85;background:radial-gradient(circle,#fffbeb 0%,#fde68a 42%,#fde04700 72%);border-radius:50%;width:96px;height:96px;margin-left:-48px;animation:5s ease-in-out infinite alternate sunPulse;position:absolute;top:7%;left:50%}@keyframes sunPulse{0%{opacity:.65;transform:scale(.92)}to{opacity:.95;transform:scale(1.12)}}.stage-rays{aspect-ratio:1;opacity:.38;background:repeating-conic-gradient(#fde68a8c 0deg 7deg,#fde68a00 7deg 20deg);width:160%;transition:opacity .6s;animation:90s linear infinite raysSpin;position:absolute;top:48%;left:50%;transform:translate(-50%,-50%);-webkit-mask-image:radial-gradient(circle,#000 0%,#0009 28%,#0000 62%);mask-image:radial-gradient(circle,#000 0%,#0009 28%,#0000 62%)}.phase-charge .stage-rays,.phase-rise .stage-rays{opacity:.95;animation-duration:8s}.kofun-stage.is-lucky .stage-rays{opacity:.85;animation-duration:30s}@keyframes raysSpin{0%{transform:translate(-50%,-50%)rotate(0)}to{transform:translate(-50%,-50%)rotate(360deg)}}.cloud{background:#fffc;border-radius:999px;height:22px;animation:linear infinite cloudDrift;position:absolute;left:-90px;box-shadow:14px -8px 0 6px #fffc,-16px -4px 0 2px #ffffffb8}.cloud-1{width:64px;animation-duration:46s;top:11%}.cloud-2{opacity:.8;width:46px;animation-duration:62s;animation-delay:-28s;top:24%}.cloud-3{opacity:.6;width:54px;animation-duration:78s;animation-delay:-50s;top:5%}@keyframes cloudDrift{0%{transform:translate(0)}to{transform:translate(110vw)}}.stage-hills{width:104%;height:40%;position:absolute;bottom:14%;left:-2%}.hill-far{fill:#c9ecd6;animation:26s ease-in-out infinite alternate hillDriftA}.hill-mid{fill:#9bd8b3;animation:20s ease-in-out infinite alternate hillDriftB}.hill-kofun path{fill:#6cc093}.hill-kofun .tree{fill:#3f9d6b}@keyframes hillDriftA{0%{transform:translate(-8px)}to{transform:translate(8px)}}@keyframes hillDriftB{0%{transform:translate(6px)}to{transform:translate(-6px)}}.stage-teafield{background:repeating-linear-gradient(104deg,#34a56f 0 14px,#43b47c 14px 28px);border-radius:50% 50% 0 0/40% 40% 0 0;height:30%;position:absolute;bottom:-8%;left:-5%;right:-5%;box-shadow:inset 0 10px 18px #ffffff47}.stage-leaf{top:-6%;left:calc(var(--l) * 1%);width:calc(var(--s) * 1px);height:calc(var(--s) * 1.6px);opacity:0;animation:leafFall var(--dur) linear infinite;animation-delay:var(--delay);background:linear-gradient(135deg,#86efac,#22c55e);border-radius:0 100%;position:absolute}.stage-leaf.hue-1{background:linear-gradient(135deg,#fde68a,#f59e0b)}.stage-leaf.hue-2{background:linear-gradient(135deg,#bbf7d0,#16a34a)}@keyframes leafFall{0%{opacity:0;transform:translate(0,0)rotate(0)}8%{opacity:.85}50%{transform:translate3d(calc(var(--sw) * 1px), 260px, 0) rotate(180deg)}to{transform:translate3d(calc(var(--sw) * -.6px), 520px, 0) rotate(380deg);opacity:.2}}.stage-mote{left:calc(var(--l) * 1%);bottom:calc(var(--b) * 1%);width:calc(var(--s) * 1px);height:calc(var(--s) * 1px);opacity:0;animation:moteFloat var(--dur) ease-in-out infinite;animation-delay:var(--delay);background:#fef08a;border-radius:50%;position:absolute;box-shadow:0 0 8px 3px #fde047b3}@keyframes moteFloat{0%,to{opacity:.1;transform:translate(0)scale(.6)}25%{opacity:.95;transform:translate(10px,-18px)scale(1)}50%{opacity:.5;transform:translate(-6px,-34px)scale(.8)}75%{opacity:.9;transform:translate(8px,-48px)scale(1)}}.stage-vignette{opacity:0;background:radial-gradient(at 50% 56%,#0000 38%,#042f249e 100%);transition:opacity .6s;position:absolute;inset:0}.phase-charge .stage-vignette,.phase-rise .stage-vignette{opacity:1}.energy-ring{opacity:0;border:3px solid #fde047d9;border-radius:50%;width:280px;height:280px;margin:-140px 0 0 -140px;animation:1.3s cubic-bezier(.5,0,.9,.6) infinite ringConverge;position:absolute;top:56%;left:50%;box-shadow:0 0 22px #fde047cc,inset 0 0 22px #fde04780}.energy-ring.ring-2{animation-delay:.43s}.energy-ring.ring-3{animation-delay:.86s}@keyframes ringConverge{0%{opacity:0;transform:scale(1.7)}30%{opacity:.9}to{opacity:0;transform:scale(.25)}}.reveal-fx{position:absolute;inset:0}.stage-flash{opacity:0;background:radial-gradient(circle at 50% 56%,#fff 0%,#fff7c8f2 22%,#fff7c800 66%);animation:.8s ease-out forwards flashPop;position:absolute;inset:-10%}@keyframes flashPop{0%{opacity:0;transform:scale(.4)}18%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.5)}}.shockwave{opacity:0;border:4px solid #fde047e6;border-radius:50%;width:120px;height:120px;margin:-60px 0 0 -60px;animation:1.1s ease-out forwards shockwave;position:absolute;top:56%;left:50%;box-shadow:0 0 24px #fde047b3}.shockwave.sw-2{border-color:#34d399e6;animation-delay:.22s;box-shadow:0 0 24px #34d39999}@keyframes shockwave{0%{opacity:.95;transform:scale(.2)}to{opacity:0;transform:scale(4.2)}}.firework{left:var(--fx-l);top:var(--fx-t);width:0;height:0;position:absolute}.fw-p{background:var(--c);width:6px;height:6px;box-shadow:0 0 6px 2px var(--c);opacity:0;animation:1.15s cubic-bezier(.12,.7,.3,1) forwards fwShoot;animation-delay:var(--fd);border-radius:50%;position:absolute;top:-3px;left:-3px}@keyframes fwShoot{0%{transform:rotate(var(--a)) translateX(0) scale(1.2);opacity:1}65%{opacity:1}to{transform:rotate(var(--a)) translateX(var(--d)) scale(.15);opacity:0}}.sekijin-wrapper{transform-origin:50% 96%;width:150px;height:206px}.sekijin-wrapper.idle{animation:6s ease-in-out infinite sekijinSway}@keyframes sekijinSway{0%,to{transform:rotate(-.8deg)}50%{transform:rotate(.8deg)scale(1.01)}}.sekijin-wrapper.charging{animation:1.3s ease-in forwards sekijinCharge}@keyframes sekijinCharge{0%{transform:translate(0)rotate(0)scale(1)}15%{transform:translate(-1px)rotate(-1deg)scale(1.01)}30%{transform:translate(2px,-1px)rotate(1.4deg)scale(1.02)}45%{transform:translate(-3px)rotate(-2deg)scale(1.03)}60%{filter:drop-shadow(0 0 12px #fbbf24b3);transform:translate(3px,-2px)rotate(2.5deg)scale(1.04)}75%{transform:translate(-4px)rotate(-3deg)scale(1.05)}90%{filter:drop-shadow(0 0 22px #fbbf24f2);transform:translate(4px,-1px)rotate(3deg)scale(1.06)}to{filter:drop-shadow(0 0 26px #fbbf24);transform:translate(0)rotate(0)scale(1.06)}}.sekijin-wrapper.rising{filter:drop-shadow(0 0 26px #fbbf24);animation:.8s cubic-bezier(.2,.9,.3,1.2) forwards sekijinRise}@keyframes sekijinRise{0%{transform:translateY(0)scale(1.06)}35%{transform:translateY(-16px)scale(1.1)}70%{transform:translateY(2px)scale(1.02)}to{transform:translateY(0)scale(1)}}.sekijin-wrapper.radiant{filter:drop-shadow(0 0 16px #fbbf24d9)drop-shadow(0 8px 14px #0f172a33);animation:5s ease-in-out infinite sekijinSway}.sekijin-wrapper.tapped{animation:.6s cubic-bezier(.34,1.56,.64,1) sekijinTapBounce}@keyframes sekijinTapBounce{0%{transform:scale(1)}30%{transform:translateY(-8px)scale(1.08)rotate(-2deg)}60%{transform:translateY(2px)scale(.98)rotate(1deg)}to{transform:scale(1)}}.tap-particle{pointer-events:none;z-index:5;font-size:20px;animation:1.3s ease-out forwards tapFloat;position:absolute;top:30%;left:50%}@keyframes tapFloat{0%{opacity:0;transform:translate(-50%)scale(.4)}15%{transform:translate(calc(-50% + var(--dx) * .3), -12px) scale(1.15);opacity:1}to{transform:translate(calc(-50% + var(--dx)), -96px) scale(.8) rotate(25deg);opacity:0}}.omikuji-cylinder-box{transform-origin:50% 100%;width:84px;height:158px}.omikuji-tube{background:linear-gradient(#fcd34d 0,#f59e0b 6px,#b45309 9px,#0000 10px calc(100% - 10px),#b45309 calc(100% - 9px),#f59e0b calc(100% - 6px),#fcd34d 100%),linear-gradient(90deg,#ffffff4d 0,#fff0 24%,#0000 68%,#0000004d 100%),linear-gradient(135deg,#c81e1e 0%,#991b1b 50%,#7f1d1d 100%);border-radius:12px 12px 18px 18px;width:74px;height:120px;overflow:hidden}.omikuji-tube:after{content:"";background:linear-gradient(100deg,#0000,#ffffff8c,#0000);width:36%;animation:4.5s ease-in-out infinite tubeShine;position:absolute;top:-20%;bottom:-20%;left:0;transform:translate(-200%)skew(-16deg)}@keyframes tubeShine{0%,60%{transform:translate(-200%)skew(-16deg)}to{transform:translate(520%)skew(-16deg)}}.omikuji-tube-label{z-index:1;position:relative}.tube-mouth{z-index:2;height:14px;inset:auto 9px 113px}.tube-tip{bottom:114px;left:calc(14px + var(--i) * 10px);width:8px;height:calc(20px + var(--h) * 1px);transform:rotate(var(--r));transform-origin:50% 100%;z-index:3;background:linear-gradient(#fff7d6,#f6c453);border:1.5px solid #b45309;border-radius:3px 3px 0 0;position:absolute}.tube-tip:before{content:"";background:#b91c1c;border-radius:50%;width:3px;height:3px;margin-left:-1.5px;position:absolute;top:2px;left:50%}.omikuji-cylinder-box.charging .tube-tip{animation:.12s ease-in-out infinite alternate tipRattle;animation-delay:calc(var(--i) * -.03s)}@keyframes tipRattle{0%{transform:translateY(0) rotate(var(--r))}to{transform:translateY(-9px) rotate(calc(var(--r) * -1))}}.tube-tassel{z-index:3;transform-origin:50% 0;width:14px;height:56px;animation:3.2s ease-in-out infinite alternate tasselSwing;position:absolute;top:64px;right:-3px}.tube-tassel:before{content:"";background:#fcd34d;width:2px;height:20px;margin-left:-1px;position:absolute;top:0;left:50%}.tube-tassel:after{content:"";background:repeating-linear-gradient(90deg,#dc2626 0 2px,#fca5a5 2px 3px);border-radius:3px 3px 8px 8px;height:36px;position:absolute;top:18px;left:0;right:0}@keyframes tasselSwing{0%{transform:rotate(-9deg)}to{transform:rotate(9deg)}}.omikuji-cylinder-box.charging{animation:1.3s linear forwards tubeCharge}@keyframes tubeCharge{0%{transform:rotate(0)translateY(0)}10%{transform:rotate(-3deg)}20%{transform:rotate(3deg)}30%{transform:rotate(-5deg)}40%{transform:rotate(5deg)translateY(-2px)}50%{transform:rotate(-8deg)translateY(-3px)}60%{transform:rotate(8deg)translateY(-4px)}70%{transform:rotate(-12deg)translateY(-5px)}80%{transform:rotate(12deg)translateY(-6px)}90%{transform:rotate(-14deg)translateY(-6px)}to{transform:rotate(0)translateY(0)scale(1.06)}}.omikuji-cylinder-box.rising{animation:.5s ease-out tubeJolt}@keyframes tubeJolt{0%{transform:scaleY(.88)scaleX(1.06)}45%{transform:scaleY(1.07)scaleX(.97)}to{transform:scale(1)}}.omikuji-stick{opacity:0;box-sizing:border-box;background:repeating-linear-gradient(90deg,#b453091f 0 1px,#0000 1px 3px),linear-gradient(#fff7d6 0%,#fde68a 60%,#f6c453 100%);border:1.5px solid #b45309;border-radius:5px 5px 2px 2px;align-items:flex-end;width:22px;height:80px;padding-bottom:8px;transition:none;bottom:74px;transform:translateY(40px)}.omikuji-stick:before{content:"";background:radial-gradient(circle at 35% 35%,#f87171,#b91c1c);border-radius:50%;width:8px;height:8px;margin-left:-4px;position:absolute;top:5px;left:50%;box-shadow:0 0 6px #dc2626b3}.omikuji-stick.pop-out{opacity:1;filter:drop-shadow(0 0 10px #fde047f2);animation:.8s cubic-bezier(.2,.9,.3,1) forwards stickLaunch}@keyframes stickLaunch{0%{opacity:0;transform:translateY(40px)rotate(0)scale(.9)}15%{opacity:1}55%{transform:translateY(-112px)rotate(14deg)scale(1.12)}75%{transform:translateY(-96px)rotate(-7deg)scale(1.06)}to{transform:translateY(-100px)rotate(0)scale(1.08)}}.burst-sparks{z-index:4;width:0;height:0;position:absolute;bottom:113px;left:50%}.burst-spark{opacity:0;width:6px;height:6px;animation:.9s ease-out forwards sparkOut;animation-delay:calc(var(--i) * 15ms);background:#fde047;border-radius:50%;position:absolute;top:-3px;left:-3px;box-shadow:0 0 8px 2px #fbbf24}@keyframes sparkOut{0%{transform:rotate(var(--a)) translateX(0) scale(1.3);opacity:1}to{transform:rotate(var(--a)) translateX(var(--d)) scale(.1);opacity:0}}.sekijin-bubble{animation:.5s cubic-bezier(.34,1.56,.64,1) both bubblePop}@keyframes bubblePop{0%{opacity:0;transform:translateY(8px)scale(.9)}to{opacity:1;transform:none}}.btn-draw-omikuji{animation:2.4s ease-out infinite btnPulse;position:relative;overflow:hidden}.btn-draw-omikuji:after{content:"";background:linear-gradient(105deg,#0000,#ffffff8c,#0000);width:36%;animation:3.2s ease-in-out infinite btnShine;position:absolute;top:0;bottom:0;left:0;transform:translate(-200%)skew(-18deg)}@keyframes btnPulse{0%{box-shadow:0 8px 24px #05966959,0 0 #10b9818c}70%,to{box-shadow:0 8px 24px #05966959,0 0 0 18px #10b98100}}@keyframes btnShine{0%,55%{transform:translate(-200%)skew(-18deg)}to{transform:translate(520%)skew(-18deg)}}.btn-draw-omikuji:disabled{background:linear-gradient(135deg,#f59e0b 0%,#dc2626 100%);border-color:#fde68a;animation:.45s ease-in-out infinite alternate btnCharging}@keyframes btnCharging{0%{transform:scale(1);box-shadow:0 8px 24px #f59e0b73}to{transform:scale(1.04);box-shadow:0 10px 34px #dc2626a6}}.confetti-6{clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);width:13px;height:13px;box-shadow:none;filter:drop-shadow(0 0 4px #f59e0bcc);background:linear-gradient(135deg,#fde68a,#f59e0b)}.confetti-7{background:linear-gradient(135deg,#86efac,#16a34a);border-radius:0 100%;width:11px;height:17px}.confetti-8{background:linear-gradient(135deg,#fbcfe8,#f472b6);border-radius:50% 50% 50% 0;width:12px;height:12px}.omikuji-result-card{transform-origin:50% 0;animation:1s cubic-bezier(.16,1,.3,1) backwards omikujiUnroll}@keyframes omikujiUnroll{0%{opacity:0;clip-path:inset(0 0 100% round 24px);transform:translateY(-14px)scaleY(.92)}12%{opacity:1}to{opacity:1;clip-path:inset(0 round 24px);transform:none}}.result-ofuda-header{overflow:hidden}.ofuda-stamp{animation:.5s cubic-bezier(.175,.885,.32,1.275) .85s both stampPress}.ofuda-stamp:after{content:"";opacity:0;border:2px solid #dc262680;border-radius:16px;animation:.8s ease-out .95s both stampRipple;position:absolute;inset:-6px}@keyframes stampRipple{0%{opacity:.9;transform:scale(.8)}to{opacity:0;transform:scale(1.6)}}.fortune-pill{animation:.7s cubic-bezier(.34,1.56,.64,1) .35s both pillPop;position:relative;overflow:hidden}.fortune-pill.iwai{animation:.7s cubic-bezier(.34,1.56,.64,1) .35s both pillPop,2.5s ease-in-out 1.1s infinite alternate iwaiGoldGlow}@keyframes pillPop{0%{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}.fortune-char{animation:.65s cubic-bezier(.34,1.56,.64,1) both charDrop;display:inline-block}@keyframes charDrop{0%{opacity:0;filter:blur(6px);transform:translateY(-46px)scale(2.6)rotate(-14deg)}60%{opacity:1;filter:blur();transform:translateY(4px)scale(.94)rotate(2deg)}to{transform:none}}.fortune-pill:after{content:"";background:linear-gradient(100deg,#0000,#ffffff8c,#0000);width:40%;animation:3.6s ease-in-out 1.4s infinite pillShine;position:absolute;top:0;bottom:0;left:0;transform:translate(-160%)skew(-18deg)}@keyframes pillShine{0%{transform:translate(-160%)skew(-18deg)}40%,to{transform:translate(380%)skew(-18deg)}}.result-subtitle{animation:.7s cubic-bezier(.16,1,.3,1) .9s both bodyRise}.result-body>*{animation:.7s cubic-bezier(.16,1,.3,1) both bodyRise}.result-body>:first-child{animation-delay:1s}.result-body>:nth-child(2){animation-delay:1.15s}.result-body>:nth-child(3){animation-delay:1.3s}.result-body>:nth-child(4){animation-delay:1.45s}.result-body>:nth-child(5){animation-delay:1.6s}.result-body>:nth-child(6){animation-delay:1.75s}.result-body>:nth-child(n+7){animation-delay:1.9s}@keyframes bodyRise{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}.omikuji-result-card.lucky{border-color:#fcd34d;animation:1s cubic-bezier(.16,1,.3,1) backwards omikujiUnroll,3s ease-in-out 1.2s infinite alternate luckyGlow}@keyframes luckyGlow{0%{box-shadow:0 12px 36px #0000001a,0 0 18px #fbbf2459}to{box-shadow:0 12px 36px #0000001a,0 0 42px #fbbf24d9}}.card-motes{pointer-events:none;position:absolute;inset:0;overflow:hidden}.card-mote{bottom:-8px;left:calc(var(--l) * 1%);width:calc(var(--s) * 1px);height:calc(var(--s) * 1px);opacity:0;animation:moteRise var(--dur) ease-in infinite;animation-delay:var(--delay);background:radial-gradient(circle,#fff7c2,#fbbf24);border-radius:50%;position:absolute;box-shadow:0 0 6px #fbbf24e6}@keyframes moteRise{0%{opacity:0;transform:translateY(0)scale(.5)}15%{opacity:1}to{transform:translateY(-130px) translateX(calc(var(--sw) * 1px)) scale(1);opacity:0}}@media (width<=640px){.sekijin-wrapper{width:118px;height:162px}.stage-sun{width:72px;height:72px;margin-left:-36px}.energy-ring{width:220px;height:220px;margin:-110px 0 0 -110px}}@media (prefers-reduced-motion:reduce){.stage-sky-glow,.stage-sun,.stage-rays,.cloud,.hill-far,.hill-mid,.tube-tassel,.omikuji-tube:after,.btn-draw-omikuji,.btn-draw-omikuji:after,.fortune-pill:after,.sekijin-wrapper,.omikuji-cylinder-box,.omikuji-cylinder-box .tube-tip,.omikuji-result-card.lucky{animation:none!important}.stage-leaf,.stage-mote,.card-mote,.energy-ring,.shockwave,.stage-flash,.fw-p,.burst-spark,.confetti-container{display:none!important}.omikuji-stick.pop-out{opacity:1;transform:translateY(-100px);animation:none!important}}.splash-screen-container{z-index:999999;-webkit-user-select:none;user-select:none;box-sizing:border-box;opacity:1;visibility:visible;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100dvh;transition:opacity .35s cubic-bezier(.16,1,.3,1),visibility .35s;display:flex;position:fixed;inset:0;overflow:hidden}.splash-screen-container.fade-out{opacity:0;visibility:hidden;pointer-events:none}.splash-screen-inner{width:100%;max-width:440px;height:100%;max-height:840px;padding:max(36px, env(safe-area-inset-top,24px)) 20px max(24px, env(safe-area-inset-bottom,20px));box-sizing:border-box;flex-direction:column;justify-content:space-between;display:flex}.splash-screen-container.theme-normal{color:#f8fafc;background:linear-gradient(#062414 0%,#03130b 100%)}.splash-brand-header{text-align:center;margin-top:6px;margin-bottom:10px}.splash-brand-badge{color:#86efac;letter-spacing:.05em;background:#22c55e2e;border:1px solid #22c55e66;border-radius:9999px;align-items:center;gap:6px;padding:6px 16px;font-size:clamp(.78rem,2.5vw,.88rem);font-weight:700;display:inline-flex}.splash-brand-sub{color:#a7f3d0;letter-spacing:.08em;opacity:.9;margin-top:6px;font-size:clamp(.72rem,2.2vw,.8rem)}.splash-senior-card{color:#0f172a;text-align:center;cursor:default;background:#fff;border-radius:24px;max-height:60vh;padding:clamp(18px,3.5vh,26px) clamp(16px,4vw,22px);overflow-y:auto;box-shadow:0 15px 35px #00000073}.splash-senior-card-icon{margin-bottom:4px;font-size:clamp(2rem,5vh,2.6rem);line-height:1.2}.splash-senior-card-title{color:#0f172a;letter-spacing:.05em;margin-bottom:12px;font-size:clamp(1.22rem,3.8vw,1.42rem);font-weight:800}.splash-senior-card-body{color:#334155;text-align:left;font-size:clamp(.96rem,3.1vw,1.05rem);font-weight:500;line-height:1.85}.splash-senior-card-body em{color:#dc2626;text-underline-offset:4px;font-style:normal;font-weight:800;text-decoration:underline}.splash-senior-card-body strong.highlight-text{color:#d97706;font-weight:800}.splash-footer{text-align:center;flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.splash-btn-enter{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:16px;justify-content:center;align-items:center;gap:8px;width:100%;padding:15px;font-size:clamp(1.05rem,3.5vw,1.18rem);font-weight:800;transition:transform .15s,background-color .15s;display:flex;box-shadow:0 6px 20px #16a34a66}.splash-btn-enter:active{background-color:#15803d;transform:scale(.98)}.splash-auto-hint{color:#86efac;opacity:.85;letter-spacing:.03em;font-size:.76rem}.splash-progress-wrap{background:#ffffff26;border-radius:2px;width:100%;height:3px;margin-top:2px;overflow:hidden}.splash-progress-bar{background:#4ade80;width:0%;height:100%;animation:4.5s linear forwards splashAutoProgress}@keyframes splashAutoProgress{0%{width:0%}to{width:100%}}.splash-screen-container.theme-notif-off{color:#f8fafc;background:linear-gradient(#1c1917 0%,#0c0a09 100%)}.splash-warning-badge{color:#facc15;background:#eab3082e;border:1px solid #eab30873;border-radius:9999px;align-items:center;gap:6px;padding:6px 16px;font-size:clamp(.78rem,2.5vw,.88rem);font-weight:700;display:inline-flex}.splash-btn-enable-notif{color:#fff;cursor:pointer;background:#d97706;border:none;border-radius:16px;justify-content:center;align-items:center;gap:8px;width:100%;padding:15px;font-size:clamp(1.05rem,3.5vw,1.15rem);font-weight:800;transition:transform .15s,background-color .15s;display:flex;box-shadow:0 6px 20px #d9770666}.splash-btn-enable-notif:active{background-color:#b45309;transform:scale(.98)}.splash-btn-skip-link{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:6px 10px;font-size:.85rem;text-decoration:underline;transition:color .15s}.splash-btn-skip-link:hover{color:#e2e8f0}.splash-os-guide-box{text-align:left;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:14px;margin-top:10px;padding:12px 14px}.splash-os-guide-step{color:#1e293b;align-items:flex-start;gap:8px;margin-bottom:8px;font-size:clamp(.9rem,2.9vw,.98rem);line-height:1.6;display:flex}.splash-os-guide-step:last-child{margin-bottom:0}.splash-step-num{color:#fff;background:#3b82f6;border-radius:50%;justify-content:center;align-items:center;width:22px;min-width:22px;height:22px;margin-top:2px;font-size:.78rem;font-weight:800;display:inline-flex}.splash-os-guide-note{color:#64748b;border-top:1px dashed #cbd5e1;margin-top:8px;padding-top:6px;font-size:.8rem;line-height:1.5}.splash-screen-container.theme-emergency{color:#f1f5f9;background-color:#000;animation:2s infinite alternate emergencyPulseBg}@keyframes emergencyPulseBg{0%{box-shadow:inset 0 0 40px #dc262659}to{box-shadow:inset 0 0 90px #dc2626b3}}.splash-bio-header{text-align:center;margin-top:10px;margin-bottom:12px}.splash-bio-danger-box{color:#fca5a5;letter-spacing:.22em;text-transform:uppercase;background:#ef444440;border:2px solid #ef4444;border-radius:4px;margin-bottom:14px;padding:6px 18px;font-size:clamp(.78rem,2.5vw,.9rem);font-weight:800;animation:1.2s infinite blinkBox;display:inline-block}@keyframes blinkBox{0%,to{opacity:1;border-color:#ef4444}50%{opacity:.6;border-color:#b91c1c}}.splash-bio-main-title{letter-spacing:.28em;color:#fff;text-indent:.28em;text-shadow:0 0 18px #ef4444d9;margin-bottom:12px;font-size:clamp(1.65rem,5.2vw,2.1rem);font-weight:900}.splash-bio-red-line{background:#ef4444;width:50px;height:3px;margin:0 auto 16px;box-shadow:0 0 10px #ef4444}.splash-bio-card{background:#0f172abf;border:1px solid #ef444466;border-radius:20px;max-height:55vh;margin-bottom:auto;padding:clamp(18px,3vh,24px) clamp(16px,4vw,22px);overflow-y:auto;box-shadow:0 10px 30px #000c,inset 0 0 15px #dc262626}.splash-bio-evac-body{color:#f1f5f9;text-align:left;letter-spacing:.03em;font-size:clamp(.95rem,3.2vw,1.05rem);line-height:1.95}.splash-bio-evac-body strong{color:#fca5a5;background:#dc262659;border-radius:4px;padding:2px 6px;font-weight:800}.splash-btn-bio-evac{color:#fff;cursor:pointer;letter-spacing:.05em;background:#dc2626;border:1.5px solid #ef4444;border-radius:14px;justify-content:center;align-items:center;gap:10px;width:100%;padding:16px;font-size:clamp(1.05rem,3.6vw,1.2rem);font-weight:800;transition:transform .15s,background-color .15s;animation:1.5s infinite pulseBtn;display:flex;box-shadow:0 0 25px #dc2626b3}.splash-btn-bio-evac:active{background-color:#b91c1c;transform:scale(.98)}@keyframes pulseBtn{0%{transform:scale(1)}50%{transform:scale(1.02)}to{transform:scale(1)}}.splash-bio-sub-hint{color:#94a3b8;letter-spacing:.05em;text-align:center;margin-top:6px;font-size:.78rem}#root{width:100%;height:100%}.new-badge{color:#fff;vertical-align:middle;background:#e53935;border-radius:4px;margin-left:6px;padding:2px 6px;font-size:.65em;font-weight:700;line-height:1.2;display:inline-block}*,:before,:after{box-sizing:border-box}html{overscroll-behavior-x:none;touch-action:manipulation;-webkit-text-size-adjust:auto;-moz-text-size-adjust:auto;text-size-adjust:auto}body{color:#212529;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#fff;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;line-height:1.5}#root{flex-direction:column;width:100%;min-height:100vh;display:flex}@media (display-mode:standalone) and (width<=1024px) and (orientation:portrait){html,body,#root{height:100dvh;overflow:hidden}}@media (width<=1024px) and (orientation:portrait){html.is-pwa,html.is-pwa body,html.is-pwa #root{height:100dvh;overflow:hidden}}h1,h2,h3,h4,h5,h6{color:inherit;margin-top:0;margin-bottom:.5rem;font-family:inherit;font-weight:500}h1{font-size:1.75rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1.1rem}p{margin-top:0;margin-bottom:1rem}a{color:#1a73e8;text-decoration:none}a:hover{text-decoration:underline}.skeleton{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%) 0 0/200% 100%;border-radius:4px;animation:1.5s infinite skeleton-shimmer;display:inline-block}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.markdown-body{word-break:break-word}.markdown-body p{white-space:normal;margin-top:0;margin-bottom:.5rem}.markdown-body p:last-child{margin-bottom:0}.markdown-body ul,.markdown-body ol{white-space:normal;margin-top:.25rem;margin-bottom:.5rem;padding-left:1.5rem}.markdown-body li{white-space:normal;margin-bottom:.25rem}.markdown-body li:last-child{margin-bottom:0}.comment-text{font-size:.95em;line-height:1.6}.markdown-alert{background-color:#f8fafc;border-radius:8px;margin:16px 0;padding:12px 16px;box-shadow:0 1px 3px #0000000d;color:#1e293b!important}.markdown-alert-title{align-items:center;gap:6px;margin-bottom:8px;font-size:.95rem;font-weight:700;display:flex}.markdown-alert p{margin-bottom:.5rem;line-height:1.6;color:#1e293b!important}.markdown-alert p:last-child{margin-bottom:0}.markdown-alert ul,.markdown-alert ol{margin:6px 0;padding-left:20px;color:#1e293b!important}.markdown-alert li{margin:4px 0;line-height:1.6;color:#1e293b!important}.markdown-alert strong{font-weight:700;color:inherit!important}.markdown-alert code{color:#e11d48!important}.markdown-alert.markdown-alert-note{background-color:#eff6ff;border:1px solid #bfdbfe;border-left:4px solid #2563eb}.markdown-alert.markdown-alert-note .markdown-alert-title{color:#1d4ed8}.markdown-alert.markdown-alert-tip{background-color:#f0fdf4;border:1px solid #bbf7d0;border-left:4px solid #16a34a}.markdown-alert.markdown-alert-tip .markdown-alert-title{color:#15803d}.markdown-alert.markdown-alert-important{background-color:#f5f3ff;border:1px solid #ddd6fe;border-left:4px solid #8b5cf6}.markdown-alert.markdown-alert-important .markdown-alert-title{color:#6d28d9}.markdown-alert.markdown-alert-warning{background-color:#fffbeb;border:1px solid #fde68a;border-left:4px solid #d97706}.markdown-alert.markdown-alert-warning .markdown-alert-title{color:#b45309}.markdown-alert.markdown-alert-caution{background-color:#fef2f2;border:1px solid #fecaca;border-left:4px solid #dc2626}.markdown-alert.markdown-alert-caution .markdown-alert-title{color:#b91c1c}blockquote,.markdown-blockquote{box-sizing:border-box;word-break:break-word;overflow-wrap:anywhere;background:#f8fafc;border:1px solid #e2e8f0;border-left:4px solid #1a73e8;border-radius:0 6px 6px 0;max-width:100%;margin:12px 0;padding:8px 14px;font-style:normal;color:#1e293b!important}blockquote *,.markdown-blockquote *{color:#1e293b!important}blockquote p,.markdown-blockquote p{margin-bottom:.25rem;color:#1e293b!important}blockquote p:last-child,.markdown-blockquote p:last-child{margin-bottom:0}blockquote blockquote,.markdown-blockquote .markdown-blockquote{background:#f1f5f9;border-left:3px solid #60a5fa;margin:6px 0;padding:6px 10px;color:#334155!important}blockquote blockquote *,.markdown-blockquote .markdown-blockquote *{color:#334155!important}.markdown-pre{color:#24292f;box-sizing:border-box;background:#f6f8fa;border:1px solid #d0d7de;border-radius:8px;max-width:100%;margin:12px 0;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.85em;line-height:1.45;overflow-x:auto}.markdown-inline-code{color:#e11d48;word-break:break-word;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.88em}.markdown-table-wrapper{-webkit-overflow-scrolling:touch;max-width:100%;margin:14px 0;overflow-x:auto}.markdown-table{border-collapse:collapse;text-align:left;box-sizing:border-box;width:100%;font-size:.9em;line-height:1.5}.markdown-th{text-align:left;color:#334155;white-space:nowrap;background:#f8fafc;border:1px solid #cbd5e1;padding:10px 14px;font-weight:600}.markdown-td{color:#1e293b;word-break:break-word;background:#fff;border:1px solid #e2e8f0;padding:10px 14px}@media (prefers-color-scheme:dark){blockquote,.markdown-blockquote{background:#f8fafc;border-left-color:#1a73e8;color:#1e293b!important}blockquote *,.markdown-blockquote *,blockquote p,.markdown-blockquote p{color:#1e293b!important}blockquote blockquote,.markdown-blockquote .markdown-blockquote{background:#f1f5f9;border-left-color:#60a5fa;color:#334155!important}blockquote blockquote *,.markdown-blockquote .markdown-blockquote *{color:#334155!important}.markdown-th{color:#334155;background:#f8fafc;border-color:#cbd5e1}.markdown-td{color:#1e293b;background:#fff;border-color:#e2e8f0}}.mermaid-block-wrapper{text-align:center;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:8px;max-width:100%;margin:16px 0;padding:16px;overflow-x:auto}.mermaid-block-wrapper svg{max-width:100%;height:auto}.mermaid-loading{color:#94a3b8;justify-content:center;align-items:center;gap:8px;padding:24px;font-size:.9em;display:flex}.mermaid-spinner{border:2px solid #e2e8f0;border-top-color:#94a3b8;border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:.8s linear infinite mermaid-spin;display:inline-block}@keyframes mermaid-spin{to{transform:rotate(360deg)}}.mermaid-error-fallback{border-left:4px solid #fca5a5}@media (prefers-color-scheme:dark){.mermaid-block-wrapper{background:#0f172a;border-color:#334155}}@media (width<=1023px){.mermaid-block-wrapper{margin:10px 0;padding:10px 4px}}.html-embed-wrapper{box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:10px;max-width:100%;margin:16px 0;padding:12px}.html-embed-badge{color:#475569;align-items:center;gap:6px;margin-bottom:8px;font-size:.78rem;font-weight:600;display:flex}.html-embed-iframe{background:0 0;border:none;width:100%;display:block}@media (prefers-color-scheme:dark){.html-embed-wrapper{background:#0f172a;border-color:#334155}.html-embed-badge{color:#94a3b8}}@media (width<=1023px){.html-embed-wrapper{margin:12px 0;padding:10px 8px}}
