.layout{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.site-header{position:sticky;top:0;z-index:10;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:#0f0f14eb;border-bottom:1px solid var(--border);padding-top:env(safe-area-inset-top)}.header-inner{display:flex;flex-direction:column;align-items:stretch;gap:.85rem;padding:.85rem 0}.brand{display:flex;align-items:center;gap:.65rem}.brand span{display:flex;flex-direction:column;line-height:1.2;min-width:0}.brand strong{font-size:1rem}.brand small{color:var(--text-muted);font-size:.7rem}.brand-emoji{font-size:1.5rem;flex-shrink:0}.site-nav{display:flex;align-items:center;gap:.5rem;width:100%}.site-nav a{flex:1;text-align:center;padding:.65rem .75rem;min-height:var(--touch-min);display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:var(--text-muted);font-weight:500;font-size:.9rem;transition:color .15s,background .15s}@media(hover:hover){.site-nav a:hover{color:var(--text);background:var(--surface-hover)}}.nav-cta{background:var(--accent-soft)!important;color:var(--accent)!important;font-weight:600!important}.site-main{flex:1;padding:1.25rem 0 2.5rem}.site-footer{border-top:1px solid var(--border);padding:1.25rem 0;padding-bottom:max(1.25rem,env(safe-area-inset-bottom));color:var(--text-muted);font-size:.8rem;text-align:center;line-height:1.5}@media(min-width:640px){.header-inner{flex-direction:row;align-items:center;justify-content:space-between;padding:1rem 0;gap:1rem}.brand strong{font-size:1.05rem}.brand small{font-size:.75rem}.brand-emoji{font-size:1.75rem}.site-nav{width:auto;flex:none}.site-nav a{flex:none;padding:.5rem .85rem;min-height:auto}.site-main{padding:2rem 0 3rem}.site-footer{font-size:.85rem;padding:1.5rem 0;padding-bottom:max(1.5rem,env(safe-area-inset-bottom))}}.reaction-picker{display:flex;flex-wrap:wrap;gap:.4rem}.reaction-btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:var(--touch-min);padding:.5rem .75rem;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:.8rem;transition:border-color .15s,background .15s,color .15s}@media(hover:hover){.reaction-btn:hover:not(:disabled){border-color:var(--accent);color:var(--text)}}.reaction-btn:active:not(:disabled){transform:scale(.97)}.reaction-btn.active{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.reaction-emoji{font-size:1.05rem}.reaction-count{font-weight:600;min-width:.5rem}@media(min-width:768px){.reaction-picker{gap:.5rem}.reaction-btn{min-height:auto;padding:.4rem .65rem}}.vote-controls{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.15rem;flex-shrink:0}.vote-btn{display:flex;align-items:center;justify-content:center;width:var(--touch-min);height:2.25rem;border:none;background:transparent;color:var(--text-muted);font-size:.9rem;border-radius:8px;transition:color .15s,background .15s}@media(hover:hover){.vote-btn:hover:not(:disabled){background:var(--surface-hover)}}.vote-btn:active:not(:disabled){transform:scale(.95)}.vote-btn.active.up{color:var(--success)}.vote-btn.active.down{color:var(--danger)}.vote-score{font-weight:700;font-size:.9rem;min-width:1.75rem;text-align:center}@media(min-width:768px){.vote-btn{width:2rem;height:1.5rem;font-size:.85rem}.vote-score{min-width:1.5rem}}.story-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;box-shadow:var(--shadow);transition:border-color .15s}@media(hover:hover){.story-card:hover{border-color:#ff6b9d4d}}.story-card-top{display:flex;gap:.75rem}.story-card-body{flex:1;min-width:0}.story-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .6rem;margin-bottom:.5rem}.category-badge{font-size:.7rem;font-weight:600;padding:.25rem .55rem;border-radius:999px;text-transform:uppercase;letter-spacing:.03em}.category-funny{background:#fbbf2426;color:#fbbf24}.category-wild{background:#f8717126;color:#f87171}.category-embarrassing{background:#f472b626;color:#f472b6}.category-wholesome{background:#4ade8026;color:#4ade80}.category-unexpected{background:#60a5fa26;color:#60a5fa}.category-disaster{background:#a78bfa26;color:#a78bfa}.category-plot_twist{background:#2dd4bf26;color:#2dd4bf}.story-rating{color:#fbbf24;font-size:.8rem;letter-spacing:1px}.story-date{flex-basis:100%;color:var(--text-muted);font-size:.75rem}@media(min-width:480px){.story-date{flex-basis:auto;margin-left:auto;font-size:.8rem}}.story-title{margin:0 0 .5rem;font-size:1.05rem;line-height:1.3}.story-content{margin:0 0 .75rem;color:var(--text);white-space:pre-wrap;word-break:break-word;font-size:.95rem;line-height:1.55}.story-repeat{margin:0 0 .75rem;font-size:.85rem;color:var(--text-muted)}.story-repeat strong{color:var(--text);text-transform:capitalize}@media(min-width:768px){.story-card{padding:1.25rem}.story-card-top{gap:1rem}.story-title{font-size:1.15rem}.category-badge{font-size:.75rem}}.feed-controls{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.25rem}.control-group{display:flex;flex-direction:column;gap:.35rem;width:100%}.control-group label{font-size:.8rem;color:var(--text-muted);font-weight:500}.control-group select{width:100%;min-height:var(--touch-min);padding:.65rem .75rem;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:16px}.story-list{display:flex;flex-direction:column;gap:.85rem}@media(min-width:640px){.feed-controls{flex-direction:row;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.control-group{width:auto;min-width:160px}.control-group select{width:auto;min-width:160px;font-size:inherit}.story-list{gap:1rem}}.submit-page{width:100%}.submission-guidelines{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:var(--radius);padding:1rem;margin-bottom:1.25rem}.submission-guidelines h2{margin:0 0 .5rem;font-size:.95rem;font-weight:600}.submission-guidelines p{margin:0 0 .75rem;color:var(--text-muted);font-size:.875rem;line-height:1.5}.submission-guidelines p:last-child{margin-bottom:0}.submission-guidelines ul{margin:0 0 .75rem;padding-left:1.15rem;color:var(--text-muted);font-size:.875rem;line-height:1.6}.submission-guidelines li{margin-bottom:.35rem}.submission-guidelines strong{color:var(--text)}.review-note{display:flex;align-items:flex-start;gap:.5rem;padding:.85rem 1rem;background:#60a5fa14;border:1px solid rgba(96,165,250,.25);border-radius:var(--radius);margin-bottom:1.25rem;font-size:.875rem;color:#bfdbfe;line-height:1.5}.review-note-icon{flex-shrink:0;font-size:1.1rem}.submit-actions{display:flex;flex-direction:column;gap:.75rem;align-items:stretch}.submit-actions .btn-primary{width:100%}.submit-reminder{font-size:.8rem;color:var(--text-muted);line-height:1.45}@media(min-width:640px){.submit-page{max-width:640px}.submission-guidelines{padding:1.1rem 1.25rem;margin-bottom:1.5rem}.submission-guidelines h2{font-size:1rem}.submission-guidelines p,.submission-guidelines ul{font-size:.9rem}.review-note{margin-bottom:1.5rem;font-size:.9rem}.submit-actions{align-items:flex-start}.submit-actions .btn-primary{width:auto}.submit-reminder{font-size:.85rem;max-width:36rem}}:root{--bg: #0f0f14;--surface: #1a1a24;--surface-hover: #242433;--border: #2e2e42;--text: #f4f4f8;--text-muted: #a0a0b8;--accent: #ff6b9d;--accent-soft: rgba(255, 107, 157, .15);--success: #4ade80;--danger: #f87171;--warning: #fbbf24;--radius: 12px;--shadow: 0 8px 32px rgba(0, 0, 0, .4);--container-max: 960px;--space-page: 1rem;--touch-min: 44px;font-family:Space Grotesk,system-ui,-apple-system,sans-serif;line-height:1.5;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%}@media(min-width:768px){:root{--space-page: 1.5rem}}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;min-height:100dvh;background:radial-gradient(ellipse at 20% 0%,rgba(255,107,157,.12),transparent 50%),radial-gradient(ellipse at 80% 100%,rgba(139,92,246,.1),transparent 50%),var(--bg);padding-bottom:env(safe-area-inset-bottom)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.container{width:100%;max-width:var(--container-max);margin:0 auto;padding-inline:max(var(--space-page),env(safe-area-inset-left)) max(var(--space-page),env(safe-area-inset-right))}.page-title{font-size:1.65rem;font-weight:700;margin:0 0 .5rem;line-height:1.2}@media(min-width:768px){.page-title{font-size:clamp(1.85rem,3vw,2.5rem)}}.page-subtitle{color:var(--text-muted);margin:0 0 1.25rem;font-size:.95rem;line-height:1.5}@media(min-width:768px){.page-subtitle{margin-bottom:2rem;font-size:1rem}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:var(--touch-min);padding:.75rem 1.25rem;border-radius:999px;border:none;font-weight:600;font-size:.95rem;transition:transform .15s,background .15s,opacity .15s}@media(hover:hover){.btn:hover:not(:disabled){transform:translateY(-1px)}}.btn:disabled{opacity:.5;cursor:not-allowed}.btn:active:not(:disabled){transform:scale(.98)}.btn-primary{background:var(--accent);color:#fff}@media(hover:hover){.btn-primary:hover:not(:disabled){background:#ff85ad}}.btn-secondary{background:var(--surface-hover);color:var(--text);border:1px solid var(--border)}.btn-danger{background:#f8717126;color:var(--danger);border:1px solid rgba(248,113,113,.3)}.btn-success{background:#4ade8026;color:var(--success);border:1px solid rgba(74,222,128,.3)}.form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.25rem}.form-group label{font-weight:500;font-size:.9rem}.form-group input,.form-group select,.form-group textarea{width:100%;min-height:var(--touch-min);padding:.75rem 1rem;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:16px}.form-group textarea{min-height:140px;resize:vertical}.form-hint{font-size:.8rem;color:var(--text-muted);line-height:1.4}.alert{padding:.85rem 1rem;border-radius:var(--radius);margin-bottom:1rem;font-size:.9rem;line-height:1.5}.alert-error{background:#f871711f;border:1px solid rgba(248,113,113,.3);color:#fecaca}.alert-success{background:#4ade801f;border:1px solid rgba(74,222,128,.3);color:#bbf7d0}.alert-warning{background:#fbbf241f;border:1px solid rgba(251,191,36,.3);color:#fde68a}.empty-state{text-align:center;padding:2.5rem 1rem;color:var(--text-muted)}.loading{text-align:center;padding:2rem 1rem;color:var(--text-muted)}
