/* Haaka TV 35.10 — editorial member access + restrained video controls.
   Scoped to avoid affecting /admin, site navigation or existing authentication. */
.haaka3510-auth.auth-page{background:var(--bg,#f6f3ef);grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:clamp(12px,2vw,28px)!important;padding:clamp(14px,2vw,30px)!important;min-height:min(810px,calc(100svh - 85px))!important}
.haaka3510-auth .haaka353-auth-story{isolation:isolate;position:relative;border-radius:24px;min-height:680px!important;background:radial-gradient(ellipse at 30% 25%,rgba(230,159,98,.18),transparent 55%),linear-gradient(125deg,#221b19 10%,#3c2c28 65%,#171d1d)!important;box-shadow:0 30px 80px rgba(24,17,13,.17);padding:clamp(32px,4vw,65px)!important}
.haaka3510-auth .haaka353-auth-story:before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 72px,rgba(255,255,255,.026) 73px 74px);opacity:.7}
.haaka3510-auth .haaka353-story-top{font-size:.72rem;letter-spacing:.15em}
.haaka3510-auth .haaka353-story-body{padding:44px 0 18px!important;max-width:600px}
.haaka3510-auth .haaka353-story-body h1{font-size:clamp(2.8rem,4.45vw,5.3rem)!important;line-height:1.075;max-width:570px}
.haaka3510-auth .haaka353-story-body>p:last-of-type{max-width:520px;font-size:clamp(.95rem,1.1vw,1.12rem)}
.haaka3510-auth .haaka353-story-tags{gap:8px;margin-top:24px}.haaka3510-auth .haaka353-story-tags span{font-size:.7rem}
.haaka3510-editorial-art{position:relative;z-index:1;display:flex;gap:14px;align-items:flex-end;padding:12px 5px 24px;min-height:170px;max-width:510px}
.haaka3510-frame{position:relative;display:flex;flex:1;min-height:155px;min-width:0;flex-direction:column;justify-content:space-between;border:1px solid rgba(255,255,255,.19);border-radius:13px;padding:14px;color:#fff;box-shadow:0 14px 35px rgba(0,0,0,.23);background:linear-gradient(145deg,#ac5c35,#392825 72%);transform:rotate(-5deg)}
.haaka3510-frame-b{min-height:180px;transform:rotate(2deg) translateY(-8px);background:linear-gradient(145deg,#816a4c,#222d2d 70%)}.haaka3510-frame-c{transform:rotate(6deg);background:linear-gradient(140deg,#49626a,#251c25)}
.haaka3510-frame small,.haaka3510-frame i{font:700 .56rem/1.3 'DM Sans',sans-serif;letter-spacing:.12em;font-style:normal;color:#ffffffd9}
.haaka3510-frame b{font-size:clamp(.84rem,1.38vw,1.2rem);line-height:1.18;letter-spacing:-.025em}
.haaka3510-auth .haaka353-auth-form-col{border-radius:24px;background:var(--bg-2,#fffdf9);border:1px solid var(--line,#eadfd3);min-width:0;padding:clamp(28px,4vw,64px)!important;box-shadow:0 16px 60px rgba(36,26,20,.065)}
.haaka3510-auth .haaka353-auth-card{max-width:470px;padding:0!important}
.haaka3510-auth .haaka353-form-top{margin-bottom:28px}
.haaka3510-welcome-mark{display:grid;place-items:center;width:55px;height:55px;border-radius:17px;background:linear-gradient(135deg,#c4693d,#813e2c);box-shadow:0 12px 25px rgba(164,70,36,.2);color:white;font:900 2rem/1 'Manrope',sans-serif;letter-spacing:-.12em;margin-bottom:25px}
.haaka3510-welcome-mark span{color:#ffd6a2;letter-spacing:0;font-size:1.2rem}
.haaka3510-auth .haaka353-auth-card h2{font-size:clamp(2.2rem,3vw,3.25rem);letter-spacing:-.06em}
.haaka3510-auth .haaka353-auth-summary{max-width:390px;margin-bottom:27px!important}
.haaka3510-auth .haaka353-control{min-height:59px;border-radius:15px}
.haaka3510-auth .haaka353-control:hover{border-color:#aa8772}
.haaka3510-auth .haaka353-submit{min-height:55px;border-radius:14px;transition:transform .18s,box-shadow .18s}
.haaka3510-auth .haaka353-submit:hover{transform:translateY(-1px);box-shadow:0 12px 25px rgba(164,70,36,.2)}
.haaka3510-security-hint,.haaka3510-password-guidance{display:flex;align-items:flex-start;gap:8px;font-size:.73rem;line-height:1.5;color:var(--muted,#766961);margin:10px 0 15px}
.haaka3510-security-hint span,.haaka3510-password-guidance span:first-child{color:#b45d37}
html[data-theme=dark] .haaka3510-auth .haaka353-auth-form-col{background:#292320;border-color:#433831}
html[data-theme=dark] .haaka3510-security-hint,html[data-theme=dark] .haaka3510-password-guidance{color:#cebfb4}
/* Video page — controls read as one small action bar, not instructional paragraphs. */
.video09-page .haaka3510-player-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:13px 15px;margin-top:0;background:var(--bg-2,#fff);border-top:1px solid var(--line,#ddd);color:var(--text,#222)}
.video09-page .haaka3510-player-format{min-width:0;display:flex;align-items:center;flex:1 1 auto}
.video09-page .haaka3510-format-chip{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:.77rem;line-height:1.2;padding:9px 12px;border:1px solid var(--line,#ddd);border-radius:99px;white-space:nowrap;background:var(--panel,var(--bg-2))}
.video09-page .haaka3510-format-chip span{font-size:1.05rem}
.video09-page .haaka3510-format-switch{display:flex;flex-wrap:wrap;gap:7px;margin:0}
.video09-page .haaka3510-format-switch a{border-radius:100px;min-height:36px;display:inline-flex;align-items:center;gap:5px;padding:7px 12px;font-size:.76rem}
.video09-page .haaka3510-speed-group{display:flex;align-items:center;gap:9px;font-size:.77rem;font-weight:700;white-space:nowrap}
.video09-page .haaka3510-speed-group label{color:var(--muted,#666);margin:0}
.video09-page .haaka3510-speed-group select{min-width:77px;padding:7px 23px 7px 10px;border-radius:9px;border:1px solid var(--line,#aaa);background:var(--bg-2,#fff);color:var(--text,#222);font-weight:750}
.video09-page .haaka3510-player-info{position:relative;max-width:100%}
.video09-page .haaka3510-player-info>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;border:1px solid var(--line,#aaa);border-radius:99px;padding:8px 12px;font-size:.76rem;font-weight:750;white-space:nowrap;background:var(--panel,var(--bg-2))}
.video09-page .haaka3510-player-info>summary::-webkit-details-marker{display:none}
.video09-page .haaka3510-player-info[open]>summary,.video09-page .haaka3510-player-info>summary:hover{border-color:var(--accent,#bb612e)}
.video09-page .haaka3510-player-help{position:absolute;top:calc(100% + 10px);right:0;z-index:20;min-width:min(310px,85vw);max-width:90vw;background:var(--bg-2,#fff);border:1px solid var(--line,#aaa);box-shadow:0 17px 45px rgba(0,0,0,.16);border-radius:13px;padding:14px 16px;color:var(--text,#222)}
.video09-page .haaka3510-player-help p{font-size:.82rem;line-height:1.5;margin:0 0 9px}.video09-page .haaka3510-player-help p:last-child{margin:0}
.video09-page .haaka3510-player-bar :is(a,button,select,summary):focus-visible{outline:3px solid var(--accent,#b45d37);outline-offset:2px}
/* When super admin disables hero16-visual, use a spacious single-column editorial hero. */
.haaka3510-hero-no-visual .home07-slide-content{grid-template-columns:minmax(0,1fr)!important;justify-items:start!important}
.haaka3510-hero-no-visual .home07-slide-content .home07-hero-copy{max-width:820px!important}
.haaka3510-hero-no-visual .hero-content>.row{display:block!important;max-width:950px}
.haaka3510-hero-no-visual .hero-content .hero-copy{max-width:830px!important;width:100%!important}
.admin14-shell .haaka3510-hero-option{flex:1 1 100%;width:100%;border-radius:10px;background:var(--admin14-warm,var(--bg-2));border:1px solid var(--admin14-border,var(--line));padding:14px}
.admin14-shell .haaka3510-hero-option label{display:flex;align-items:center;gap:12px;cursor:pointer;margin:0;color:var(--admin14-ink,var(--text))}
.admin14-shell .haaka3510-hero-option input[type=checkbox]{width:20px;height:20px;accent-color:var(--admin14-copper,#b65c35);flex:none}
.admin14-shell .haaka3510-hero-option strong{display:block;font-size:.9rem}
.admin14-shell .haaka3510-hero-option small{display:block;font-size:.78rem;margin-top:3px;color:var(--admin14-muted,var(--muted));line-height:1.4}
@media(max-width:1030px){.haaka3510-auth.auth-page{grid-template-columns:minmax(0,1fr)!important;min-height:0!important}.haaka3510-auth .haaka353-auth-story{min-height:0!important}.haaka3510-auth .haaka3510-editorial-art{display:none}.haaka3510-auth .haaka353-auth-form-col{padding:28px!important}.haaka3510-auth .haaka353-story-footer{display:none}}
@media(max-width:600px){.haaka3510-auth.auth-page{padding:10px!important;gap:10px!important}.haaka3510-auth .haaka353-auth-story{padding:25px!important;border-radius:17px}.haaka3510-auth .haaka353-story-body h1{font-size:clamp(2rem,8vw,3rem)!important}.haaka3510-auth .haaka353-auth-form-col{border-radius:17px;padding:24px 20px!important}.haaka3510-auth .haaka3510-welcome-mark{margin-bottom:12px;width:45px;height:45px}.video09-page .haaka3510-player-bar{padding:10px;gap:9px}.video09-page .haaka3510-speed-group label{display:none}.video09-page .haaka3510-player-info>summary{font-size:.71rem}.video09-page .haaka3510-player-help{right:0;min-width:min(290px,78vw)}}
@media(prefers-reduced-motion:reduce){.haaka3510-auth .haaka353-submit{transition:none!important;transform:none!important}}
/* Keep the disclosure popover visible outside the video shell's original clipping. */
.video09-page .video09-player{overflow:visible}
.video09-page .video09-player .video-player-shell{overflow:hidden;border-radius:10px 10px 0 0}
.video09-page .haaka3510-player-bar{border-radius:0 0 10px 10px}
