:root{--navy:#071d31;--ink:#11283c;--muted:#6c8193;--line:#dce7ed;--paper:#f2f7fa;--teal:#18ada4;--white:#fff;--shadow:0 18px 55px rgba(13,42,62,.1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Aptos,"Segoe UI",sans-serif}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}.site-header,.app-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid var(--line)}.site-brand{display:flex;align-items:center;gap:11px}.site-brand>i{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:linear-gradient(145deg,#2ed8cf,#078698);color:#fff;font-size:27px;font-style:normal;box-shadow:0 8px 22px rgba(23,167,160,.22)}.site-brand b,.site-brand small{display:block}.site-brand b{font-size:16px}.site-brand small{color:#8094a5;font-size:10px;margin-top:2px}.site-header nav,.app-header nav{display:flex;align-items:center;gap:14px}.site-header nav>a:first-child,.app-header nav a{font-size:12px;font-weight:700;color:#526a7d}.app-header nav span{font-size:12px;font-weight:800}.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:var(--navy);color:#fff;padding:12px 17px;font-weight:800;box-shadow:0 9px 22px rgba(7,29,49,.14)}.button.small{padding:9px 13px;font-size:11px}.button.wide{width:100%}.button.pale{background:#fff;color:#385269;border:1px solid var(--line);box-shadow:none}.button.warm{background:linear-gradient(135deg,#ffb436,#ed850e);color:#fff}.overline{display:block;color:#168f89;font-size:10px;letter-spacing:.17em;font-weight:900;margin-bottom:9px}.landing{min-height:660px;max-width:1180px;margin:auto;display:grid;grid-template-columns:.8fr 1.2fr;gap:52px;align-items:center;padding:58px 24px}.hero-copy h1{font-size:clamp(42px,5vw,69px);line-height:.98;letter-spacing:-.06em;margin:0 0 25px}.hero-copy h1 em{font-style:normal;color:#12a39c}.hero-copy>p{color:var(--muted);font-size:17px;line-height:1.7;max-width:510px}.hero-actions{display:flex;align-items:center;gap:22px;margin-top:28px}.text-link{font-size:13px;font-weight:800}.trust-row{display:flex;gap:15px;flex-wrap:wrap;margin-top:28px;color:#698194;font-size:10px;font-weight:700}.demo-window{background:#fff;border:1px solid #d8e5eb;border-radius:24px;padding:10px;box-shadow:0 30px 90px rgba(17,66,89,.16);transform:rotate(1deg)}.demo-top{height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 11px}.demo-top span{display:flex;gap:8px;align-items:center}.demo-top span i{width:9px;height:9px;border-radius:50%;background:#26c7a7;box-shadow:0 0 0 5px #def7f1}.demo-top b{font-size:12px}.demo-top small,.live-badge{font-size:9px;color:#15876f;font-weight:900;background:#e3f8f1;border:1px solid #bce9dc;border-radius:99px;padding:6px 8px}.demo-window .platform-tank{height:490px;border-radius:17px}.steps{max-width:1180px;margin:0 auto 70px;display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:0 24px}.steps article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px}.steps article>b{color:#19a79f;font-size:12px}.steps h3{margin:20px 0 7px}.steps p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.auth-page{background:radial-gradient(circle at 50% 0,#e1f9f8,transparent 45%),var(--paper)}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:85px 18px 35px;position:relative}.auth-shell>.site-brand{position:absolute;left:25px;top:22px}.auth-card{width:min(450px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:35px;box-shadow:var(--shadow);text-align:center}.auth-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 17px;border-radius:17px;background:#e8f8f6;font-size:27px}.auth-card h1{margin:0 0 8px;font-size:27px}.auth-card>p:not(.overline){color:var(--muted);font-size:12px;line-height:1.6}.auth-card form,.dialog-form{margin-top:23px;text-align:left}.auth-card label,.dialog-form>label{display:block;margin:13px 0;font-size:11px;font-weight:800}.auth-card input,.dialog-form input,.dialog-form select{display:block;width:100%;margin-top:7px;border:1px solid #d4e0e7;border-radius:11px;padding:12px;outline:0;background:#fff}.auth-card input:focus,.dialog-form input:focus,.dialog-form select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(24,173,164,.11)}.auth-card>small{display:block;margin-top:19px;color:var(--muted)}.auth-card>small a{color:#098f88;font-weight:800}.alert{max-width:1180px;margin:12px auto;padding:12px 15px;border-radius:11px;font-size:12px;font-weight:700}.alert.success{background:#e3f8f0;color:#14785f}.alert.error{background:#fff0ef;color:#b9463d}
.dashboard,.panel-shell{max-width:1180px;margin:auto;padding:34px 24px 65px}.dashboard-title,.panel-top{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px}.dashboard-title h1,.panel-top h1{font-size:30px;margin:0 0 6px;letter-spacing:-.04em}.dashboard-title p:last-child{margin:0;color:var(--muted);font-size:13px}.class-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.class-card,.new-class-card{background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden;box-shadow:0 10px 35px rgba(19,52,72,.05);text-align:left}.class-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.class-card{transition:.2s}.class-preview{height:138px;position:relative;overflow:hidden;background:linear-gradient(#1594a2,#07516a);display:flex;justify-content:center;align-items:center;gap:25px}.class-preview:after{content:"";position:absolute;left:-5%;right:-5%;bottom:-28px;height:65px;border-radius:50%;background:#c6a268}.class-preview span{font-size:32px;filter:drop-shadow(0 7px 7px rgba(0,0,0,.2));animation:tiny-swim 3s ease-in-out infinite alternate}.class-preview span:nth-child(2){animation-delay:-1s}.class-preview span:nth-child(3){animation-delay:-2s}@keyframes tiny-swim{to{transform:translate(15px,-8px)}}.class-preview.theme-deep{background:linear-gradient(#155492,#061a46)}.class-preview.theme-night{background:linear-gradient(#5c1a70,#071832)}.class-card>div:last-child{padding:18px}.class-card h2{margin:11px 0 5px;font-size:18px}.class-card p{font-size:11px;color:var(--muted)}.class-card>div:last-child>b{display:block;margin-top:14px;font-size:11px;color:#0b9890}.new-class-card{min-height:255px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#60778a;border-style:dashed}.new-class-card>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#e6f7f5;color:#149c95;font-size:25px;margin-bottom:13px}.new-class-card small{margin-top:6px}
dialog{border:0;padding:0;border-radius:21px;width:min(510px,calc(100% - 28px));box-shadow:0 28px 90px rgba(6,28,43,.3)}dialog::backdrop{background:rgba(4,22,35,.58);backdrop-filter:blur(5px)}.dialog-form{padding:28px;margin:0;position:relative}.dialog-form h2{margin:8px 0}.dialog-form>p{font-size:12px;color:var(--muted)}.dialog-close{position:absolute;right:18px;top:17px;border:0;background:#eff4f6;width:34px;height:34px;border-radius:10px;font-size:19px}.dialog-form fieldset{border:0;padding:0;margin:19px 0}.dialog-form legend{font-size:11px;font-weight:800;margin-bottom:9px}.fish-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.fish-choices input,.color-choices input{position:absolute;opacity:0}.fish-choices span{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:10px;padding:9px;font-size:10px;cursor:pointer}.fish-choices input:checked+span{background:#e9f8f6;border-color:#18aaa2;box-shadow:0 0 0 2px rgba(24,170,162,.12)}.color-choices{display:flex;gap:9px;flex-wrap:wrap}.color-choices span{display:block;width:31px;height:31px;border-radius:50%;background:var(--color);border:4px solid #fff;box-shadow:0 0 0 1px #ccd9e0;cursor:pointer}.color-choices input:checked+span{box-shadow:0 0 0 3px #15384f}
.panel-top{align-items:center}.panel-top>a{font-size:11px;font-weight:800;color:#668093}.panel-top>div{margin-right:auto;margin-left:22px}.share-card{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#07324a,#0a5867);color:#fff;border-radius:17px;padding:15px 17px;margin-bottom:13px}.share-card>div{display:flex;align-items:center;gap:11px}.share-card>div>span{font-size:24px}.share-card b,.share-card small{display:block}.share-card small{color:#a9cbd1;font-size:10px;margin-top:3px}.share-card label{display:flex;width:min(560px,55%)}.share-card input{min-width:0;flex:1;border:0;border-radius:9px 0 0 9px;padding:10px;background:rgba(255,255,255,.13);color:#fff;font-size:10px}.share-card label button,.share-card label a{border:0;padding:10px;background:#fff;color:#23465a;font-size:10px;font-weight:800}.share-card label a{border-radius:0 9px 9px 0;background:#28c2b6;color:#063947}.panel-stats{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:10px;margin-bottom:13px}.panel-stats article,.panel-stats form{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 15px}.panel-stats small,.panel-stats b{display:block}.panel-stats small{font-size:8px;letter-spacing:.1em;color:#8294a3;font-weight:900}.panel-stats b{font-size:20px;margin-top:3px}.panel-stats form{display:grid;place-items:center}.panel-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.7fr);gap:13px}.panel-aquarium{background:#fff;border:1px solid var(--line);border-radius:18px;padding:9px;box-shadow:var(--shadow)}.panel-aquarium .platform-tank{height:620px;border-radius:13px}.manage-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:17px;box-shadow:var(--shadow);height:640px;display:flex;flex-direction:column}.manage-head{display:flex;align-items:center}.manage-head h2{font-size:20px;margin:0}.manage-head .button{margin-left:auto}.manage-list{overflow:auto;margin-top:13px}.student-row{display:grid;grid-template-columns:42px 1fr auto auto;gap:9px;align-items:center;border-bottom:1px solid #edf2f4;padding:10px 2px}.student-row>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--fish),white 78%);font-size:20px}.student-row b,.student-row small{display:block}.student-row b{font-size:12px}.student-row small{font-size:9px;color:#8193a2;margin-top:3px}.student-row form{display:flex}.student-row form button{border:1px solid #d8e4e9;background:#f8fafb;padding:6px;color:#38536a;font-size:10px;font-weight:800}.student-row form button:first-of-type{border-radius:8px 0 0 8px}.student-row form button:last-of-type{border-radius:0 8px 8px 0}.student-row .row-delete{border:0;background:transparent;color:#a8b3bc;font-size:17px}.empty-state{text-align:center;color:var(--muted);font-size:12px;padding:70px 20px}
.platform-tank{height:min(74vh,760px);min-height:480px;border-radius:0}.swimmer-layer{position:absolute;inset:0 0 42px;z-index:7}.stage-fish{position:absolute;width:90px;height:54px;border:0;background:transparent;filter:none;will-change:transform,left,top}.stage-fish .fish-body,.stage-fish .fish-tail,.stage-fish .fish-fin,.stage-fish .fish-eye{display:block}.stage-fish .fish-label{position:absolute;top:53px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#fff;background:rgba(3,27,41,.8);border:1px solid rgba(255,255,255,.13);border-radius:8px;padding:5px 8px;font-size:9px;font-weight:800;box-shadow:0 5px 15px rgba(0,0,0,.2)}.stage-fish.flip .fish-label{transform:translateX(-50%) scaleX(-1)}.stage-empty{position:absolute;z-index:8;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:10px;color:#d7eef1}.stage-empty:first-letter{font-size:38px}.public-aquarium{height:100vh;overflow:hidden;background:#031d2a}.public-bar{height:66px;position:fixed;z-index:30;left:15px;right:15px;top:10px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border:1px solid rgba(255,255,255,.17);border-radius:16px;background:rgba(3,28,42,.58);backdrop-filter:blur(12px);color:#fff}.public-bar>div:last-child{display:flex;gap:8px;align-items:center}.glass-button{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.12);color:#fff;border-radius:9px;padding:8px 10px;font-size:10px;font-weight:800}.public-footer{position:fixed;z-index:20;left:15px;right:15px;bottom:12px;display:flex;justify-content:space-between;color:#c9e4e6;font-size:10px;pointer-events:none}.aquarium-page .platform-tank{height:100vh;min-height:100vh}.aquarium-page .game-hud{top:87px}
@media(max-width:900px){.landing{grid-template-columns:1fr;padding-top:40px}.hero-copy{text-align:center}.hero-copy>p{margin-left:auto;margin-right:auto}.hero-actions,.trust-row{justify-content:center}.class-grid{grid-template-columns:1fr 1fr}.panel-grid{grid-template-columns:1fr}.manage-card{height:auto;max-height:600px}.share-card{align-items:stretch;flex-direction:column;gap:12px}.share-card label{width:100%}}
@media(max-width:650px){.site-header,.app-header{height:65px;padding:0 14px}.site-header nav>a:first-child,.app-header nav span{display:none}.landing{padding:32px 14px;gap:30px}.hero-copy h1{font-size:42px}.hero-copy>p{font-size:14px}.demo-window .platform-tank{height:440px}.steps{grid-template-columns:1fr;padding:0 14px}.dashboard,.panel-shell{padding:24px 13px}.dashboard-title{align-items:flex-start;gap:15px}.dashboard-title h1{font-size:24px}.class-grid{grid-template-columns:1fr}.panel-top>div{margin-left:12px}.panel-top h1{font-size:22px}.panel-top .button{padding:10px;font-size:0}.panel-top .button:first-letter{font-size:16px}.share-card label{display:grid;grid-template-columns:1fr auto}.share-card input{grid-column:1/3;border-radius:8px;margin-bottom:6px}.share-card label button{border-radius:8px 0 0 8px}.share-card label a{border-radius:0 8px 8px 0}.panel-stats{grid-template-columns:repeat(3,1fr)}.panel-stats form{grid-column:1/4}.panel-aquarium .platform-tank{height:550px}.student-row{grid-template-columns:38px 1fr auto}.student-row>form:last-child{display:none}.fish-choices{grid-template-columns:repeat(2,1fr)}.aquarium-page .game-hud{top:83px}.public-bar{left:8px;right:8px}.public-bar .site-brand small{display:none}.public-footer{left:10px;right:10px}}

/* Real fish artwork */
dialog:has(.fish-dialog){width:min(760px,calc(100% - 28px))}.fish-dialog{padding-bottom:22px}.fish-choices{grid-template-columns:repeat(5,1fr);max-height:355px;overflow:auto;padding:3px 5px 3px 3px}.fish-choices span{height:92px;flex-direction:column;justify-content:center;padding:7px;text-align:center}.fish-choices span img{width:68px;height:53px;object-fit:contain;filter:drop-shadow(0 5px 5px rgba(0,0,0,.17))}.fish-choices span b{font-size:8px;line-height:1.15}.fish-choices input:checked+span{background:#e7f9f7;border-color:#0fb0a7;box-shadow:0 0 0 2px rgba(15,176,167,.16)}.student-row>span{background:#eef7f8}.student-row>span img{width:38px;height:34px;object-fit:contain;filter:drop-shadow(0 4px 4px rgba(0,0,0,.14))}.stage-fish{width:112px;height:76px}.stage-fish .fish-sprite{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 6px rgba(0,0,0,.16))}.stage-fish .fish-label{top:72px}.stage-fish.species-seahorse,.stage-fish.species-axolotl,.stage-fish.species-moon-jellyfish,.stage-fish.species-mini-octopus,.stage-fish.species-nautilus,.stage-fish.species-blue-lobster,.stage-fish.species-hermit-crab,.stage-fish.species-cherry-shrimp,.stage-fish.species-apple-snail{width:92px;height:82px}.stage-fish.species-manta{width:145px;height:92px}
@media(max-width:650px){dialog:has(.fish-dialog){width:calc(100% - 18px)}.fish-dialog{padding:20px 15px}.fish-choices{grid-template-columns:repeat(3,1fr);max-height:390px}.fish-choices span{height:85px}.fish-choices span img{width:58px;height:45px}.stage-fish{width:92px;height:64px}.stage-fish .fish-label{top:60px}}

/* Natural swimming, feeding and class leader */
.stage-fish{transition:filter .25s;transform-origin:center;cursor:default}.stage-fish .fish-sprite{animation:fish-breathe 1.8s ease-in-out infinite alternate;transform-origin:58% 52%}.stage-fish:nth-child(2n) .fish-sprite{animation-delay:-.7s}.stage-fish:nth-child(3n) .fish-sprite{animation-duration:2.25s}@keyframes fish-breathe{from{transform:skewY(-.7deg) scale(.985)}to{transform:skewY(.8deg) scale(1.015)}}
.stage-fish.is-fed{z-index:10;filter:drop-shadow(0 0 18px rgba(255,221,67,.82)) brightness(1.13)}.stage-fish.is-fed:after{content:'✦';position:absolute;right:5px;top:5px;color:#ffe875;font-size:15px;text-shadow:0 0 10px #fff19b;animation:fed-spark .65s ease-in-out infinite alternate}@keyframes fed-spark{to{transform:translate(5px,-8px) rotate(30deg);opacity:.25}}
.food-layer{position:absolute;inset:0;z-index:11;pointer-events:none}.platform-tank .food-bit{position:absolute;width:7px;height:7px;border-radius:48% 52% 43% 57%;background:radial-gradient(circle at 35% 28%,#fff4a8 0 18%,#e8aa29 45%,#8f5414 100%);box-shadow:0 0 8px rgba(255,220,87,.62);animation:real-food-fall 2s cubic-bezier(.22,.61,.36,1) forwards}@keyframes real-food-fall{0%{opacity:0;transform:translate(0,-18px) rotate(0) scale(.5)}12%{opacity:1;transform:translate(0,0) rotate(25deg) scale(1)}80%{opacity:1}100%{opacity:0;transform:translate(var(--drift),var(--fall)) rotate(var(--spin)) scale(.72)}}
.feed-ripple{position:absolute;width:12px;height:5px;border:2px solid rgba(209,255,249,.86);border-radius:50%;transform:translate(-50%,-50%);animation:feed-ripple 1.5s ease-out 1.1s both}@keyframes feed-ripple{from{opacity:.9;box-shadow:0 0 10px rgba(202,255,247,.7)}to{opacity:0;width:170px;height:42px;border-width:1px}}
.platform-tank.bulk-feeding:after{content:'Yem zamanı!';position:absolute;z-index:16;left:50%;top:22%;transform:translate(-50%,-50%);padding:10px 17px;border:1px solid rgba(255,255,255,.35);border-radius:99px;background:rgba(4,42,56,.76);color:#fff6ba;font-size:12px;font-weight:900;letter-spacing:.03em;box-shadow:0 14px 34px rgba(0,25,37,.28);backdrop-filter:blur(10px);animation:feed-message 3.2s ease both}@keyframes feed-message{0%{opacity:0;transform:translate(-50%,-20%) scale(.75)}12%,72%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-75%) scale(.95)}}
.leader-crown{position:absolute;z-index:4;left:50%;top:-40px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;pointer-events:none;filter:drop-shadow(0 5px 7px rgba(67,38,0,.42))}.stage-fish.flip .leader-crown{transform:translateX(-50%) scaleX(-1)}.leader-crown i{display:grid;place-items:center;width:43px;height:31px;color:#ffe66e;font-size:37px;font-style:normal;line-height:1;background:linear-gradient(#fff8a8,#ffc51c 54%,#e48000);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none;animation:crown-hover 1.55s ease-in-out infinite alternate}.leader-crown b{margin-top:-1px;padding:2px 6px;border:1px solid rgba(255,231,102,.55);border-radius:99px;background:rgba(56,35,3,.72);color:#fff2a2;font-size:6px;letter-spacing:.17em;box-shadow:0 0 13px rgba(255,213,49,.33)}.leader-crown:before,.leader-crown:after{content:'✦';position:absolute;color:#fff7ad;text-shadow:0 0 8px #ffd83f;font-size:8px;animation:crown-spark 1.2s ease-in-out infinite alternate}.leader-crown:before{left:-5px;top:3px}.leader-crown:after{right:-7px;top:14px;animation-delay:-.6s}@keyframes crown-hover{to{transform:translateY(-5px) rotate(2deg)}}@keyframes crown-spark{to{opacity:.18;transform:scale(.45) rotate(55deg)}}
.button.warm:disabled{cursor:wait;opacity:.82;filter:saturate(.8)}
.student-row form [data-feed-student]{min-width:74px;color:#765000;background:#fff7d5;border-color:#efcd65}.student-row form [data-feed-student]:hover{background:#ffe99a}.student-row form [data-feed-student]:disabled{cursor:wait;opacity:.72}
.stage-fish.is-eating .fish-sprite{animation:fish-nibble .2s ease-in-out infinite alternate}@keyframes fish-nibble{from{transform:scale(1) skewY(-1deg)}to{transform:scale(1.075,.94) skewY(1.5deg)}}.stage-fish.is-eating:before{content:'✦';position:absolute;z-index:6;right:-7px;top:35%;color:#ffe879;font-size:13px;text-shadow:0 0 8px #fff3a1;animation:mouth-spark .35s ease-in-out infinite alternate}.stage-fish.flip.is-eating:before{right:auto;left:-7px}@keyframes mouth-spark{to{opacity:.2;transform:scale(.45) rotate(40deg)}}
.platform-tank.single-feeding:after{content:attr(data-feed-message);position:absolute;z-index:16;left:50%;top:22%;transform:translate(-50%,-50%);padding:10px 17px;border:1px solid rgba(255,255,255,.35);border-radius:99px;background:rgba(4,42,56,.8);color:#fff6ba;font-size:12px;font-weight:900;box-shadow:0 14px 34px rgba(0,25,37,.28);backdrop-filter:blur(10px);animation:feed-message 2.8s ease both}
.platform-tank.bulk-feeding:after{content:attr(data-feed-message)}

/* Readable names at every size - decoupled from fish growth scale */
.platform-tank .stage-fish .fish-label{z-index:5;display:flex;min-width:0;flex-direction:row;align-items:center;gap:5px;color:#fff;background:rgba(1,16,27,.94);border:1px solid rgba(178,255,246,.48);border-radius:9px;padding:6px 9px;line-height:1;text-shadow:0 1px 2px #000;box-shadow:0 5px 15px rgba(0,0,0,.42);backdrop-filter:blur(8px);transform-origin:center top!important;transform:translateX(-50%) scale(var(--label-inv-scale, 1))!important}.platform-tank .stage-fish.flip .fish-label{transform-origin:center top!important;transform:translateX(-50%) scaleX(-1) scale(var(--label-inv-scale, 1))!important}.platform-tank .stage-fish .fish-label b{display:block;color:#fff;font-size:12px;line-height:1;font-weight:900}.platform-tank .stage-fish .fish-label>i{color:#75d9d1;font-size:8px;font-style:normal}.platform-tank .stage-fish .fish-label strong{color:#ffe476;font-size:11px;line-height:1;font-weight:950}.platform-tank .stage-fish .fish-label small{display:block;font-size:9px;line-height:1;font-weight:950;letter-spacing:.04em}.platform-tank .stage-fish .fish-label small.full{color:#7ff0cf}.platform-tank .stage-fish .fish-label small.hungry{color:#ffb282}
@media(max-width:650px){.platform-tank .stage-fish .fish-label{padding:5px 7px;gap:4px}.platform-tank .stage-fish .fish-label b{font-size:11px}.platform-tank .stage-fish .fish-label strong{font-size:10px}.platform-tank .stage-fish .fish-label small{font-size:8px}}

/* Teacher tools */
.teacher-game-hub{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}.teacher-game-hub article{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:88px;padding:13px 14px 19px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 8px 24px rgba(18,42,63,.04);overflow:hidden}.teacher-game-hub article>span{font-size:25px}.teacher-game-hub small,.teacher-game-hub b,.teacher-game-hub p{display:block}.teacher-game-hub small{font-size:7px;letter-spacing:.1em;font-weight:900;color:#8194a5}.teacher-game-hub b{margin-top:3px;font-size:12px}.teacher-game-hub p{margin:3px 0 0;font-size:8px;color:#7b8fa0}.teacher-game-hub strong{font-size:12px;color:#0d9188}.teacher-game-hub article>i{position:absolute;left:14px;right:14px;bottom:9px;height:4px;border-radius:9px;background:#edf2f4;overflow:hidden}.teacher-game-hub article>i u{display:block;height:100%;background:linear-gradient(90deg,#18ada4,#45d6c9);border-radius:inherit}.teacher-game-hub article.complete{border-color:#9ce0cf;background:#f5fffb}.teacher-game-hub article.complete>i u{background:#20bc88}
.teacher-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}.teacher-actions>a,.teacher-actions>button{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 6px 18px rgba(18,42,63,.035)}.teacher-actions>a:hover,.teacher-actions>button:hover{border-color:#8fd8d2;background:#f7fffe}.teacher-actions span{font-size:20px}.teacher-actions b,.teacher-actions small{display:block}.teacher-actions b{font-size:11px}.teacher-actions small{margin-top:2px;color:#8193a2;font-size:8px}.dialog-form textarea{display:block;width:100%;margin-top:7px;border:1px solid #d4e0e7;border-radius:11px;padding:12px;resize:vertical;outline:0}.dialog-form textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(24,173,164,.11)}.panel-aquarium .stage-fish{cursor:pointer}.panel-aquarium .stage-fish:hover{filter:drop-shadow(0 0 14px rgba(117,242,229,.75)) brightness(1.08)}
@media(max-width:800px){.teacher-game-hub{grid-template-columns:1fr}.teacher-actions{grid-template-columns:1fr 1fr}.teacher-actions>*:last-child{grid-column:1/3}}

/* Teacher-configurable aquarium preferences */
dialog:has(.settings-dialog){width:min(640px,calc(100% - 28px))}.settings-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.setting-toggle{display:flex!important;align-items:center;gap:14px;margin:18px 0!important;padding:13px;border:1px solid var(--line);border-radius:12px;background:#f8fbfc}.setting-toggle>span{flex:1}.setting-toggle b,.setting-toggle small{display:block}.setting-toggle small{margin-top:4px;color:var(--muted);font-weight:500;line-height:1.4}.setting-toggle input{position:absolute;opacity:0;width:1px!important}.setting-toggle>i{position:relative;flex:0 0 42px;width:42px;height:24px;border-radius:99px;background:#cbd7de;transition:.2s}.setting-toggle>i:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.2);transition:.2s}.setting-toggle input:checked+i{background:var(--teal)}.setting-toggle input:checked+i:after{left:21px}
.platform-tank.label-size-xsmall .fish-label{padding:2px 5px!important;gap:3px!important;border-radius:6px!important;box-shadow:0 2px 6px rgba(0,0,0,.25)!important}.platform-tank.label-size-xsmall .fish-label b{font-size:9px!important}.platform-tank.label-size-xsmall .fish-label strong{font-size:8.5px!important}.platform-tank.label-size-xsmall .fish-label small{font-size:7px!important}.platform-tank.label-size-xsmall .fish-label>i{font-size:6px!important}.platform-tank.label-size-small .fish-label{padding:3px 6px!important;gap:4px!important;border-radius:7px!important}.platform-tank.label-size-small .fish-label b{font-size:10.5px!important}.platform-tank.label-size-small .fish-label strong{font-size:9.5px!important}.platform-tank.label-size-small .fish-label small{font-size:8px!important}.platform-tank.label-size-large .fish-label{padding:7px 10px;gap:6px}.platform-tank.label-size-large .fish-label b{font-size:14px}.platform-tank.label-size-large .fish-label strong{font-size:13px}.platform-tank.label-size-large .fish-label small{font-size:10px}.platform-tank.label-size-xlarge .fish-label{padding:9px 13px;gap:7px;border-width:2px}.platform-tank.label-size-xlarge .fish-label b{font-size:17px}.platform-tank.label-size-xlarge .fish-label strong{font-size:15px}.platform-tank.label-size-xlarge .fish-label small{font-size:12px}
@media(max-width:650px){.settings-fields{grid-template-columns:1fr}}

/* Inline teacher settings and quick registration */
.inline-settings{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:10px 0}.inline-settings button{display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:9px;min-height:61px;padding:10px 12px;border:1px solid #cde2e5;border-radius:15px;background:#f7fbfb;color:var(--ink);text-align:left}.inline-settings button:hover{border-color:#72cec7;background:#f2fffd;transform:translateY(-1px)}.inline-settings button>span{font-size:21px}.inline-settings b,.inline-settings small{display:block}.inline-settings b{font-size:11px}.inline-settings small{margin-top:3px;color:#78909f;font-size:8px}.inline-settings em{padding:5px 8px;border-radius:99px;background:#dff5ef;color:#0b816c;font-size:8px;font-style:normal;font-weight:900;white-space:nowrap}.inline-settings em.off{background:#e9eef1;color:#6e8190}.inline-settings em.on{background:#cdf8e9;color:#087d61}
.quick-student{margin:10px 0 13px;padding:16px 18px;background:#f8fafc;border:1px solid #d9e4ea;border-radius:17px}.quick-student header{display:flex;align-items:baseline;gap:10px;margin-bottom:11px}.quick-student header b{font-size:13px}.quick-student header small{color:#8193a2;font-size:9px}.quick-student-name{display:grid;grid-template-columns:1fr 140px;gap:9px}.quick-student-name input{min-width:0;border:1px solid #cedce5;border-radius:10px;padding:10px 13px;outline:0;background:#fff}.quick-student-name input:focus{border-color:#17a99f;box-shadow:0 0 0 3px rgba(23,169,159,.1)}.quick-student-name button{border:0;border-radius:10px;background:#16b888;color:#fff;font-size:11px;font-weight:900}.quick-fish-strip{display:flex;gap:7px;margin-top:12px;padding:3px 2px 9px;overflow-x:auto;scrollbar-color:#8b949a transparent;scrollbar-width:auto}.quick-fish-strip label{flex:0 0 84px}.quick-fish-strip input{position:absolute;opacity:0}.quick-fish-strip span{display:flex;height:74px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #d8e3e9;border-radius:10px;background:#fff;cursor:pointer}.quick-fish-strip img{width:48px;height:40px;object-fit:contain;filter:drop-shadow(0 4px 4px rgba(0,0,0,.14))}.quick-fish-strip small{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.quick-fish-strip input:checked+span{border-color:#0e9ee8;background:#edf9ff;box-shadow:0 0 0 1px #0e9ee8}
@media(max-width:800px){.inline-settings{grid-template-columns:1fr 1fr}.quick-student header{align-items:flex-start;flex-direction:column;gap:3px}}@media(max-width:520px){.inline-settings{grid-template-columns:1fr}.quick-student-name{grid-template-columns:1fr}.quick-student-name button{padding:10px}.quick-fish-strip label{flex-basis:76px}}

/* Independent teacher diver */
.teacher-diver{position:absolute;z-index:6;left:5%;top:30%;width:185px;height:105px;pointer-events:none;animation:diver-path 38s ease-in-out infinite}.teacher-diver>img{display:block;width:155px;height:96px;object-fit:contain;filter:drop-shadow(0 10px 9px rgba(0,0,0,.27));animation:diver-turn 38s ease-in-out infinite}.teacher-diver[data-style="male"]>img{width:170px}.teacher-diver>span{position:absolute;left:50%;top:88px;transform:translateX(-50%);display:flex;align-items:center;gap:5px;white-space:nowrap;padding:5px 9px;border:1px solid rgba(143,255,243,.42);border-radius:9px;background:rgba(2,27,41,.88);color:#fff;box-shadow:0 5px 14px rgba(0,0,0,.28)}.teacher-diver>span b{font-size:11px}.teacher-diver>span small{color:#78e9dd;font-size:7px;font-weight:900;letter-spacing:.08em}.diver-bubbles{position:absolute;left:112px;top:2px;color:#d3fffb;font-style:normal;font-size:15px;text-shadow:0 0 7px #83efe7;animation:diver-bubble 2.4s ease-in-out infinite}@keyframes diver-path{0%{left:4%;top:29%}46%{left:68%;top:42%}54%{left:68%;top:42%}100%{left:4%;top:26%}}@keyframes diver-turn{0%,46%{transform:scaleX(1) rotate(2deg)}54%,100%{transform:scaleX(-1) rotate(-2deg)}}@keyframes diver-bubble{to{transform:translateY(-30px) scale(1.3);opacity:0}}@media(max-width:650px){.teacher-diver{width:145px;height:88px}.teacher-diver>img{width:125px;height:76px}.teacher-diver>span{top:69px}.teacher-diver>span small{display:none}}

/* Feedback and richer underwater depth */
.live-toast{position:fixed;z-index:100;right:22px;bottom:22px;max-width:360px;padding:13px 17px;border:1px solid #83dec8;border-radius:12px;background:#073f43;color:#fff;font-size:13px;font-weight:850;box-shadow:0 15px 45px rgba(0,27,35,.28);opacity:0;transform:translateY(18px);pointer-events:none;transition:.25s}.live-toast.show{opacity:1;transform:none}
.water-ambience{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 18% 20%,rgba(174,255,247,.08),transparent 24%),radial-gradient(ellipse at 76% 52%,rgba(85,214,218,.06),transparent 27%);mix-blend-mode:screen}.water-ambience:before{content:"";position:absolute;left:-15%;right:-15%;top:-16%;height:55%;background:repeating-radial-gradient(ellipse at 50% 0,transparent 0 26px,rgba(185,255,249,.07) 30px 32px,transparent 37px 62px);filter:blur(2px);animation:caustic-drift 15s linear infinite}.water-ambience i{position:absolute;left:var(--x);top:var(--y);width:2px;height:2px;border-radius:50%;background:rgba(218,255,251,.55);box-shadow:0 0 4px rgba(166,255,249,.55);animation:plankton var(--d) ease-in-out var(--delay) infinite alternate}@keyframes caustic-drift{to{transform:translate(8%,5%) scale(1.08)}}@keyframes plankton{to{transform:translate(18px,-34px) scale(1.8);opacity:.18}}.stage-fish .fish-sprite{filter:drop-shadow(0 10px 7px rgba(0,15,24,.32)) saturate(1.08) contrast(1.03)}

/* Stronger typography for the teacher panel */
.panel-shell{font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif}.inline-settings b{font-size:13px;letter-spacing:-.01em}.inline-settings small{font-size:10px;line-height:1.35}.inline-settings em{font-size:9px}.quick-student header b{font-size:15px}.quick-student header small{font-size:10px}.quick-fish-strip small{font-size:9px}.student-row b{font-size:13px}.student-row small{font-size:10px}

/* Always render pictograms with the color-emoji font instead of the text font */
.auth-icon:not(:has(i)),.level-decorations i,.leader-crown i{font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;font-variant-emoji:emoji;text-shadow:none}

/* Device-independent pictograms */
.ui-icon{display:block;width:1.15em;height:1.15em;object-fit:contain}.auth-icon .ui-icon{width:34px;height:34px}.teacher-game-hub article>span .ui-icon{width:29px;height:29px}.hud-chip>span .ui-icon{width:25px;height:25px}.level-decorations .ui-icon{width:100%;height:100%;filter:drop-shadow(0 8px 8px rgba(0,0,0,.25))}

/* Mobile-first panel polish */
@media(max-width:650px){
  html,body{max-width:100%;overflow-x:hidden}.panel-shell{padding:14px 10px 46px}.panel-top{display:grid;grid-template-columns:1fr auto;gap:8px 10px;align-items:center;margin-bottom:14px}.panel-top>a{grid-column:1/-1;width:max-content;padding:7px 10px;border-radius:99px;background:#e8f4f5;color:#176c72}.panel-top>div{margin:0}.panel-top h1{font-size:24px;line-height:1.05}.panel-top .overline{margin-bottom:5px}.panel-top>.button{min-width:44px;min-height:44px;padding:10px;border-radius:13px}
  .share-card{padding:14px;border-radius:16px;gap:11px}.share-card>div{align-items:flex-start}.share-card>div>span{font-size:21px}.share-card b{font-size:12px}.share-card small{font-size:10px;line-height:1.4}.share-card label{grid-template-columns:1fr 1fr;gap:0}.share-card input{grid-column:1/-1;min-height:40px;margin-bottom:7px;border-radius:9px;font-size:11px}.share-card label button,.share-card label a{min-height:40px;font-size:11px}
  .panel-stats{gap:7px}.panel-stats article{padding:11px 9px;text-align:center}.panel-stats small{font-size:7px;letter-spacing:.04em}.panel-stats b{font-size:19px}.panel-stats form{padding:7px}.panel-stats form .button{width:100%;min-height:42px}
  .teacher-game-hub{display:flex;gap:8px;margin-inline:-10px;padding:0 10px 5px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.teacher-game-hub::-webkit-scrollbar{display:none}.teacher-game-hub article{flex:0 0 84%;min-height:91px;scroll-snap-align:center}.teacher-game-hub b{font-size:13px}.teacher-game-hub p{font-size:9px}
  .teacher-actions{gap:7px}.teacher-actions>a,.teacher-actions>button{min-height:58px;padding:10px}.teacher-actions b{font-size:11px}.teacher-actions small{font-size:8px;line-height:1.25}
  .inline-settings{grid-template-columns:1fr 1fr;gap:7px}.inline-settings button{grid-template-columns:29px 1fr;gap:7px;min-height:94px;padding:10px}.inline-settings button>span{font-size:20px}.inline-settings button>div{align-self:start}.inline-settings b{font-size:11px;line-height:1.2}.inline-settings small{font-size:9px;line-height:1.28}.inline-settings em{grid-column:1/-1;justify-self:start;padding:4px 7px;font-size:8px}
  .quick-student{padding:13px 11px}.quick-student header{margin-bottom:10px}.quick-student-name{grid-template-columns:1fr}.quick-student-name input,.quick-student-name button{min-height:45px}.quick-fish-strip{margin-inline:-3px;gap:6px;scroll-snap-type:x proximity}.quick-fish-strip label{flex-basis:72px;scroll-snap-align:start}.quick-fish-strip span{height:72px}.quick-fish-strip img{width:44px;height:36px}
  .panel-grid{gap:10px}.panel-aquarium{padding:6px;border-radius:16px}.panel-aquarium .platform-tank{height:500px;min-height:500px;border-radius:12px}.manage-card{height:auto;max-height:none;padding:13px;border-radius:16px}.manage-head{position:sticky;top:0;z-index:2;padding:3px 0 9px;background:#fff}.manage-head h2{font-size:19px}.manage-head .button{min-height:40px}.manage-list{overflow:visible;margin-top:4px}.student-row{position:relative;grid-template-columns:44px minmax(0,1fr);gap:8px 10px;padding:12px 2px}.student-row>span{grid-row:1/3}.student-row>div{padding-right:25px}.student-row>form:nth-of-type(1){grid-column:2;display:grid;grid-template-columns:1fr 52px;gap:5px}.student-row>form:nth-of-type(1) button{min-height:38px;border-radius:9px!important}.student-row>form:last-child{display:block;position:absolute;right:1px;top:9px}.student-row .row-delete{width:30px;height:30px}
  dialog{width:100%;max-width:none;margin:auto 0 0;border-radius:22px 22px 0 0;max-height:90vh}.dialog-form{padding:22px 15px calc(18px + env(safe-area-inset-bottom))}.dialog-form input,.dialog-form select,.dialog-form textarea{min-height:46px;font-size:16px}.dialog-form .button{min-height:46px}.fish-choices{grid-template-columns:repeat(3,1fr);max-height:52vh}
  .live-toast{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));max-width:none;text-align:center}
  .teacher-game-hub,.inline-settings,.quick-student,.panel-grid{content-visibility:auto;contain-intrinsic-size:auto 400px}
}
@media(max-width:370px){.inline-settings{grid-template-columns:1fr}.teacher-actions{grid-template-columns:1fr}.teacher-actions>*:last-child{grid-column:auto}.panel-stats{grid-template-columns:1fr 1fr}.panel-stats article:last-of-type{grid-column:1/-1}.panel-stats form{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.water-ambience:before,.water-ambience i,.stage-fish .fish-sprite{animation-duration:1ms!important;animation-iteration-count:1!important}.stage-fish{transition-duration:.01ms!important}}
@media(max-width:650px){.panel-top>.button{font-size:11px!important;padding-inline:12px}}

/* Responsive overflow guard: keep swipeable rows, never widen the page. */
html,body{max-width:100%;overflow-x:clip}.panel-shell,.panel-top,.share-card,.panel-stats,.teacher-game-hub,.teacher-actions,.inline-settings,.quick-student,.panel-grid,.panel-aquarium,.manage-card{min-width:0;max-width:100%}.panel-grid>*{min-width:0}.share-card label,.share-card input,.quick-student form,.quick-student-name,.quick-student-name input{min-width:0;max-width:100%}.teacher-game-hub{-ms-overflow-style:none;scrollbar-width:none}.teacher-game-hub::-webkit-scrollbar{display:none;width:0;height:0}.platform-tank,.swimmer-layer{max-width:100%;overflow:hidden}
@supports not (overflow:clip){html,body{overflow-x:hidden}}

/* Centered teacher workspace — roomy, but never edge-to-edge on desktop. */
.panel-shell{width:min(1120px,calc(100% - clamp(28px,5vw,72px)));padding-inline:0}.quick-student{overflow:visible}

/* High-definition, compositor-only aquarium rendering. */
.stage-fish{left:0;top:0;contain:layout style;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:translate3d(0,0,0)}.stage-fish .fish-sprite{image-rendering:auto;image-rendering:smooth;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:translateZ(0);filter:none}.platform-tank:before{content:"";position:absolute;z-index:3;inset:0;pointer-events:none;background:linear-gradient(104deg,transparent 0 37%,rgba(204,255,250,.045) 42%,transparent 48% 68%,rgba(185,247,245,.035) 72%,transparent 78%);background-size:220% 100%;mix-blend-mode:screen;animation:aquarium-glass-light 18s ease-in-out infinite alternate}.motion-enhanced .fish-sprite{animation:none}.stage-fish:nth-child(3n) .fish-sprite{filter:none}.stage-fish:nth-child(4n+1){z-index:8}.stage-fish:nth-child(4n+2){z-index:7}@keyframes aquarium-glass-light{to{background-position:100% 0}}
@media(max-width:650px){.panel-shell{width:calc(100% - 20px);padding-inline:0}.stage-fish .fish-sprite{filter:none}}
.density-high .stage-fish{width:98px;height:68px}.density-high .stage-fish .fish-label{top:64px}.density-high .stage-fish.species-seahorse,.density-high .stage-fish.species-axolotl,.density-high .stage-fish.species-moon-jellyfish,.density-high .stage-fish.species-mini-octopus,.density-high .stage-fish.species-nautilus,.density-high .stage-fish.species-blue-lobster,.density-high .stage-fish.species-hermit-crab,.density-high .stage-fish.species-cherry-shrimp,.density-high .stage-fish.species-apple-snail{width:84px;height:72px}.density-high .stage-fish.species-manta{width:118px;height:78px}@media(max-width:650px){.density-high .stage-fish{width:76px;height:54px}.density-high .stage-fish .fish-label{top:51px;padding:4px 6px}.density-high .stage-fish .fish-label b{font-size:10px}.density-high .stage-fish .fish-label strong{font-size:9px}.density-high .stage-fish.species-seahorse,.density-high .stage-fish.species-axolotl,.density-high .stage-fish.species-moon-jellyfish,.density-high .stage-fish.species-mini-octopus,.density-high .stage-fish.species-nautilus,.density-high .stage-fish.species-blue-lobster,.density-high .stage-fish.species-hermit-crab,.density-high .stage-fish.species-cherry-shrimp,.density-high .stage-fish.species-apple-snail{width:69px;height:58px}.density-high .stage-fish.species-manta{width:94px;height:63px}}

/* Depth, parallax and a restrained bubble wake for nearby fish. */
.stage-fish.depth-back{z-index:6}.stage-fish.depth-mid{z-index:7}.stage-fish.depth-front{z-index:9}.depth-back .fish-sprite{opacity:1;filter:none}.depth-front .fish-sprite{filter:none}.fish-wake{display:none;position:absolute;left:-8px;top:48%;width:4px;height:4px;border:1px solid rgba(210,255,252,.7);border-radius:50%;box-shadow:-11px 7px 0 -1px rgba(210,255,252,.45),-20px -5px 0 -1px rgba(210,255,252,.35);opacity:0;pointer-events:none}.depth-front .fish-wake{display:block;animation:fish-wake 2.4s ease-out infinite}.stage-fish:nth-child(2n) .fish-wake{animation-delay:-1.1s}@keyframes fish-wake{0%{opacity:0;transform:translate3d(8px,0,0) scale(.55)}25%{opacity:.65}100%{opacity:0;transform:translate3d(-23px,-12px,0) scale(1.35)}}.quality-lite .fish-wake{display:none}.quality-lite .water-ambience:before{animation-duration:26s}
.stage-fish.species-cartoon-green{width:126px;height:82px}.stage-fish.species-cartoon-green .fish-sprite{filter:none}.stage-fish.species-cartoon-green .fish-label{top:77px}.density-high .stage-fish.species-cartoon-green{width:102px;height:68px}.density-high .stage-fish.species-cartoon-green .fish-label{top:64px}@media(max-width:650px){.stage-fish.species-cartoon-green{width:98px;height:66px}.stage-fish.species-cartoon-green .fish-label{top:62px}.density-high .stage-fish.species-cartoon-green{width:82px;height:56px}.density-high .stage-fish.species-cartoon-green .fish-label{top:53px}}
.stage-fish.species-cartoon-whale{width:158px;height:96px}.stage-fish.species-cartoon-whale .fish-label{top:89px}.stage-fish.species-cartoon-whale .fish-sprite{filter:none}.density-high .stage-fish.species-cartoon-whale{width:126px;height:79px}.density-high .stage-fish.species-cartoon-whale .fish-label{top:74px}@media(max-width:650px){.stage-fish.species-cartoon-whale{width:118px;height:74px}.stage-fish.species-cartoon-whale .fish-label{top:69px}.density-high .stage-fish.species-cartoon-whale{width:96px;height:62px}.density-high .stage-fish.species-cartoon-whale .fish-label{top:58px}}

/* System administration */
.admin-page{min-width:0;background:#f3f7f8}.admin-nav{padding:8px 11px;border:1px solid #c9e4df;border-radius:9px;background:#eefaf7;color:#087e75!important}.admin-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:34px 0 60px}.admin-hero{display:flex;align-items:center;justify-content:space-between;padding:27px 30px;border-radius:22px;background:linear-gradient(130deg,#06253a,#0a5361);color:#fff;box-shadow:0 18px 55px rgba(7,41,58,.16)}.admin-hero h1{margin:0 0 7px;font-size:31px}.admin-hero p{margin:0;color:#bad5da;font-size:13px}.admin-hero .overline{color:#66e4d8}.admin-shield{display:grid;place-items:center;width:70px;height:70px;border:1px solid rgba(255,255,255,.18);border-radius:20px;background:rgba(255,255,255,.08);font-size:33px}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.admin-stats article{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}.admin-stats article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#ebf8f6;font-size:21px}.admin-stats b,.admin-stats small{display:block}.admin-stats b{font-size:22px}.admin-stats small{margin-top:2px;color:#758a99;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.admin-card{margin-top:16px;padding:23px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 35px rgba(20,50,70,.045)}.admin-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.admin-card h2{margin:0;font-size:21px}.admin-card header p{margin:5px 0 0;color:#718797;font-size:11px}.fish-upload{display:grid;grid-template-columns:1fr 1.25fr auto;align-items:end;gap:10px;margin:20px 0;padding:15px;border:1px solid #dbe9e8;border-radius:15px;background:#f7fbfb}.fish-upload label>span{display:block;margin-bottom:6px;font-size:10px;font-weight:850}.fish-upload input{width:100%;min-height:44px;border:1px solid #d3e1e5;border-radius:10px;background:#fff;padding:10px;outline:0}.fish-upload input:focus{border-color:#17a99f;box-shadow:0 0 0 3px rgba(23,169,159,.1)}.file-picker small{display:block;margin-top:4px;color:#8798a4;font-size:8px}.admin-fish-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.admin-fish-grid>article{position:relative;display:grid;grid-template-columns:58px 1fr;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid #dce7eb;border-radius:13px;background:#fbfdfd;transition:.2s}.admin-fish-grid>article.inactive{opacity:.58;filter:grayscale(.7)}.admin-fish-preview{display:grid;place-items:center;width:58px;height:51px;border-radius:10px;background:linear-gradient(#dcf7f3,#e8f3fb)}.admin-fish-preview img{max-width:54px;max-height:47px;object-fit:contain;filter:drop-shadow(0 4px 4px rgba(0,0,0,.16))}.admin-fish-grid b,.admin-fish-grid small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-fish-grid b{font-size:10px}.admin-fish-grid small{margin-top:3px;color:#83949f;font-size:8px}.admin-fish-grid form{grid-column:1/-1}.catalog-toggle{width:100%;padding:6px;border:0;border-radius:8px;font-size:8px;font-weight:900}.catalog-toggle.on{background:#d8f8e9;color:#087850}.catalog-toggle.off{background:#eef1f3;color:#647482}.catalog-delete{position:absolute;right:6px;top:5px;width:21px;height:21px;border:0;border-radius:50%;background:#fff0f0;color:#bb3a3a;font-weight:900}.members-card>header>span{padding:6px 10px;border-radius:99px;background:#eef6f7;color:#58717f;font-size:9px;font-weight:900}.member-table{margin-top:16px;border:1px solid #dfe9ed;border-radius:13px;overflow:hidden}.member-row{display:grid;grid-template-columns:minmax(260px,1fr) 90px 90px 110px;align-items:center;min-width:570px;padding:11px 15px;border-top:1px solid #e8eef1}.member-row:first-child{border-top:0}.member-head{background:#f5f8f9;color:#7c8e99;font-size:8px;font-weight:900;text-transform:uppercase}.member-row>span:first-child{display:flex;align-items:center;gap:10px}.member-row>span:first-child>i{display:grid;place-items:center;flex:0 0 35px;height:35px;border-radius:10px;background:#e1f6f3;color:#087e75;font-style:normal;font-weight:900}.member-row b,.member-row small{display:block}.member-row b{font-size:11px}.member-row b em{margin-left:5px;padding:2px 5px;border-radius:5px;background:#e8dfff;color:#6947a7;font-size:7px;font-style:normal}.member-row small,.member-row time{margin-top:2px;color:#81939e;font-size:9px}.member-row strong{font-size:12px}.member-table{overflow-x:auto}
@media(max-width:900px){.admin-fish-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-stats{grid-template-columns:1fr 1fr}.fish-upload{grid-template-columns:1fr 1fr}.fish-upload .button{grid-column:1/-1}}
@media(max-width:560px){.admin-shell{width:calc(100% - 20px);padding-top:18px}.admin-hero{padding:21px}.admin-hero h1{font-size:25px}.admin-shield{width:52px;height:52px;font-size:25px}.admin-stats{gap:8px}.admin-stats article{padding:12px;gap:8px}.admin-stats article>span{width:35px;height:35px}.admin-card{padding:15px}.fish-upload{grid-template-columns:1fr}.fish-upload .button{grid-column:auto}.admin-fish-grid{grid-template-columns:1fr 1fr}.admin-fish-grid>article{grid-template-columns:49px 1fr;padding:8px}.admin-fish-preview{width:49px;height:46px}.admin-fish-preview img{max-width:46px;max-height:42px}.app-header nav{gap:7px}.admin-nav{font-size:10px!important;padding:7px 8px}}

/* Teacher panel readability pass */
.panel-page{font-size:15px}.panel-page .overline{font-size:11px}.panel-top>a{font-size:13px}.share-card{padding:18px 20px;box-shadow:0 10px 30px rgba(7,50,74,.12)}.share-card b{font-size:14px}.share-card small{font-size:12px;line-height:1.45;color:#c4dce0}.share-card input,.share-card label button,.share-card label a{font-size:12px}.panel-stats article,.panel-stats form{padding:15px 17px}.panel-stats small{font-size:10px;color:#607888}.panel-stats b{font-size:25px}.teacher-game-hub article{min-height:102px;padding:16px 17px 21px;border-color:#d7e4e8;box-shadow:0 9px 24px rgba(18,42,63,.07)}.teacher-game-hub small{font-size:10px;color:#557080}.teacher-game-hub b{font-size:15px}.teacher-game-hub p{font-size:11px;line-height:1.35}.teacher-game-hub strong{font-size:12px}.teacher-actions>a,.teacher-actions>button{min-height:68px;padding:14px 16px;box-shadow:0 7px 20px rgba(18,42,63,.055)}.teacher-actions b{font-size:13px}.teacher-actions small{font-size:10px;line-height:1.4;color:#637c8c}.inline-settings button{min-height:90px;padding:15px 16px;border-color:#c7dce0;background:#fff;box-shadow:0 6px 18px rgba(20,55,70,.045)}.inline-settings b{font-size:14px}.inline-settings small{font-size:11px;line-height:1.45;color:#637d8d}.inline-settings em{font-size:10px}.quick-student{padding:19px 20px;background:#fff;box-shadow:0 8px 24px rgba(18,42,63,.045)}.quick-student header b{font-size:17px}.quick-student header small{font-size:12px;color:#657d8d}.quick-student-name input{min-height:46px;font-size:14px}.quick-student-name button{font-size:13px}.quick-fish-strip span{height:82px}.quick-fish-strip small{font-size:10px;font-weight:750}.manage-card{padding:20px}.manage-head h2{font-size:23px}.student-row{padding:13px 3px}.student-row b{font-size:15px}.student-row small{font-size:12px;color:#637b8c}.student-row form button{font-size:11px;padding:8px}.platform-tank .stage-fish .fish-label{padding:7px 10px}.platform-tank .stage-fish .fish-label b{font-size:13px}.platform-tank .stage-fish .fish-label strong{font-size:12px}.platform-tank .stage-fish .fish-label small{font-size:10px}
@media(max-width:650px){.share-card b{font-size:13px}.share-card small{font-size:11px}.panel-stats small{font-size:9px}.teacher-game-hub b{font-size:14px}.teacher-game-hub p{font-size:10px}.teacher-actions b{font-size:12px}.teacher-actions small{font-size:10px}.inline-settings b{font-size:12px}.inline-settings small{font-size:10px}.inline-settings em{font-size:9px}.quick-student header b{font-size:16px}.quick-student header small{font-size:11px}.student-row b{font-size:14px}.student-row small{font-size:11px}.platform-tank .stage-fish .fish-label b{font-size:12px}.platform-tank .stage-fish .fish-label strong{font-size:11px}.platform-tank .stage-fish .fish-label small{font-size:9px}}

/* Separate live teacher control room */
.teacher-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.teacher-actions>*:last-child{grid-column:auto}.teacher-actions .live-control-link{border-color:#169f96;background:linear-gradient(135deg,#073d50,#0b7b7d);color:#fff;box-shadow:0 10px 25px rgba(7,83,88,.18)}.teacher-actions .live-control-link:hover{border-color:#2ad0bf;background:linear-gradient(135deg,#07384a,#0b696d)}.teacher-actions .live-control-link small{color:#b9e7e2}.teacher-actions .live-control-link>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#20c9b2;color:#fff;box-shadow:0 0 0 6px rgba(40,213,191,.14)}
.teacher-live-page{height:100vh;overflow:hidden;background:#041c2c;color:#fff}
.teacher-live-header{position:relative;z-index:40;height:68px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.12);background:linear-gradient(90deg,#06283a,#084b57);box-shadow:0 8px 30px rgba(0,16,27,.3)}
.teacher-live-header>a{justify-self:start;padding:9px 12px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.08);font-size:12px;font-weight:850}
.teacher-live-header>div{text-align:center}
.teacher-live-header span,.teacher-live-header b{display:block}
.teacher-live-header span{color:#70e3d8;font-size:9px;font-weight:900;letter-spacing:.16em}
.teacher-live-header b{margin-top:3px;font-size:17px}
.teacher-live-header>button{justify-self:end;padding:9px 12px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font-size:11px;font-weight:850}
.teacher-live-shell{position:relative;height:calc(100vh - 68px);min-height:520px;overflow:hidden}
.teacher-live-aquarium.panel-aquarium{position:absolute;inset:0;right:420px;max-width:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;transition:right .25s ease}
.teacher-live-shell:has(.teacher-live-roster.is-floating) .teacher-live-aquarium.panel-aquarium,.teacher-live-shell:has(.teacher-live-roster.is-collapsed) .teacher-live-aquarium.panel-aquarium{right:0!important}
.teacher-live-aquarium .platform-tank{width:100%;height:100%;min-height:100%;border-radius:0}
.teacher-live-aquarium .game-hud{top:18px}
.teacher-live-page .live-toast{z-index:80}
:fullscreen .teacher-live-header{display:none!important}
:fullscreen .teacher-live-shell{height:100vh!important}
.aquarium-music-toggle{position:absolute;z-index:35;left:16px;bottom:16px;display:grid;grid-template-columns:28px auto;grid-template-rows:auto auto;align-items:center;column-gap:8px;min-width:128px;padding:8px 12px 8px 8px;border:1px solid rgba(190,255,247,.32);border-radius:14px;background:rgba(3,31,43,.94);color:#fff;box-shadow:0 10px 28px rgba(0,17,29,.42);backdrop-filter:blur(12px);cursor:pointer}
.aquarium-music-toggle>span{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.09);color:#ffcf66;font-size:18px}
.aquarium-music-toggle b,.aquarium-music-toggle small{display:block;text-align:left}
.aquarium-music-toggle b{font-size:11px}
.aquarium-music-toggle small{margin-top:1px;color:#92b3b8;font-size:8px}
.aquarium-music-toggle.is-playing{border-color:rgba(71,232,192,.52);background:rgba(5,71,70,.86)}
.aquarium-music-toggle.is-playing>span{background:#12b98c;color:#fff;box-shadow:0 0 0 5px rgba(18,185,140,.14)}
.aquarium-music-toggle.is-playing small{color:#72efd0}

/* Whole-class feeding celebration */
.platform-tank.bulk-feeding .stage-fish{filter:drop-shadow(0 0 14px rgba(255,221,89,.42));z-index:12}
.platform-tank.bulk-feeding .stage-fish.is-eating .fish-label{border-color:#ffe476;box-shadow:0 0 0 3px rgba(255,218,91,.13),0 8px 20px rgba(0,0,0,.38)}
.feast-food{width:8px!important;height:8px!important;box-shadow:0 0 12px rgba(255,226,95,.85)!important}
.feast-ripple{animation-duration:2.3s;animation-delay:1.4s}
.feed-core{position:absolute;z-index:14;display:grid;place-items:center;width:58px;height:58px;margin:-29px 0 0 -29px;border:1px solid rgba(255,238,144,.8);border-radius:50%;background:radial-gradient(circle,#fff8b2 0 9%,#ffd85b 10% 24%,rgba(255,192,36,.22) 48%,transparent 72%);color:#fff8b5;font-size:21px;text-shadow:0 0 12px #fff;box-shadow:0 0 35px rgba(255,211,60,.62),inset 0 0 20px rgba(255,255,255,.46);pointer-events:none}
.feed-spark{position:absolute;z-index:13;width:7px;height:7px;margin:-3px;border-radius:50%;background:#fff4a3;box-shadow:0 0 9px #ffd84e;animation:school-spark 1.65s ease-out both}
@keyframes school-spark{0%{opacity:0;transform:rotate(var(--a)) translateX(8px) scale(.25)}18%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateX(var(--r)) scale(1.25)}}
.platform-tank.bulk-feeding:after{font-size:13px;background:rgba(4,42,56,.88);box-shadow:0 14px 40px rgba(0,25,37,.32),0 0 0 5px rgba(255,222,91,.09);animation-duration:5.8s}

/* Modern, beautiful teacher live console */
.teacher-live-roster{position:absolute;z-index:35;top:16px;right:16px;bottom:auto;width:390px;min-width:360px;max-width:min(390px,94vw);height:min(600px,calc(100% - 32px));padding:14px 16px;border-radius:22px;background:rgba(4,25,40,.94);border:1px solid rgba(255,255,255,.18);box-shadow:0 24px 60px rgba(0,10,22,.55),0 0 0 1px rgba(255,255,255,.08);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-sizing:border-box;display:flex;flex-direction:column;transition:box-shadow .18s ease,background .18s ease,border-color .18s ease!important}
.teacher-live-roster.is-floating{right:auto;bottom:auto}
.teacher-live-roster>header{min-height:46px;padding:0 0 12px;border-bottom:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:grab;user-select:none;flex-shrink:0}
.teacher-live-roster.is-dragging{will-change:left,top;cursor:grabbing}.teacher-live-roster:not(.is-dragging){will-change:auto}
.roster-header-brand{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.roster-badge-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,rgba(20,184,166,.4),rgba(6,95,115,.6));border:1px solid rgba(45,212,191,.35);font-size:18px;flex-shrink:0;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.roster-titles{display:flex;flex-direction:column;min-width:0;gap:2px}
.roster-title-full{font-size:15px;font-weight:800;color:#fff;white-space:nowrap;margin:0;line-height:1.2;letter-spacing:-.01em}
.roster-title-collapsed{display:none;font-size:14px;font-weight:800;color:#fff;white-space:nowrap;margin:0;line-height:1.2}
.roster-meta{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:#7dd3fc;white-space:nowrap;line-height:1}
.roster-meta-dot{color:#34d399;font-size:8px}
.live-roster-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}
.live-roster-controls strong{display:none!important}
.live-roster-controls button{width:36px;height:36px;border-radius:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);color:#fff;font-size:18px;font-weight:700;display:grid;place-items:center;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.live-roster-controls button:hover{background:rgba(255,255,255,.24);border-color:rgba(255,255,255,.45);transform:scale(1.06)}
.live-control-tip{overflow:hidden;margin:10px 0 8px;padding:9px 12px;border-radius:10px;background:rgba(14,165,233,.12);border:1px solid rgba(14,165,233,.22);color:#bae6fd;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.live-quick-add{margin-bottom:8px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05)}
.live-quick-add summary{padding:9px 12px;font-size:12px;font-weight:700;color:#e2e8f0;cursor:pointer}
.live-quick-add .quick-student{padding:8px 10px}
.live-feed-all{margin-bottom:9px}
.live-feed-all button{min-height:40px;font-size:13px;font-weight:800;border-radius:12px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;box-shadow:0 4px 14px rgba(245,158,11,.3);cursor:pointer;transition:all .2s ease}
.live-feed-all button:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(245,158,11,.45)}
.live-list-label{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:4px 2px 6px;font-size:10px;font-weight:800;letter-spacing:.07em;color:#7dd3fc}
.live-roster-list{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:4px;display:flex!important;flex-direction:column!important;gap:6px}
.live-roster-list::-webkit-scrollbar{width:5px}
.live-roster-list::-webkit-scrollbar-track{background:rgba(255,255,255,.05);border-radius:999px}
.live-roster-list::-webkit-scrollbar-thumb{background:rgba(56,189,248,.4);border-radius:999px}
.live-roster-row{display:grid!important;grid-template-columns:26px 36px minmax(0,1fr) auto!important;gap:8px!important;min-height:48px!important;margin:0!important;padding:6px 10px!important;border-radius:12px!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.1)!important;align-items:center!important;transition:all .18s ease!important}
.live-roster-row:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(56,189,248,.4)!important;transform:translateY(-1px)}
.live-roster-row .live-rank-badge{display:grid!important;place-items:center!important;font-size:13px!important;font-weight:800!important;color:#94a3b8!important;background:none!important;border:none!important;box-shadow:none!important}
.live-roster-row.rank-1 .live-rank-badge{font-size:16px!important;filter:drop-shadow(0 0 6px rgba(245,158,11,.7))}
.live-roster-row.rank-2 .live-rank-badge{font-size:16px!important;filter:drop-shadow(0 0 6px rgba(203,213,225,.6))}
.live-roster-row.rank-3 .live-rank-badge{font-size:16px!important;filter:drop-shadow(0 0 6px rgba(217,119,6,.6))}
.live-roster-row .live-avatar-wrap{width:36px!important;height:36px!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.14)!important;display:grid!important;place-items:center!important;flex-shrink:0}
.live-roster-row img{max-width:30px!important;max-height:28px!important;object-fit:contain!important;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))!important}
.live-roster-row .live-meta{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;gap:2px!important;overflow:hidden!important}
.live-roster-row b{max-width:100%!important;font-size:13.5px!important;font-weight:800!important;color:#fff!important;white-space:normal!important;word-break:break-word!important;overflow:visible!important;text-overflow:clip!important;line-height:1.25!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
.live-roster-row small{font-size:11.5px!important;font-weight:700!important;color:#fde047!important;line-height:1!important;margin:0!important}
.live-roster-row form{display:inline-flex!important;align-items:center!important;gap:4px!important;flex-shrink:0!important;white-space:nowrap!important}
.live-roster-row button{min-height:30px!important;padding:5px 9px!important;border-radius:9px!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important;border:none!important;white-space:nowrap!important;transition:all .16s ease!important}
.live-roster-row button[data-feed-student]{background:linear-gradient(135deg,#0d9488,#0f766e)!important;color:#fff!important;box-shadow:0 2px 8px rgba(13,148,136,.3)!important}
.live-roster-row button[data-feed-student]:hover{background:#0d9488!important;transform:translateY(-1px)}
.live-roster-row button.reward{background:linear-gradient(135deg,#f59e0b,#d97706)!important;color:#fff!important;box-shadow:0 2px 8px rgba(245,158,11,.3)!important}
.live-roster-row button.reward:hover{background:#f59e0b!important;transform:translateY(-1px)}
.live-roster-row button.minus{background:rgba(239,68,68,.16)!important;border:1px solid rgba(239,68,68,.38)!important;color:#fca5a5!important;width:28px!important;min-width:28px!important;padding:0!important;text-align:center!important}
.live-roster-row button.minus:hover{background:rgba(239,68,68,.32)!important;color:#fff!important;border-color:#f87171!important}

/* COLLAPSED FLOATING HUD CAPSULE - SINIF ÖZETİ */
.teacher-live-roster.is-collapsed{width:auto!important;min-width:250px!important;max-width:300px!important;height:52px!important;padding:6px 14px 6px 8px!important;border-radius:999px!important;background:rgba(4,25,42,.94)!important;border:1px solid rgba(255,255,255,.24)!important;box-shadow:0 16px 40px rgba(0,10,26,.65),0 0 0 1px rgba(255,255,255,.12),inset 0 1px 0 rgba(255,255,255,.2)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;overflow:hidden!important}
.teacher-live-roster.is-collapsed>:not(header){display:none!important}
.teacher-live-roster.is-collapsed>header{width:100%!important;height:100%!important;min-height:0!important;padding:0!important;border:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.teacher-live-roster.is-collapsed .roster-badge-icon{width:34px;height:34px;font-size:17px;border-radius:50%}
.teacher-live-roster.is-collapsed .roster-title-full{display:none!important}
.teacher-live-roster.is-collapsed .roster-title-collapsed{display:block!important;font-size:13.5px;font-weight:800;color:#fff;line-height:1.15}
.teacher-live-roster.is-collapsed .roster-meta{font-size:11px;color:#38bdf8;font-weight:700;margin-top:1px}
.teacher-live-roster.is-collapsed .live-roster-controls button{width:32px;height:32px;border-radius:50%;background:rgba(45,212,191,.22);border:1px solid rgba(45,212,191,.45);color:#5eead4;font-size:18px;font-weight:800}
.teacher-live-roster.is-collapsed .live-roster-controls button:hover{background:rgba(45,212,191,.4);border-color:#5eead4;color:#fff;transform:scale(1.1);box-shadow:0 0 12px rgba(45,212,191,.5)}
.teacher-live-shell:has(.teacher-live-roster.is-collapsed):not(:has(.teacher-live-roster.is-floating)) .teacher-live-aquarium.panel-aquarium{right:256px}
@media(max-width:900px) and (min-width:601px){.teacher-live-roster{width:360px;min-width:350px}.teacher-live-aquarium.panel-aquarium{right:388px}}
@media(max-width:600px){.teacher-live-roster{top:auto;width:auto;min-width:0;height:45%;padding:10px}.live-control-tip{display:none}.live-roster-row b{font-size:13px!important}.teacher-live-roster.is-collapsed{left:8px;right:8px;width:auto!important;min-width:0!important;height:52px!important}}

/* Mouth effects follow travel direction even for left-facing source artwork. */
.stage-fish.facing-left.is-eating:before{right:auto;left:-7px}.stage-fish:not(.facing-left).is-eating:before{right:-7px;left:auto}

/* Interactive Click Bubbles & Glass Tap Reaction */
.click-bubble{position:absolute;pointer-events:none;z-index:28;border-radius:50%;background:radial-gradient(circle at 35% 35%,rgba(255,255,255,.95) 0%,rgba(255,255,255,.4) 40%,rgba(125,211,252,.25) 75%,rgba(255,255,255,.6) 100%);border:1px solid rgba(255,255,255,.55);box-shadow:inset -1px -1px 2px rgba(0,0,0,.1),0 0 6px rgba(255,255,255,.4);animation:click-bubble-rise var(--duration,1.8s) cubic-bezier(.25,.46,.45,.94) forwards}
@keyframes click-bubble-rise{0%{opacity:0;transform:translate3d(0,0,0) scale(.3)}15%{opacity:.95;transform:translate3d(calc(var(--drift,0px)*.2),-18px,0) scale(1)}80%{opacity:.85;transform:translate3d(calc(var(--drift,0px)*.85),calc(var(--rise,-160px)*.8),0) scale(1.05)}100%{opacity:0;transform:translate3d(var(--drift,0px),var(--rise,-160px),0) scale(1.2)}}
.glass-tap-ripple{position:absolute;pointer-events:none;z-index:26;border-radius:50%;border:2px solid rgba(125,211,252,.75);box-shadow:0 0 14px rgba(56,189,248,.5),inset 0 0 10px rgba(56,189,248,.3);animation:glass-tap-pulse .65s ease-out forwards}
@keyframes glass-tap-pulse{0%{width:10px;height:10px;opacity:1;transform:translate(-50%,-50%) scale(.4)}100%{width:90px;height:90px;opacity:0;transform:translate(-50%,-50%) scale(1.8)}}

/* Fish flight / startled reflex */
.stage-fish.is-startled{filter:drop-shadow(0 0 12px rgba(255,255,255,.7)) brightness(1.25)!important;transition:transform .12s cubic-bezier(.1,.9,.2,1)!important}
.stage-fish.is-startled .fish-sprite{animation:fish-flee-twitch .4s ease-out!important}
@keyframes fish-flee-twitch{0%{transform:scale(1) rotate(0deg)}25%{transform:scale(1.12,.88) rotate(-7deg)}50%{transform:scale(.92,1.08) rotate(7deg)}75%{transform:scale(1.04,.96) rotate(-3deg)}100%{transform:scale(1) rotate(0deg)}}

.teacher-live-shell:has(.teacher-live-roster.is-floating) .teacher-live-aquarium.panel-aquarium,
.teacher-live-shell:has(.teacher-live-roster.is-collapsed) .teacher-live-aquarium.panel-aquarium{right:0!important}
@media(max-width:900px) and (min-width:601px){
  .teacher-live-roster{width:360px;min-width:340px}
  .teacher-live-aquarium.panel-aquarium{right:380px}
  .teacher-live-shell:has(.teacher-live-roster.is-floating) .teacher-live-aquarium.panel-aquarium,
  .teacher-live-shell:has(.teacher-live-roster.is-collapsed) .teacher-live-aquarium.panel-aquarium{right:0!important}
}
@media(max-width:600px){
  .teacher-live-aquarium.panel-aquarium,
  .teacher-live-shell:has(.teacher-live-roster.is-floating) .teacher-live-aquarium.panel-aquarium,
  .teacher-live-shell:has(.teacher-live-roster.is-collapsed) .teacher-live-aquarium.panel-aquarium{right:0!important}
}

/* Teacher smartboard preview */
.aquarium-preview{overflow:hidden;margin:12px 0 16px;border:1px solid #cfe0e5;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(10,50,70,.07)}.aquarium-preview>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer}.aquarium-preview>header b,.aquarium-preview>header b span,.aquarium-preview>header b small{display:block}.aquarium-preview>header b span{font-size:14px}.aquarium-preview>header b small{margin-top:3px;color:#78909e;font-size:10px;font-weight:650}.aquarium-preview>header>div{display:flex;align-items:center;gap:7px}.aquarium-preview>header button{border:1px solid #cfe0e5;border-radius:8px;background:#f6fbfb;color:#315d68;padding:6px 9px;font-size:9px;font-weight:800}.preview-chevron{width:30px}.preview-frame-wrap{position:relative;height:440px;border-top:1px solid #d9e7ea;background:#073344}.preview-frame-wrap iframe{display:block;width:100%;height:100%;border:0}.preview-overlay{position:absolute;z-index:3;inset:0;display:grid;place-items:center;background:linear-gradient(rgba(2,25,38,.25),rgba(2,25,38,.48));transition:.2s;pointer-events:none}.preview-overlay>div{display:flex;flex-direction:column;align-items:center;max-width:390px;padding:19px 22px;border:1px solid rgba(255,255,255,.26);border-radius:16px;background:rgba(3,35,49,.83);color:#fff;text-align:center;box-shadow:0 18px 55px rgba(0,14,24,.35);backdrop-filter:blur(9px);pointer-events:auto}.preview-overlay strong{font-size:16px}.preview-overlay small{margin-top:5px;color:#bdd8db;font-size:10px}.preview-overlay span{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:13px}.preview-overlay a{padding:9px 12px;border-radius:9px;color:#fff;font-size:10px;font-weight:900}.preview-live-button{background:#0fbd92;box-shadow:0 7px 20px rgba(15,189,146,.28)}.preview-watch-button{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.08)}.preview-overlay:hover{background:linear-gradient(rgba(2,25,38,.31),rgba(2,25,38,.53))}.aquarium-preview.is-collapsed .preview-frame-wrap{display:none}.aquarium-preview.is-collapsed{box-shadow:none}
@media(max-width:650px){.aquarium-preview>header{padding:12px}.aquarium-preview>header b span{font-size:12px}.aquarium-preview>header b small{font-size:9px}.preview-frame-wrap{height:260px}.preview-overlay>div{max-width:calc(100% - 24px);padding:13px}.preview-overlay strong{font-size:13px}.preview-overlay small{font-size:9px}.preview-overlay a{padding:8px 9px;font-size:9px}}

/* Advanced music administration */
.music-status{padding:7px 11px;border-radius:999px;background:#edf1f3;color:#6b7e88;font-size:9px;font-weight:900}.music-status.on{background:#d9faea;color:#087751}.music-admin-grid{position:relative;display:grid;grid-template-columns:minmax(260px,1fr) 1.4fr;gap:14px;margin-top:17px}.music-current{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:10px;padding:14px;border:1px solid #d9e8eb;border-radius:14px;background:#f5fbfb}.music-current>span{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:linear-gradient(145deg,#087b83,#14b89e);color:#fff;font-size:22px}.music-current b,.music-current small{display:block}.music-current b{font-size:12px}.music-current small{margin-top:4px;color:#718791;font-size:9px}.music-current audio{grid-column:1/-1;width:100%;height:36px}.music-upload{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;padding:14px;border:1px solid #d9e8eb;border-radius:14px}.music-upload .admin-switch{grid-column:1/-1}.admin-switch{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-switch b,.admin-switch small{display:block}.admin-switch b{font-size:11px}.admin-switch small{margin-top:2px;color:#7c909a;font-size:9px}.admin-switch input{position:absolute;opacity:0}.admin-switch i{position:relative;width:42px;height:23px;border-radius:99px;background:#cbd7dc;transition:.2s}.admin-switch i:after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.15);transition:.2s}.admin-switch input:checked+i{background:#0bb58a}.admin-switch input:checked+i:after{transform:translateX(19px)}.music-remove{position:absolute;right:14px;bottom:12px}.music-remove button{border:0;background:transparent;color:#b44747;font-size:9px;font-weight:800}
@media(max-width:750px){.music-admin-grid{grid-template-columns:1fr}.music-upload{grid-template-columns:1fr}.music-remove{position:static;text-align:right}}

/* Focus the one fish currently being fed or penalized. */
.platform-tank.single-feeding .stage-fish{opacity:1;filter:none;transition:opacity .25s,filter .25s}.platform-tank.single-feeding .stage-fish.is-feed-focus{z-index:24;opacity:1;filter:drop-shadow(0 0 16px rgba(255,220,82,.85)) brightness(1.1);transform:scale(1.13)}.platform-tank.single-feeding .stage-fish.is-feed-focus .fish-label{border-color:#ffe373;background:rgba(3,31,43,.94);box-shadow:0 0 0 4px rgba(255,218,72,.16),0 10px 24px rgba(0,0,0,.42)}
.platform-tank.single-feeding .stage-fish.is-feed-focus.is-penalized{filter:drop-shadow(0 0 20px rgba(239,68,68,.85)) saturate(.65) brightness(.95)!important;animation:fish-sad-sigh 2.4s ease-in-out!important}
.platform-tank.single-feeding .stage-fish.is-feed-focus.is-penalized .fish-label{border-color:rgba(239,68,68,.75)!important;background:rgba(45,14,20,.94)!important;box-shadow:0 0 0 4px rgba(239,68,68,.25),0 10px 24px rgba(0,0,0,.5)!important}
@keyframes fish-sad-sigh{0%{transform:translateY(0) rotate(0deg)}25%{transform:translateY(18px) rotate(-6deg)}60%{transform:translateY(8px) rotate(4deg)}85%{transform:translateY(2px) rotate(-2deg)}100%{transform:translateY(0) rotate(0deg)}}
.penalty-bubble{position:absolute;pointer-events:none;width:10px;height:10px;border-radius:50%;border:1px solid rgba(252,165,165,.65);background:radial-gradient(circle at 35% 35%,rgba(254,202,202,.7) 0%,rgba(239,68,68,.18) 70%);animation:penalty-bubble-float var(--duration,1.8s) ease-out forwards}
@keyframes penalty-bubble-float{0%{opacity:0;transform:translate3d(0,0,0) scale(.4)}20%{opacity:.9;transform:translate3d(calc(var(--drift,0px)*.3),-12px,0) scale(1)}80%{opacity:.7;transform:translate3d(calc(var(--drift,0px)*.8),calc(var(--rise,-60px)*.8),0) scale(1.1)}100%{opacity:0;transform:translate3d(var(--drift,0px),var(--rise,-60px),0) scale(1.2)}}
.student-feed-banner{position:absolute;z-index:35;left:50%;top:22%;display:grid;grid-template-columns:auto auto auto;align-items:center;gap:5px;min-width:245px;padding:10px 13px;border:1px solid rgba(255,238,150,.75);border-radius:14px;background:rgba(3,38,52,.92);color:#fff;box-shadow:0 16px 45px rgba(0,19,31,.38),0 0 28px rgba(255,214,60,.18);backdrop-filter:blur(12px);transform:translateX(-50%);animation:student-feed-banner 3.2s ease both;pointer-events:none}.student-feed-banner>span{grid-row:1/3;font-size:22px}.student-feed-banner b{font-size:13px}.student-feed-banner small{grid-column:2;font-size:9px;color:#b9d6d9}.student-feed-banner strong{grid-column:3;grid-row:1/3;color:#ffe36d;font-size:20px}
.student-feed-banner.is-penalty{border-color:rgba(248,113,113,.75)!important;background:rgba(35,12,18,.94)!important;box-shadow:0 16px 45px rgba(0,0,0,.5),0 0 24px rgba(239,68,68,.28)!important}.student-feed-banner.is-penalty strong{color:#fca5a5!important}
@keyframes student-feed-banner{0%{opacity:0;transform:translate(-50%,-16px) scale(.86)}12%,78%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-10px) scale(.96)}}
@media(max-width:600px){.student-feed-banner{top:16%;min-width:218px;padding:8px 10px}.student-feed-banner b{font-size:11px}}

/* Show the complete active fish catalog in quick registration. */
.quick-student{overflow:visible}.quick-fish-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px;overflow:visible;contain:none;padding-bottom:3px;scroll-snap-type:none}.quick-fish-strip label{min-width:0;flex:auto}.quick-fish-strip span{height:82px}.quick-fish-strip small{max-width:100%;padding:0 4px}
@media(max-width:520px){.quick-fish-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.quick-fish-strip label{min-width:0}.quick-fish-strip span{height:76px}}

/* Every catalog image starts in the same visual box; points alone control growth. */
.platform-tank .stage-fish,.platform-tank .stage-fish[class*="species-"]{width:104px!important;height:72px!important}.platform-tank .stage-fish .fish-sprite{display:block;width:100%!important;height:100%!important;object-fit:contain!important}.platform-tank .stage-fish .fish-label,.platform-tank .stage-fish[class*="species-"] .fish-label{top:68px!important}.platform-tank.density-high .stage-fish,.platform-tank.density-high .stage-fish[class*="species-"]{width:90px!important;height:62px!important}.platform-tank.density-high .stage-fish .fish-label,.platform-tank.density-high .stage-fish[class*="species-"] .fish-label{top:58px!important}
@media(max-width:650px){.platform-tank .stage-fish,.platform-tank .stage-fish[class*="species-"]{width:82px!important;height:58px!important}.platform-tank .stage-fish .fish-label,.platform-tank .stage-fish[class*="species-"] .fish-label{top:54px!important}.platform-tank.density-high .stage-fish,.platform-tank.density-high .stage-fish[class*="species-"]{width:72px!important;height:50px!important}.platform-tank.density-high .stage-fish .fish-label,.platform-tank.density-high .stage-fish[class*="species-"] .fish-label{top:47px!important}}

/* Polished public landing experience */
.home-page{background:#f5f9fa}.home-header{position:sticky;z-index:80;top:0;height:78px;border-bottom:1px solid rgba(196,220,225,.78);background:rgba(255,255,255,.88);box-shadow:0 8px 30px rgba(11,46,62,.045);backdrop-filter:blur(18px)}.home-header .site-brand>i,.home-footer .site-brand>i{font-size:20px}.home-nav{position:absolute;left:50%;transform:translateX(-50%);gap:25px!important}.home-nav a{position:relative;color:#3e596b!important;font-size:11px!important}.home-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;border-radius:2px;background:#18ada4;transition:.2s}.home-nav a:hover:after{right:0}.site-auth-actions{display:flex;align-items:center;gap:10px}.login-link{padding:9px 11px;color:#385266;font-size:11px;font-weight:800}.site-auth-actions .button{background:linear-gradient(135deg,#082d43,#087f83)}
.home-page .landing{position:relative;min-height:700px;padding-top:70px;padding-bottom:75px}.home-page .landing:before{content:"";position:absolute;z-index:-1;left:-16vw;top:-260px;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(44,211,196,.15),transparent 67%)}.hero-kicker{display:inline-flex;align-items:center;gap:7px;margin-bottom:19px;padding:7px 10px;border:1px solid #c9e9e4;border-radius:999px;background:#eefaF8;color:#26766f;font-size:9px;font-weight:850}.hero-kicker i{color:#14b58b;font-size:8px;font-style:normal;animation:home-live-pulse 1.5s ease infinite}.hero-primary{background:linear-gradient(135deg,#072e45,#087f83);box-shadow:0 13px 32px rgba(5,89,91,.2)}.hero-primary span{margin-left:9px}.hero-copy .text-link{display:inline-flex;align-items:center;gap:7px}.hero-copy .text-link i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e4f6f3;color:#0d958c;font-size:9px;font-style:normal}.home-page .demo-window{position:relative;overflow:hidden;border-color:rgba(156,209,210,.65);transform:rotate(.45deg);box-shadow:0 35px 100px rgba(8,70,86,.2)}.home-page .demo-window:after{content:"CANLI ÖRNEK";position:absolute;z-index:20;right:20px;bottom:20px;padding:7px 10px;border:1px solid rgba(255,255,255,.2);border-radius:9px;background:rgba(3,37,51,.76);color:#bff8ed;font-size:8px;font-weight:900;letter-spacing:.08em;backdrop-filter:blur(8px)}@keyframes home-live-pulse{50%{opacity:.35}}
.home-section{max-width:1180px;margin:0 auto;padding:78px 24px}.home-section>header{max-width:620px;margin:0 auto 30px;text-align:center}.home-section h2,.home-cta h2{margin:0;color:#102d40;font-size:clamp(28px,3.4vw,42px);letter-spacing:-.045em}.home-section>header p,.feature-section>div:first-child>p{color:#718797;font-size:13px;line-height:1.7}.examples-section{padding-top:52px}.example-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.example-card{overflow:hidden;border:1px solid #d8e6e9;border-radius:19px;background:#fff;box-shadow:0 12px 35px rgba(11,52,69,.065);transition:.22s}.example-card:hover{transform:translateY(-5px);box-shadow:0 21px 48px rgba(11,52,69,.12)}.example-water{position:relative;height:220px;overflow:hidden;background:#087891 url('/assets/aquarium/realistic-lagoon-v1.png') center/cover}.example-water:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,50,67,.03),rgba(2,40,55,.28))}.example-card.deep .example-water{filter:hue-rotate(25deg) saturate(.86) brightness(.75)}.example-card.reef .example-water{filter:hue-rotate(-13deg) saturate(1.17)}.example-water img{position:absolute;z-index:2;width:86px;height:62px;object-fit:contain;filter:drop-shadow(0 8px 6px rgba(0,0,0,.32));animation:example-swim 3.4s ease-in-out infinite alternate}.example-water img:first-child{left:18%;top:31%}.example-water img:nth-child(2){right:14%;top:54%;width:72px;animation-delay:-1.4s}.example-water>span{position:absolute;z-index:3;left:12px;bottom:12px;padding:6px 9px;border:1px solid rgba(255,255,255,.17);border-radius:8px;background:rgba(3,37,50,.76);color:#fff;font-size:9px;font-weight:850;backdrop-filter:blur(7px)}.example-card>div:last-child{padding:17px}.example-card b,.example-card small{display:block}.example-card b{font-size:15px}.example-card small{margin-top:5px;color:#718694;font-size:10px}@keyframes example-swim{to{transform:translate(14px,-8px) rotate(2deg)}}
.feature-section{display:grid;grid-template-columns:.72fr 1.28fr;gap:52px;align-items:center;max-width:none;padding-left:max(24px,calc((100vw - 1132px)/2));padding-right:max(24px,calc((100vw - 1132px)/2));background:linear-gradient(135deg,#062a3f,#075c68);color:#fff}.feature-section h2{color:#fff}.feature-section>div:first-child>p{color:#afd0d4;max-width:430px}.feature-section>div:first-child .button{margin-top:14px;background:#21c9a5;color:#073f42}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.feature-grid article{min-height:150px;padding:20px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(255,255,255,.07)}.feature-grid article>span{display:grid;place-items:center;width:39px;height:39px;margin-bottom:18px;border-radius:11px;background:rgba(255,255,255,.1);font-size:20px}.feature-grid b,.feature-grid small{display:block}.feature-grid b{font-size:13px}.feature-grid small{margin-top:6px;color:#a9cbd0;font-size:10px;line-height:1.55}.steps-section{padding-bottom:48px}.steps-section .steps{padding:0;margin:0;max-width:none}.steps-section .steps article{position:relative;overflow:hidden;padding:27px}.steps-section .steps article>b{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#e7f7f5}.steps-section .steps article:after{content:"";position:absolute;right:-34px;bottom:-42px;width:110px;height:110px;border-radius:50%;background:#eff9f8}.home-cta{padding:25px 24px 75px}.home-cta>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;max-width:1132px;margin:auto;padding:28px 31px;border-radius:23px;background:linear-gradient(125deg,#e1f7f4,#eef8ff);border:1px solid #cbe6e4}.home-cta>div>span{font-size:42px}.home-cta small{display:block;margin-bottom:5px;color:#168f89;font-size:9px;font-weight:900;letter-spacing:.13em}.home-cta h2{font-size:28px}.home-footer{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:20px;padding:35px max(24px,calc((100vw - 1132px)/2));border-top:1px solid #dce8eb;background:#fff}.home-footer p{color:#758a98;font-size:10px;text-align:center}.home-footer nav{display:flex;gap:15px}.home-footer nav a{color:#506879;font-size:10px;font-weight:750}
@media(max-width:900px){.home-nav{display:none}.home-page .landing{padding-top:46px}.example-grid{grid-template-columns:1fr 1fr}.example-card:last-child{grid-column:1/-1}.feature-section{grid-template-columns:1fr}.home-footer{grid-template-columns:1fr auto}.home-footer p{display:none}}
@media(max-width:650px){.home-header{height:66px}.home-header .site-brand small{display:none}.site-auth-actions .login-link{display:none}.site-auth-actions .button{padding:9px 11px}.home-page .landing{padding-top:32px;padding-bottom:54px}.hero-kicker{margin-bottom:14px}.hero-actions{align-items:stretch;flex-direction:column;gap:12px}.hero-actions .button{width:100%}.hero-copy .text-link{justify-content:center}.trust-row{gap:8px}.trust-row span{padding:5px 8px;border-radius:99px;background:#ebf7f5}.home-page .demo-window{transform:none}.home-page .demo-window .platform-tank{height:390px;min-height:390px}.home-section{padding:55px 14px}.example-grid{grid-template-columns:1fr}.example-card:last-child{grid-column:auto}.example-water{height:205px}.feature-section{padding:55px 15px}.feature-grid{grid-template-columns:1fr}.feature-grid article{min-height:0}.steps-section .steps{padding:0}.home-cta{padding:15px 14px 55px}.home-cta>div{grid-template-columns:auto 1fr;padding:22px}.home-cta>div>a{grid-column:1/-1;width:100%}.home-cta h2{font-size:21px}.home-footer{grid-template-columns:1fr;padding:28px 15px}.home-footer nav{justify-content:space-between}}

/* Clear, accessible account screens */
.auth-page{font-family:"Plus Jakarta Sans","Poppins","Segoe UI",Arial,sans-serif;background:#eef5f7}
.auth-header{position:fixed;z-index:20;left:0;right:0;top:0;height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1120px)/2));border-bottom:1px solid rgba(205,222,228,.85);background:rgba(255,255,255,.92);backdrop-filter:blur(16px)}
.auth-header>a:last-child{color:#3f5c6d;font-size:13px;font-weight:700}
.auth-page .auth-shell{grid-template-columns:minmax(320px,440px) minmax(360px,460px);gap:32px;align-items:center;justify-content:center;min-height:100vh;padding:78px 20px 24px}
.auth-showcase{position:relative;overflow:hidden;min-height:auto;padding:32px 30px;border-radius:22px;background:linear-gradient(rgba(1,48,66,.35),rgba(1,36,54,.86)),url('/assets/aquarium/realistic-lagoon-v1.png') center/cover;color:#fff;box-shadow:0 20px 55px rgba(5,49,65,.18)}
.auth-showcase:after{content:"";position:absolute;inset:0;background:linear-gradient(125deg,rgba(45,225,205,.08),transparent 50%);pointer-events:none}
.auth-showcase .overline{color:#7bedda;font-size:11px;font-weight:750;letter-spacing:.08em;margin-bottom:6px}
.auth-showcase h2{max-width:360px;margin:8px 0 8px;font-size:30px;line-height:1.15;letter-spacing:-.03em}
.auth-showcase>p{max-width:360px;color:#cbd5e1;font-size:14px;line-height:1.6;margin-bottom:12px}
.auth-mini-fish{position:relative;height:100px;margin:8px 0}
.auth-mini-fish img{position:absolute;width:82px;height:58px;object-fit:contain;filter:drop-shadow(0 8px 6px rgba(0,0,0,.35));animation:auth-fish 3.2s ease-in-out infinite alternate}
.auth-mini-fish img:first-child{left:2%;top:20%}
.auth-mini-fish img:nth-child(2){left:38%;top:0%;animation-delay:-1s}
.auth-mini-fish img:nth-child(3){right:2%;top:35%;animation-delay:-2s}
.auth-showcase ul{position:relative;z-index:2;display:grid;gap:8px;margin:0;padding:0;list-style:none}
.auth-showcase li{font-size:13.5px;font-weight:650;color:#f1f5f9}
.auth-showcase li:before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:6px;background:rgba(45,221,193,.2);color:#5eead4;font-size:11px;font-weight:800}
@keyframes auth-fish{to{transform:translate(12px,-6px) rotate(2deg)}}

.auth-page .auth-card{width:100%;padding:28px 32px 24px;border-radius:20px;text-align:left;box-shadow:0 16px 45px rgba(12,50,68,.1);background:#fff;border:1px solid #e2e8f0}
.auth-page .auth-card>.auth-icon{width:44px;height:44px;margin:0 0 10px;font-size:22px;border-radius:12px}
.auth-page .auth-card .overline{font-size:11px;font-weight:750;letter-spacing:.08em;color:#0d9488;margin-bottom:4px}
.auth-page .auth-card h1{font-size:24px;line-height:1.25;margin:0 0 6px;letter-spacing:-.025em;font-weight:750;color:#0f172a}
.auth-page .auth-card>p:not(.overline):not(.auth-privacy){margin:0 0 14px;color:#64748b;font-size:14px;line-height:1.5}
.auth-page .auth-card form{margin-top:14px}
.auth-row-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auth-page .auth-card label{margin:9px 0;color:#1e293b;font-size:13.5px;font-weight:650}
.auth-page .auth-card label>span{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px;font-size:13.5px}
.auth-page .auth-card label>span a{color:#0d9488;font-size:12.5px;font-weight:650}
.auth-page .auth-card input{min-height:42px;height:42px;margin:0;padding:8px 13px;border:1.5px solid #cbd5e1;border-radius:10px;color:#0f172a;font-size:14px;font-family:inherit}
.auth-page .auth-card input:focus{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.12)}
.auth-page .auth-card input::placeholder{color:#94a3b8;font-size:13.5px}
.password-field>div{position:relative}
.password-field input{padding-right:64px!important}
.password-field button{position:absolute;right:8px;top:50%;border:0;border-radius:6px;background:#edf6f5;color:#0d9488;padding:5px 9px;font-size:12px;font-weight:750;transform:translateY(-50%);cursor:pointer}
.auth-submit{min-height:44px;height:44px;margin-top:14px;background:linear-gradient(135deg,#0d9488,#0284c7);font-size:14.5px;font-weight:750;border-radius:11px;color:#fff;border:0;cursor:pointer;transition:transform .15s}
.auth-submit:hover{transform:translateY(-1px)}
.auth-divider{display:flex;align-items:center;gap:8px;margin:12px 0 10px;color:#94a3b8;font-size:12px}
.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#e2e8f0}
.auth-page .auth-card>small{display:block;text-align:center;font-size:13.5px;color:#64748b}
.auth-page .auth-card>small a{color:#0d9488;font-weight:750}
.auth-privacy{margin:10px 0 0!important;color:#64748b!important;font-size:12px!important;text-align:center}
.auth-page .alert{margin:10px 0 0;padding:10px 14px;font-size:13px;border-radius:10px}
.forgot-illustration{position:relative;display:grid;place-items:center;width:120px;height:120px;margin:24px auto 0;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:rgba(255,255,255,.09);font-size:50px;box-shadow:0 0 0 16px rgba(255,255,255,.035)}
.forgot-illustration i{position:absolute;right:2px;top:8px;font-size:24px;font-style:normal}
.forgot-card{align-self:center}
.forgot-card form{margin-bottom:12px}

@media(max-width:900px){.auth-page .auth-shell{grid-template-columns:minmax(320px,460px)}.auth-showcase{display:none}}
@media(max-width:600px){.auth-header{height:60px;padding:0 14px}.auth-header .site-brand small{display:none}.auth-header>a:last-child{font-size:11px}.auth-page .auth-shell{display:block;min-height:100vh;padding:72px 12px 20px}.auth-page .auth-card{max-width:440px;margin:auto;padding:22px 18px;border-radius:18px}.auth-page .auth-card h1{font-size:22px}.auth-page .auth-card label{font-size:13px}.auth-page .auth-card input{font-size:14px}.auth-row-2{grid-template-columns:1fr;gap:0}}
.reset-requests>header>span{padding:6px 10px;border-radius:99px;background:#fff1d6;color:#9c6200;font-size:9px;font-weight:900}.reset-requests>div{display:grid;gap:7px;margin-top:15px}.reset-requests article{display:grid;grid-template-columns:37px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #e1e9ec;border-radius:11px}.reset-requests article>span{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#eef7f6}.reset-requests b,.reset-requests small{display:block}.reset-requests b{font-size:11px}.reset-requests small{margin-top:3px;color:#798d98;font-size:9px}.reset-requests button{border:0;border-radius:8px;background:#e4f7ef;color:#117657;padding:7px 9px;font-size:9px;font-weight:850}
.forgot-illustration i{display:grid;place-items:center;width:42px;height:42px}.forgot-illustration i img{width:34px;height:34px;object-fit:contain}
.home-page,.auth-page{font-family:"Plus Jakarta Sans","Poppins","Segoe UI",Arial,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.home-page button,.home-page input,.auth-page button,.auth-page input{font-family:inherit}.home-page h1,.home-page h2,.home-page h3,.auth-page h1,.auth-page h2{font-family:"Plus Jakarta Sans","Poppins","Segoe UI",Arial,sans-serif;font-weight:700}

/* Clear conversion area for registration and returning teachers. */
.home-account-section{padding:76px max(24px,calc((100vw - 1132px)/2));background:linear-gradient(180deg,#f5f9fa,#eaf4f5)}.home-account-section>header{max-width:720px;margin:0 auto 30px;text-align:center}.home-account-section>header h2{margin:0;color:#102d40;font-size:clamp(29px,3.5vw,43px);letter-spacing:-.045em}.home-account-section>header p{margin:12px auto 0;color:#6d8391;font-size:13px;line-height:1.7}.account-choice-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:15px}.account-choice-grid>article{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr;gap:17px;min-height:310px;padding:29px;border-radius:23px}.account-choice-grid>article>span{display:grid;place-items:center;width:55px;height:55px;border-radius:17px;font-size:28px}.account-choice-grid small{display:block;margin-bottom:7px;font-size:9px;font-weight:800;letter-spacing:.13em}.account-choice-grid h3{margin:0;font-size:24px;letter-spacing:-.03em}.account-choice-grid p{max-width:520px;margin:9px 0;color:#647b89;font-size:11px;line-height:1.65}.signup-choice{border:1px solid rgba(103,225,207,.22);background:linear-gradient(135deg,#062f46,#087478);color:#fff;box-shadow:0 20px 55px rgba(5,68,75,.17)}.signup-choice:after{content:"";position:absolute;right:-80px;bottom:-100px;width:280px;height:280px;border-radius:50%;background:rgba(45,220,194,.09)}.signup-choice>span{background:rgba(255,255,255,.12)}.signup-choice small{color:#72e3d2}.signup-choice p{color:#c0dadd}.signup-choice ul{display:flex;gap:13px;flex-wrap:wrap;margin:18px 0;padding:0;list-style:none}.signup-choice li{font-size:9px;font-weight:650}.signup-choice li:before{content:"✓";margin-right:5px;color:#69eccf}.signup-choice .button{position:relative;z-index:2;background:#26c9a7;color:#073f42;box-shadow:none}.account-choice-grid .button b{margin-left:10px;font-size:14px}.login-choice{border:1px solid #d5e3e7;background:#fff;box-shadow:0 15px 45px rgba(12,51,67,.08)}.login-choice>span{background:#e8f7f5}.login-choice small{color:#168f87}.login-choice .button{margin-top:26px;border-color:#bed9da;background:#eff9f7;color:#087e76}.forgot-home-link{display:block;margin-top:15px;color:#69808e;font-size:10px;font-weight:650;text-align:center}.forgot-home-link:hover{color:#087e76}
@media(max-width:800px){.account-choice-grid{grid-template-columns:1fr}.account-choice-grid>article{min-height:0}}
@media(max-width:600px){.home-account-section{padding:55px 14px}.account-choice-grid>article{grid-template-columns:1fr;padding:22px}.account-choice-grid h3{font-size:21px}.signup-choice ul{display:grid;gap:6px}.account-choice-grid .button{width:100%}}

/* Stronger homepage typography and fullscreen example gallery. */
.home-page{color:#102b3d}.home-page p,.home-page small{color:#405b6b;font-weight:500}.home-page .hero-copy>p{color:#385465;font-size:16px;line-height:1.75;font-weight:500}.home-page .trust-row{color:#355363;font-size:11px}.home-page .home-nav a,.home-page .login-link{font-size:12px!important;font-weight:600}.home-page .overline{font-size:10px;font-weight:800}.home-section>header p,.feature-section>div:first-child>p,.home-account-section>header p{color:#405c6c;font-size:14px}.example-card{padding:0;border:1px solid #d4e2e6;color:#102b3d;font-family:inherit;text-align:left}.example-card small{color:#405b6b;font-size:11px}.example-water em{position:absolute;z-index:4;right:12px;bottom:12px;padding:7px 9px;border:1px solid rgba(255,255,255,.24);border-radius:8px;background:rgba(3,35,49,.78);color:#fff;font-size:9px;font-style:normal;font-weight:700;opacity:0;transform:translateY(5px);transition:.2s}.example-card:hover .example-water em,.example-card:focus-visible .example-water em{opacity:1;transform:none}.demo-top>div{display:flex;align-items:center;gap:7px}.demo-top button{border:1px solid #d7e5e8;border-radius:8px;background:#f5fbfa;color:#275668;padding:6px 8px;font-size:9px;font-weight:700}.demo-window:fullscreen{width:100vw;height:100vh;padding:10px;border:0;border-radius:0;background:#071d31;transform:none}.demo-window:fullscreen .platform-tank{height:calc(100vh - 58px);min-height:0}.demo-window:fullscreen .demo-top{background:#fff}
.aquarium-gallery{width:min(1160px,calc(100% - 24px));height:min(820px,calc(100vh - 24px));max-width:none;max-height:none;padding:0;border-radius:20px;background:#062638;color:#fff;overflow:hidden}.aquarium-gallery::backdrop{background:rgba(2,17,27,.84);backdrop-filter:blur(8px)}.aquarium-gallery>header{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 22px;border-bottom:1px solid rgba(255,255,255,.13);background:#062b3d}.aquarium-gallery>header small{display:block;color:#72dfd0;font-size:8px;font-weight:800;letter-spacing:.12em}.aquarium-gallery>header h2{margin:3px 0 0;font-size:20px}.aquarium-gallery>header nav{display:flex;align-items:center;gap:7px}.aquarium-gallery>header button{min-width:37px;height:37px;border:1px solid rgba(255,255,255,.17);border-radius:9px;background:rgba(255,255,255,.08);color:#fff;font-size:12px;font-weight:700}.aquarium-gallery>header [data-gallery-fullscreen]{padding:0 11px}.aquarium-gallery>header [data-gallery-close]{font-size:20px}.aquarium-gallery>header nav>span{padding:0 5px;color:#b8d0d5;font-size:10px}.gallery-scenes{height:calc(100% - 128px)}.gallery-scene{position:relative;display:none;width:100%;height:100%;overflow:hidden;background:#087891 url('/assets/aquarium/realistic-lagoon-v1.png') center/cover no-repeat}.gallery-scene.is-active{display:block}.gallery-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(0,85,110,.04),rgba(1,31,48,.2));pointer-events:none}.gallery-scene.deep{filter:hue-rotate(27deg) saturate(.82) brightness(.74)}.gallery-scene.reef{filter:hue-rotate(-13deg) saturate(1.18)}.gallery-hud{position:absolute;z-index:5;left:18px;top:18px;padding:10px 13px;border:1px solid rgba(255,255,255,.2);border-radius:11px;background:rgba(3,36,49,.8);backdrop-filter:blur(9px)}.gallery-hud b,.gallery-hud small{display:block}.gallery-hud b{font-size:13px}.gallery-hud small{margin-top:3px;color:#8fe7d9;font-size:9px}.gallery-scene>img{position:absolute;z-index:3;width:150px;height:100px;object-fit:contain;filter:drop-shadow(0 12px 8px rgba(0,0,0,.38));animation:gallery-swim 4s ease-in-out infinite alternate}.gallery-scene>img:nth-of-type(1){left:18%;top:31%}.gallery-scene>img:nth-of-type(2){left:48%;top:51%;animation-delay:-1.4s}.gallery-scene>img:nth-of-type(3){right:13%;top:27%;animation-delay:-2.4s}.gallery-scene>span{position:absolute;z-index:4;padding:7px 10px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(2,29,42,.88);color:#fff;font-size:11px;font-weight:700;box-shadow:0 8px 20px rgba(0,0,0,.25)}.gallery-scene>span:nth-of-type(1){left:21%;top:47%}.gallery-scene>span:nth-of-type(2){left:51%;top:68%}.gallery-scene>span:nth-of-type(3){right:16%;top:44%}@keyframes gallery-swim{to{transform:translate(28px,-12px) rotate(2deg)}}.aquarium-gallery>footer{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;background:#062b3d}.aquarium-gallery>footer p{margin:0;color:#a8c4ca;font-size:9px}.aquarium-gallery>footer .button{padding:8px 11px;background:#18b993;font-size:9px;box-shadow:none}.aquarium-gallery:fullscreen{width:100vw;height:100vh;border-radius:0}.aquarium-gallery:fullscreen .gallery-scenes{height:calc(100vh - 128px)}
@media(max-width:650px){.home-page .hero-copy>p{font-size:14px}.home-section>header p,.home-account-section>header p{font-size:13px}.example-water em{opacity:1;transform:none}.aquarium-gallery{width:100%;height:100%;max-height:none;border-radius:0}.aquarium-gallery>header{height:64px;padding:0 8px 0 13px}.aquarium-gallery>header h2{font-size:15px}.aquarium-gallery>header [data-gallery-fullscreen]{display:none}.gallery-scenes{height:calc(100% - 120px)}.gallery-scene>img{width:95px;height:68px}.gallery-scene>img:nth-of-type(1){left:8%}.gallery-scene>img:nth-of-type(2){left:38%}.gallery-scene>img:nth-of-type(3){right:5%}.gallery-scene>span{font-size:8px}.gallery-scene>span:nth-of-type(1){left:9%}.gallery-scene>span:nth-of-type(2){left:40%}.gallery-scene>span:nth-of-type(3){right:6%}.aquarium-gallery>footer{height:56px}.aquarium-gallery>footer p{display:none}.aquarium-gallery>footer .button{width:100%}}

/* Final contrast pass and administrator-controlled brand. */
.site-brand>i img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}.feature-section>div:first-child>p{color:#c7e0e3!important}.feature-section .feature-grid small{color:#bad4d8!important}.feature-section .feature-grid b{color:#fff}.signup-choice p{color:#d1e4e6!important}.signup-choice small{color:#79e7d5!important}.signup-choice li{color:#fff}.home-footer p{color:#506a79}.home-footer small{color:#607886}.branding-card>header>img,.branding-placeholder{display:grid;place-items:center;width:72px;height:72px;border:1px solid #cfe2e2;border-radius:18px;background:#edf9f7;object-fit:cover;font-size:34px}.branding-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.branding-form label>span{display:block;margin-bottom:6px;font-size:10px;font-weight:800}.branding-form input,.branding-form textarea{width:100%;border:1px solid #d3e1e5;border-radius:10px;background:#fff;padding:11px;outline:0;font:inherit;font-size:11px}.branding-form input:focus,.branding-form textarea:focus{border-color:#17a99f;box-shadow:0 0 0 3px rgba(23,169,159,.1)}.branding-description{grid-column:1/-1}.branding-description small{display:block;margin-top:4px;color:#7a8e99;font-size:8px}.branding-form .button{align-self:end}.aquarium-directory>header>span{padding:6px 10px;border-radius:99px;background:#e7f7f4;color:#087c70;font-size:9px;font-weight:900}.aquarium-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:17px}.aquarium-directory-grid article{overflow:hidden;border:1px solid #dce7ea;border-radius:14px;background:#fbfdfd}.directory-preview{position:relative;height:105px;background:#087891 url('/assets/aquarium/realistic-lagoon-v1.png') center/cover}.directory-preview img{position:absolute;left:50%;top:50%;width:74px;height:52px;object-fit:contain;filter:drop-shadow(0 6px 5px rgba(0,0,0,.35));transform:translate(-50%,-50%)}.directory-preview span{position:absolute;right:7px;top:7px;padding:4px 6px;border-radius:99px;background:rgba(4,45,55,.8);color:#79efd2;font-size:7px;font-weight:900}.aquarium-directory-grid article>div:last-child{padding:12px}.aquarium-directory-grid b,.aquarium-directory-grid small{display:block}.aquarium-directory-grid b{font-size:12px}.aquarium-directory-grid small{margin-top:3px;color:#708590;font-size:9px}.aquarium-directory-grid p{margin:8px 0;color:#526b79;font-size:9px}.aquarium-directory-grid a{color:#078d84;font-size:9px;font-weight:850}
@media(max-width:850px){.aquarium-directory-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.branding-form,.aquarium-directory-grid{grid-template-columns:1fr}.branding-description{grid-column:auto}.branding-card>header>img,.branding-placeholder{width:54px;height:54px}.app-header nav span{display:none}}

/* Live homepage totals and public aquarium leaderboard. */
.home-live-stats{position:relative;z-index:4;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:min(1132px,calc(100% - 48px));margin:-28px auto 34px;padding:11px;border:1px solid #d5e5e8;border-radius:19px;background:rgba(255,255,255,.94);box-shadow:0 18px 55px rgba(13,55,72,.11);backdrop-filter:blur(14px)}.home-live-stats article{display:flex;align-items:center;justify-content:center;gap:11px;min-height:76px;border-right:1px solid #e2ebed}.home-live-stats article:last-child{border-right:0}.home-live-stats article>span{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#e9f7f5;font-size:20px}.home-live-stats b,.home-live-stats small{display:block}.home-live-stats b{color:#102d40;font-size:23px;line-height:1}.home-live-stats small{margin-top:5px;color:#4e6877;font-size:9px;font-weight:650}.top-aquariums{padding-top:46px}.top-aquarium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.top-aquarium-card{overflow:hidden;border:1px solid #d5e4e8;border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(12,52,68,.07);transition:.22s}.top-aquarium-card:hover{border-color:#9fd8d3;transform:translateY(-4px);box-shadow:0 22px 48px rgba(12,52,68,.13)}.top-aquarium-preview{position:relative;height:150px;background:#087891 url('/assets/aquarium/realistic-lagoon-v1.png') center/cover;overflow:hidden}.top-aquarium-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(1,37,51,.23))}.top-aquarium-preview img{position:absolute;z-index:2;left:50%;top:51%;width:104px;height:72px;object-fit:contain;filter:drop-shadow(0 9px 7px rgba(0,0,0,.38));transform:translate(-50%,-50%);animation:top-fish 3.2s ease-in-out infinite alternate}.rank-badge{position:absolute;z-index:4;left:10px;top:10px;display:grid;place-items:center;min-width:35px;height:29px;padding:0 8px;border:1px solid rgba(255,255,255,.22);border-radius:9px;background:rgba(3,35,48,.82);color:#fff;font-size:11px}.rank-badge.podium{background:linear-gradient(135deg,#ffcc4f,#e89517);color:#503000;box-shadow:0 6px 18px rgba(231,159,33,.28)}.top-aquarium-preview>span{position:absolute;z-index:4;right:9px;top:10px;padding:5px 7px;border-radius:99px;background:rgba(4,50,55,.82);color:#72efd0;font-size:7px;font-weight:900}.top-aquarium-info{padding:15px}.top-aquarium-info>small{color:#58717f;font-size:9px}.top-aquarium-info h3{margin:4px 0 13px;color:#102b3d;font-size:16px}.top-aquarium-info>div{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:13px}.top-aquarium-info>div>span{padding:8px;border-radius:9px;background:#f0f7f7}.top-aquarium-info>div b,.top-aquarium-info>div small{display:block}.top-aquarium-info>div b{color:#123248;font-size:13px}.top-aquarium-info>div small{margin-top:2px;color:#617986;font-size:7px}.top-aquarium-info>strong{display:flex;align-items:center;justify-content:space-between;color:#078d84;font-size:9px}.top-aquarium-info>strong i{font-size:13px;font-style:normal}.top-aquarium-empty{padding:35px;border:1px dashed #cbdde1;border-radius:17px;color:#546d7b;text-align:center;font-size:12px}.top-aquarium-empty a{color:#087e76;font-weight:800}@keyframes top-fish{to{transform:translate(calc(-50% + 20px),calc(-50% - 8px)) rotate(2deg)}}
@media(max-width:900px){.home-live-stats{grid-template-columns:1fr 1fr}.home-live-stats article:nth-child(2){border-right:0}.top-aquarium-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.home-live-stats{width:calc(100% - 28px);margin:14px auto 10px;gap:0;padding:7px}.home-live-stats article{justify-content:flex-start;min-height:65px;padding:8px;border-bottom:1px solid #e4ecee}.home-live-stats article:nth-child(3),.home-live-stats article:nth-child(4){border-bottom:0}.home-live-stats article>span{width:33px;height:33px;font-size:17px}.home-live-stats b{font-size:18px}.home-live-stats small{font-size:8px}.top-aquarium-grid{grid-template-columns:1fr}.top-aquarium-preview{height:165px}}

/* Public pages, mobile navigation and community aquarium reactions. */
.home-page,.static-page{font-family:Poppins,"Segoe UI",sans-serif}.mobile-nav-toggle{display:none;width:43px;height:43px;padding:10px;border:1px solid #d7e5e8;border-radius:12px;background:#fff}.mobile-nav-toggle span{display:block;width:100%;height:2px;margin:4px 0;border-radius:2px;background:#16394c;transition:.2s}.mobile-nav-panel{display:none}
.static-page{min-height:100vh;background:linear-gradient(180deg,#f5fbfb,#eef5f7)}.static-header{position:sticky;z-index:80;top:0;background:rgba(255,255,255,.92);backdrop-filter:blur(16px)}.static-header nav a{color:#405d6d;font-size:11px;font-weight:650}.static-shell,.explore-shell{width:min(1120px,calc(100% - 36px));margin:0 auto;padding:76px 0 90px}.static-hero{max-width:820px;margin:0 auto 46px;text-align:center}.static-hero>span{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 20px;border-radius:22px;background:linear-gradient(145deg,#dff8f4,#dff3fb);font-size:34px;box-shadow:0 15px 40px rgba(15,107,114,.1)}.static-hero h1,.explore-head h1{margin:0;color:#0c2b3d;font-size:clamp(34px,5vw,58px);line-height:1.08;letter-spacing:-.045em}.static-hero>p:last-child,.explore-head>p{max-width:680px;margin:18px auto 0;color:#536f7d;font-size:14px;line-height:1.8}.static-hero.compact{margin-bottom:30px}.static-content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.static-content-grid article,.privacy-content article{padding:25px;border:1px solid #d7e5e7;border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(12,55,70,.055)}.static-content-grid b{color:#12364a;font-size:15px}.static-content-grid p,.privacy-content p{margin:10px 0 0;color:#55707e;font-size:12px;line-height:1.75}.privacy-content{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:900px;margin:auto}.privacy-content article:last-child{grid-column:1/-1}.privacy-content h2{margin:0;color:#143449;font-size:17px}.simple-footer{display:flex;align-items:center;justify-content:space-between;padding:25px max(18px,calc((100vw - 1120px)/2));border-top:1px solid #d7e4e7;background:#fff;color:#617986;font-size:10px}.simple-footer nav{display:flex;gap:18px}.simple-footer a{font-weight:700}
.explore-head{padding:0 0 35px;text-align:center}.explore-head>div{display:inline-flex;margin-top:18px;padding:8px 13px;border-radius:99px;background:#dff5f1;color:#176f69;font-size:10px}.explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.explore-card{overflow:hidden;border:1px solid #d4e4e7;border-radius:20px;background:#fff;box-shadow:0 12px 40px rgba(11,50,68,.075);transition:.22s}.explore-card:hover{border-color:#92d7d0;transform:translateY(-4px);box-shadow:0 22px 50px rgba(11,50,68,.13)}.explore-card>div{position:relative;height:165px;overflow:hidden;background:#087891 url('/assets/aquarium/realistic-lagoon-v1.png') center/cover}.explore-card>div:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,38,54,.2))}.explore-card>div>span{position:absolute;z-index:3;left:11px;top:11px;padding:6px 9px;border-radius:9px;background:rgba(3,35,48,.82);color:#fff;font-size:10px;font-weight:800}.explore-card img{position:absolute;z-index:2;left:50%;top:50%;width:115px;height:80px;object-fit:contain;filter:drop-shadow(0 9px 8px rgba(0,0,0,.35));transform:translate(-50%,-50%)}.explore-card>section{padding:17px}.explore-card small{color:#65808d;font-size:9px}.explore-card h2{margin:4px 0 7px;color:#102e40;font-size:18px}.explore-card p{margin:0;color:#56717f;font-size:10px}.explore-card footer{display:flex;align-items:center;gap:7px;margin-top:15px;padding-top:13px;border-top:1px solid #e5edef}.explore-card footer span{padding:5px 7px;border-radius:7px;background:#f0f7f7;color:#355b68;font-size:9px;font-weight:750}.explore-card footer b{margin-left:auto;color:#078c83;font-size:10px}
.aquarium-browse-controls{position:fixed;z-index:36;left:50%;bottom:16px;display:flex;align-items:center;gap:5px;padding:5px;border:1px solid rgba(255,255,255,.2);border-radius:13px;background:rgba(3,32,45,.82);color:#fff;transform:translateX(-50%);backdrop-filter:blur(12px)}.aquarium-browse-controls a{display:grid;place-items:center;width:34px;height:31px;border-radius:8px;background:rgba(255,255,255,.1);font-size:16px}.aquarium-browse-controls a:hover{background:#15ae9d}.aquarium-browse-controls span{min-width:52px;text-align:center;color:#b9d7da;font-size:9px;font-weight:800}.aquarium-reactions{position:fixed;z-index:38;right:15px;bottom:15px;display:flex;align-items:center;gap:8px;padding:7px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:rgba(3,32,45,.84);color:#fff;box-shadow:0 12px 34px rgba(0,20,31,.27);backdrop-filter:blur(13px);transition:.2s}.aquarium-reactions>button{height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.13);border-radius:9px;background:rgba(255,255,255,.08);color:#bdd5d8;font-weight:850}.aquarium-reactions>button.active{border-color:#ff829a;background:rgba(255,83,116,.2);color:#ff829a}.aquarium-reactions>div{display:flex;align-items:center;gap:2px}.aquarium-reactions>div>span{margin-right:4px;color:#bcd2d6;font-size:8px;font-weight:700}.aquarium-reactions [data-rating]{padding:2px;border:0;background:transparent;color:#789097;font-size:17px}.aquarium-reactions [data-rating].active{color:#ffd34e;text-shadow:0 0 9px rgba(255,207,60,.4)}.aquarium-reactions>small{padding-right:5px;color:#bed3d7;font-size:8px;white-space:nowrap}.aquarium-reactions.just-reacted{transform:scale(1.04);border-color:#74e1c9}.aquarium-reactions.is-loading{opacity:.7;pointer-events:none}.aquarium-reactions.has-error{border-color:#ff7f7f;animation:reaction-shake .25s linear 2}@keyframes reaction-shake{50%{transform:translateX(4px)}}.aquarium-page .public-footer{right:auto;bottom:15px;width:max-content}.aquarium-page .public-footer span:last-child{display:none}
@media(max-width:900px){.mobile-nav-toggle{display:block;margin-left:auto}.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.home-header,.static-header{position:sticky}.home-header .mobile-nav-panel,.static-header>nav{position:absolute;left:12px;right:12px;top:calc(100% + 8px);display:none!important;padding:12px;border:1px solid #d6e4e7;border-radius:16px;background:rgba(255,255,255,.98);box-shadow:0 20px 60px rgba(7,38,53,.18)}.home-header.menu-open .mobile-nav-panel,.static-header.menu-open>nav{display:flex!important}.home-header .mobile-nav-panel{flex-direction:column}.home-header .home-nav,.static-header>nav{position:static;flex-direction:column;align-items:stretch!important;gap:3px!important;transform:none}.home-header .home-nav{display:flex!important}.home-header .home-nav a,.static-header>nav a{display:block!important;padding:11px 12px;border-radius:9px;font-size:12px!important}.home-header .home-nav a:hover,.static-header>nav a:hover{background:#eef8f7}.home-header .home-nav a:after{display:none}.home-header .site-auth-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px;padding-top:9px;border-top:1px solid #e1eaec}.home-header .site-auth-actions>*{display:flex!important;align-items:center;justify-content:center}.static-header>nav .button{color:#fff!important}.explore-grid{grid-template-columns:1fr 1fr}.static-content-grid{grid-template-columns:1fr}.static-content-grid article{min-height:0}}
@media(max-width:600px){.static-shell,.explore-shell{width:min(100% - 24px,1120px);padding:45px 0 60px}.static-header .site-brand small{display:none}.static-hero{margin-bottom:28px}.static-hero>span{width:58px;height:58px;font-size:28px}.static-hero h1,.explore-head h1{font-size:33px}.static-hero>p:last-child,.explore-head>p{font-size:12px}.privacy-content,.explore-grid{grid-template-columns:1fr}.privacy-content article:last-child{grid-column:auto}.static-content-grid article,.privacy-content article{padding:20px}.simple-footer{align-items:flex-start;flex-direction:column;gap:12px}.simple-footer nav{flex-wrap:wrap}.explore-card>div{height:180px}.aquarium-reactions{left:8px;right:8px;bottom:56px;justify-content:center;gap:5px;padding:6px}.aquarium-reactions>div>span{display:none}.aquarium-reactions [data-rating]{font-size:16px}.aquarium-browse-controls{bottom:10px}.aquarium-page .public-footer{display:none}.aquarium-page .game-hud{top:78px}}

/* Photorealistic aquarium environment; the shell continuation removes edge bands. */
.teacher-live-shell,.public-aquarium{background:#087891 url('/assets/aquarium/realistic-lagoon-v1.png') center/cover no-repeat}.platform-tank,.platform-tank.theme-lagoon,.platform-tank.theme-reef,.platform-tank.theme-deep,.platform-tank.theme-night{background-color:#087891;background-image:linear-gradient(rgba(0,73,103,.05),rgba(0,38,65,.13)),url('/assets/aquarium/realistic-lagoon-v1.png');background-size:cover;background-position:center;background-repeat:no-repeat}.platform-tank>.rock,.platform-tank>.plant,.platform-tank>.sand{display:none}.platform-tank .water-light{opacity:.38;mix-blend-mode:screen}.platform-tank .water-ambience{opacity:.75}.teacher-live-aquarium.panel-aquarium{background:transparent}

/* Binary community feedback replaces star ratings. */
.aquarium-reactions>[data-reaction]{display:flex;align-items:center;justify-content:center;gap:6px;min-width:96px}.aquarium-reactions>[data-reaction] span,.aquarium-reactions>[data-reaction] b{font-size:9px}.aquarium-reactions>[data-reaction="like"].active{border-color:#62e5bd;background:rgba(23,187,139,.22);color:#7ff1cf}.aquarium-reactions>[data-reaction="dislike"].active{border-color:#ff8a91;background:rgba(225,73,84,.2);color:#ff9ba1}
@media(max-width:600px){.aquarium-reactions>[data-reaction]{min-width:0;flex:1}.aquarium-reactions>[data-reaction] span{font-size:8px}}

/* Refined homepage rhythm, compact hero actions and a complete site footer. */
.home-page .landing{min-height:auto;padding-top:66px;padding-bottom:72px}.home-page .hero-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:11px}.home-page .hero-actions>a{min-height:52px;white-space:nowrap}.home-page .hero-actions .hero-primary{padding:0 19px;font-size:12px}.home-page .hero-actions .text-link{display:inline-flex;align-items:center;gap:8px;padding:0 13px;border:1px solid #cfe1e4;border-radius:13px;background:rgba(255,255,255,.82);color:#17384a;box-shadow:0 8px 24px rgba(12,52,68,.06)}.home-page .hero-actions .text-link i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ddf7f2;color:#07897f;font-size:9px}.home-page .hero-actions .text-link:hover{border-color:#8fd6ce;background:#fff;transform:translateY(-2px)}
.home-page .home-section{padding-top:72px;padding-bottom:72px}.top-aquariums{background:#fff}.top-aquarium-grid:has(.top-aquarium-card:only-child){grid-template-columns:minmax(0,760px);justify-content:center}.top-aquarium-grid>.top-aquarium-card:only-child{display:grid;grid-template-columns:1.25fr .75fr}.top-aquarium-grid>.top-aquarium-card:only-child .top-aquarium-preview{height:100%;min-height:245px}.top-aquarium-grid>.top-aquarium-card:only-child .top-aquarium-info{display:flex;flex-direction:column;justify-content:center;padding:26px}.top-aquarium-grid>.top-aquarium-card:only-child .top-aquarium-info h3{font-size:23px}.examples-section{background:linear-gradient(180deg,#edf7f8,#f7fbfb)}.steps-section{background:#fff}.home-account-section{padding-top:70px;padding-bottom:74px}
.home-footer{display:block;padding:0;background:#06283a;color:#fff;border:0}.footer-main{display:grid;grid-template-columns:1.05fr 1.4fr .8fr;gap:54px;width:min(1132px,calc(100% - 48px));margin:auto;padding:62px 0 48px}.footer-brand-column .site-brand{width:max-content;color:#fff}.footer-brand-column .site-brand small{color:#9fc3c8}.footer-brand-column>p{max-width:320px;margin:19px 0;color:#a9c7cc;font-size:11px;line-height:1.75;text-align:left}.footer-live-link{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;max-width:310px;padding:12px 13px;border:1px solid rgba(138,238,220,.2);border-radius:13px;background:rgba(255,255,255,.055)}.footer-live-link span{padding:4px 6px;border-radius:99px;background:rgba(36,196,151,.14);color:#67e5c1;font-size:7px;font-weight:900}.footer-live-link b{font-size:10px}.footer-live-link i{font-size:15px;font-style:normal}.footer-main>nav{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.footer-main>nav section{display:flex;flex-direction:column;align-items:flex-start;gap:11px}.footer-main>nav b{margin-bottom:5px;color:#fff;font-size:11px}.footer-main>nav a{color:#9dbec4;font-size:9px;font-weight:550;transition:.18s}.footer-main>nav a:hover{color:#75e4cf;transform:translateX(2px)}.footer-main>aside{align-self:start;padding:22px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(29,192,164,.08))}.footer-main>aside small{color:#72dfcd;font-size:7px;font-weight:850;letter-spacing:.13em}.footer-main>aside h3{margin:8px 0;color:#fff;font-size:17px;line-height:1.35}.footer-main>aside p{margin:0 0 16px;color:#a6c6cb;font-size:9px;line-height:1.6}.footer-main>aside .button{width:100%;padding:10px;background:#27c7a7;color:#073c40;font-size:9px;box-shadow:none}.footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;width:min(1132px,calc(100% - 48px));margin:auto;padding:19px 0 23px;border-top:1px solid rgba(255,255,255,.1);color:#7fa2aa;font-size:8px}.footer-bottom>p{margin:0;color:#88abb1;text-align:center}.footer-bottom>nav{display:flex;justify-content:flex-end;gap:15px}.footer-bottom a:hover{color:#fff}
@media(max-width:900px){.footer-main{grid-template-columns:1fr 1.5fr;gap:38px}.footer-main>aside{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 25px}.footer-main>aside small,.footer-main>aside h3,.footer-main>aside p{grid-column:1}.footer-main>aside .button{grid-column:2;grid-row:1/4}.footer-bottom{grid-template-columns:1fr auto}.footer-bottom>p{display:none}}
@media(max-width:650px){.home-page .landing{padding-top:36px;padding-bottom:45px}.home-page .hero-actions{flex-direction:row!important;align-items:center!important;gap:7px}.home-page .hero-actions>a{min-height:47px}.home-page .hero-actions .hero-primary{width:auto!important;flex:1;padding:0 11px;font-size:10px}.home-page .hero-actions .text-link{flex:0 0 auto;padding:0 9px;font-size:9px}.home-page .hero-actions .text-link i{width:24px;height:24px}.home-page .home-section{padding-top:52px;padding-bottom:52px}.top-aquarium-grid>.top-aquarium-card:only-child{display:block}.top-aquarium-grid>.top-aquarium-card:only-child .top-aquarium-preview{min-height:180px}.top-aquarium-grid>.top-aquarium-card:only-child .top-aquarium-info{display:block;padding:17px}.top-aquarium-grid>.top-aquarium-card:only-child .top-aquarium-info h3{font-size:18px}.footer-main{grid-template-columns:1fr;width:calc(100% - 28px);padding:44px 0 34px;gap:31px}.footer-brand-column>p{font-size:10px}.footer-main>nav{gap:14px}.footer-main>nav b{font-size:10px}.footer-main>nav a{font-size:8px}.footer-main>aside{grid-column:auto;display:block}.footer-main>aside .button{margin-top:4px}.footer-bottom{grid-template-columns:1fr;width:calc(100% - 28px);padding:17px 0 22px;text-align:center}.footer-bottom>nav{justify-content:center}.footer-bottom>span{order:2}}
@media(max-width:380px){.home-page .hero-actions .text-link{font-size:0}.home-page .hero-actions .text-link:after{content:"Canlı örnek";font-size:9px}.footer-main>nav{grid-template-columns:1fr 1fr}.footer-main>nav section:last-child{grid-column:1/-1}}

/* Türkiye Yüzyılı Maarif Modeli: Erdem · Değer · Eylem experience. */
.maarif-section{position:relative;display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr);gap:42px;align-items:center;width:min(1132px,calc(100% - 48px));margin:16px auto 72px;padding:40px;border:1px solid #cce6e1;border-radius:26px;background:radial-gradient(circle at 12% 10%,rgba(255,220,128,.2),transparent 32%),linear-gradient(135deg,#f4fffc,#e9f7f7);box-shadow:0 22px 62px rgba(10,72,77,.1);overflow:hidden}.maarif-section:after{content:"";position:absolute;right:-90px;bottom:-110px;width:280px;height:280px;border:42px solid rgba(30,181,159,.07);border-radius:50%}.maarif-section>div:first-child{position:relative;z-index:1}.maarif-section h2{margin:0;color:#0b3440;font-size:clamp(27px,3.1vw,43px);line-height:1.08;letter-spacing:-.045em}.maarif-section>div>p{margin:17px 0 0;color:#456b73;font-size:13px;line-height:1.75}.ede-flow{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ede-flow article{position:relative;min-height:210px;padding:20px 17px;border:1px solid rgba(114,190,180,.38);border-radius:18px;background:rgba(255,255,255,.82);box-shadow:0 12px 35px rgba(19,92,91,.07);backdrop-filter:blur(10px)}.ede-flow article>span{position:absolute;right:14px;top:13px;color:#8ca8a7;font-size:8px;font-weight:900;letter-spacing:.13em}.ede-flow article>i{display:grid;place-items:center;width:48px;height:48px;margin:17px 0 28px;border-radius:15px;background:linear-gradient(145deg,#d9f7f0,#e5f2ff);font-size:24px;font-style:normal}.ede-flow article>b,.ede-flow article>small{display:block}.ede-flow article>b{color:#123c46;font-size:13px}.ede-flow article>small{margin-top:8px;color:#607c81;font-size:9px;line-height:1.65}
.ede-panel-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:13px 15px;border:1px solid #cce6e1;border-radius:15px;background:linear-gradient(115deg,#effbf8,#fffaf0);box-shadow:0 8px 25px rgba(13,65,71,.055)}.ede-panel-bar>div{display:flex;align-items:center;gap:10px}.ede-panel-bar>div>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#d8f5ed;font-size:20px}.ede-panel-bar p{margin:0}.ede-panel-bar b,.ede-panel-bar small{display:block}.ede-panel-bar b{color:#143c45;font-size:11px}.ede-panel-bar small{margin-top:3px;color:#668086;font-size:8px}.ede-panel-bar select,.ede-action-picker select{min-width:310px;border:1px solid #bcded7;border-radius:11px;background:#fff;color:#173c46;padding:10px 12px;font-size:10px;font-weight:750;outline:0}.ede-panel-bar select:focus,.ede-action-picker select:focus{border-color:#13a897;box-shadow:0 0 0 3px rgba(19,168,151,.12)}
.ede-action-picker{display:grid;gap:7px;margin:0 0 10px;padding:11px;border:1px solid rgba(130,228,207,.18);border-radius:12px;background:rgba(255,255,255,.06)}.ede-action-picker>span{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.ede-action-picker b,.ede-action-picker small{display:block}.ede-action-picker b{color:#efffff;font-size:9px}.ede-action-picker small{color:#94b8ba;font-size:7px}.ede-action-picker select{width:100%;min-width:0;border-color:rgba(255,255,255,.15);background:#173e49;color:#fff;padding:8px 9px;font-size:9px}.ede-action-picker select option{background:#fff;color:#173c46}
.platform-tank .food-bit{width:7px;height:7px;border:0;border-radius:48% 52% 43% 57%;background:radial-gradient(circle at 35% 28%,#fff4a8 0 18%,#e8aa29 45%,#8f5414 100%);box-shadow:0 0 8px rgba(255,220,87,.62)}.leader-crown{top:-40px}.leader-crown i{font-size:37px}.leader-crown b{max-width:92px;padding:3px 7px;text-align:center;line-height:1.15;letter-spacing:.08em}
@media(max-width:900px){.maarif-section{grid-template-columns:1fr;padding:31px;gap:27px}.ede-flow article{min-height:175px}.ede-panel-bar select{min-width:260px}}
@media(max-width:650px){.maarif-section{width:calc(100% - 24px);margin:8px auto 48px;padding:23px 17px;border-radius:20px}.maarif-section h2{font-size:29px}.ede-flow{grid-template-columns:1fr}.ede-flow article{display:grid;grid-template-columns:auto 1fr;column-gap:13px;min-height:0;padding:14px}.ede-flow article>span{right:12px;top:11px}.ede-flow article>i{grid-row:1/3;width:43px;height:43px;margin:0}.ede-flow article>b{align-self:end}.ede-flow article>small{margin-top:4px}.ede-panel-bar{align-items:stretch;flex-direction:column;gap:10px}.ede-panel-bar select{width:100%;min-width:0}.ede-action-picker>span{align-items:flex-start;flex-direction:column}.ede-action-picker small{font-size:8px}}

/* Teacher Character Picker Dialog & Gender Filters */
.diver-picker-dialog{width:min(660px,calc(100% - 24px))!important;max-height:90vh}
.diver-gender-filters{display:flex;align-items:center;gap:7px;margin:14px 0 10px;flex-wrap:wrap}
.filter-pill{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border:1px solid #cbd5e1;border-radius:99px;background:#f8fafc;color:#475569;font-size:11px;font-weight:700;cursor:pointer;transition:.18s}
.filter-pill:hover{border-color:#0d9488;color:#0f766e;background:#f0fdfa}
.filter-pill.is-active{background:#0d9488;border-color:#0d9488;color:#fff;box-shadow:0 3px 10px rgba(13,148,136,.28)}

.diver-choices-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;max-height:42vh;overflow-y:auto;padding:4px 2px 10px}
.diver-choice-card{position:relative;display:flex;flex-direction:column;align-items:center;padding:12px 10px;border:2px solid #e2e8f0;border-radius:14px;background:#fff;cursor:pointer;transition:.2s;text-align:center}
.diver-choice-card input[type="radio"]{position:absolute;opacity:0;pointer-events:none}
.diver-choice-card:hover{border-color:#0d9488;background:#f0fdfa;transform:translateY(-2px);box-shadow:0 8px 18px rgba(13,148,136,.12)}
.diver-choice-card.is-selected{border-color:#0d9488;background:#f0fdfa;box-shadow:0 0 0 3px rgba(13,148,136,.25)}
.diver-choice-card.is-hidden{display:none!important}
.diver-choice-preview{height:68px;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.diver-choice-preview img{max-height:58px;max-width:110px;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.18));transition:transform .2s}
.diver-choice-card:hover .diver-choice-preview img{transform:scale(1.08)}
.diver-choice-info{width:100%}
.diver-choice-info b{display:block;font-size:11px;font-weight:700;color:#0f172a;line-height:1.25;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.diver-gender-tag{display:inline-block;padding:2px 7px;border-radius:99px;font-size:9px;font-weight:750}
.diver-gender-tag.female{background:#fdf2f8;color:#db2777;border:1px solid #fbcfe8}
.diver-gender-tag.male{background:#f0f9ff;color:#0284c7;border:1px solid #bae6fd}
.diver-gender-tag.unisex{background:#fefce8;color:#ca8a04;border:1px solid #fef08a}

.gender-pill{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:99px;font-size:10px;font-weight:750}
.gender-pill.female{background:#fdf2f8;color:#db2777;border:1px solid #fbcfe8}
.gender-pill.male{background:#f0f9ff;color:#0284c7;border:1px solid #bae6fd}
.gender-pill.unisex{background:#fefce8;color:#ca8a04;border:1px solid #fef08a}

.teacher-char-tile{cursor:pointer;transition:.18s}
.teacher-char-tile:hover{border-color:#0d9488!important;background:#f0fdfa!important;transform:translateY(-1px)}

/* ==========================================================================
   QR Code Authentication & Quick Login System
   ========================================================================== */

/* Single Unified QR Card on Login */
.auth-single-qr-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 14px 16px;
  text-align: left;
  transition: all 0.25s ease;
  margin-top: 4px;
}

.auth-single-qr-card:hover {
  border-color: #0d9488;
  background: #f0fdfa;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08);
}

.single-qr-frame {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.single-qr-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.single-qr-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-qr-title i {
  color: #0d9488;
}

.single-qr-desc {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.btn-single-qr-refresh {
  align-self: flex-start;
  margin-top: 3px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 750;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-single-qr-refresh:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

@media (max-width: 480px) {
  .auth-single-qr-card {
    flex-direction: column;
    text-align: center;
    padding: 16px 12px;
  }
  .single-qr-details {
    align-items: center;
  }
  .btn-single-qr-refresh {
    align-self: center;
  }
}

/* Auth Mode Tabs (if used) */
.auth-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  margin: 0 0 22px;
  border: 1px solid #e2e8f0;
}

.auth-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #64748b;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-tab-btn i {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.auth-tab-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.55);
}

.auth-tab-btn.is-active {
  background: #ffffff;
  color: #0f766e;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.auth-tab-btn.is-active i {
  color: #0d9488;
  transform: scale(1.1);
}

/* QR Panel Layout */
.auth-panel-qr {
  text-align: center;
  animation: qrFadeIn 0.25s ease-out;
}

@keyframes qrFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.qr-login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.qr-code-frame {
  position: relative;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 22px;
  padding: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.qr-code-frame:hover {
  border-color: #0d9488;
}

.qr-canvas-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 200px;
}

.qr-canvas-holder canvas {
  display: block !important;
  margin: 0 auto;
  border-radius: 12px;
}

.qr-canvas-holder img,
.qr-fallback-img {
  display: none !important;
}

.site-brand > i img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.16));
}

/* Status Pill */
.qr-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 99px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  color: #0f766e;
  font-size: 12.5px;
  font-weight: 750;
  transition: all 0.25s ease;
}

.qr-status-pill.is-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.qr-status-pill.is-expired {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0d9488;
  display: inline-block;
  animation: qrPulseAnim 1.8s infinite ease-in-out;
}

.qr-status-pill.is-success .live-dot-pulse {
  background: #10b981;
}

.qr-status-pill.is-expired .live-dot-pulse {
  background: #ef4444;
  animation: none;
}

@keyframes qrPulseAnim {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.6);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(13, 148, 136, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
  }
}

/* Step-by-Step Instructions */
.qr-instructions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  max-width: 320px;
  text-align: left;
  margin: 4px 0 6px;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.qr-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.4;
}

.qr-step span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.qr-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-qr-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-qr-refresh:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Teacher Passkey Print Mode */
@media print {
  body * {
    visibility: hidden;
  }
  #qr-passkey-dialog,
  #qr-passkey-dialog * {
    visibility: visible;
  }
  #qr-passkey-dialog {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    display: block !important;
  }
  .dialog-close,
  .qr-action-buttons,
  .btn-qr-regen {
    display: none !important;
  }
}

/* ==========================================================================
   Modern Split Login Screen Redesign (/giris)
   ========================================================================== */
.login-page-redesign {
  background: radial-gradient(circle at 50% 0%, #e0f2fe 0%, #f0fdfa 40%, #f8fafc 100%) !important;
  min-height: 100vh;
}

.login-shell-new {
  min-height: calc(100vh - 64px);
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.login-card-new {
  width: min(920px, 100%);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(15, 23, 42, 0.03);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  position: relative;
  overflow: hidden;
}

/* Columns */
.login-col {
  padding: 42px 38px 32px;
  display: flex;
  flex-direction: column;
}

.login-col-head {
  margin-bottom: 22px;
}

.login-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.login-badge-pill.pill-teal {
  background: #f0fdfa;
  border-color: #ccfbf1;
  color: #0d9488;
}

.login-col-head h1,
.login-col-head h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.login-col-head p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Form Styles */
.login-inputs-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-field > span,
.label-with-link {
  font-size: 12.5px;
  font-weight: 750;
  color: #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-link {
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.field-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 42px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.field-wrap input:focus {
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.field-wrap input:focus ~ .field-icon {
  color: #0d9488;
}

.btn-pwd-toggle {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  padding: 6px 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s;
}

.btn-pwd-toggle:hover {
  color: #0f172a;
}

.btn-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  margin-top: 8px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(13, 148, 136, 0.32);
}

.btn-login-submit:active {
  transform: translateY(1px);
}

/* Vertical Divider */
.login-divider-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

.divider-line {
  flex: 1;
  width: 1px;
  background: #e2e8f0;
}

.divider-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.05em;
  margin: 12px 0;
  flex-shrink: 0;
}

/* Right QR Column */
.login-qr-col {
  background: #fafcfd;
  border-left: 1px solid #f1f5f9;
  text-align: center;
}

.login-qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 16px;
}

.login-qr-frame {
  background: #ffffff;
  border: 2px dashed #0d9488;
  border-radius: 20px;
  padding: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.1);
  transition: transform 0.2s ease;
}

.login-qr-frame:hover {
  transform: scale(1.02);
}

.btn-qr-regen-link {
  background: none;
  border: none;
  color: #64748b;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-qr-regen-link:hover {
  color: #0f172a;
  background: #e2e8f0;
}

/* Footer across the entire card bottom */
.login-card-footer {
  grid-column: 1 / -1;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: #64748b;
}

.signup-callout-link {
  font-weight: 800;
  color: #0d9488;
  text-decoration: none;
  transition: color 0.2s ease;
}

.signup-callout-link:hover {
  color: #047857;
  text-decoration: underline;
}

/* Responsive Stacking */
@media (max-width: 820px) {
  .login-card-new {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .login-col {
    padding: 32px 24px;
  }
  .login-divider-col {
    flex-direction: row;
    padding: 0 24px;
  }
  .divider-line {
    width: auto;
    height: 1px;
    flex: 1;
  }
  .divider-badge {
    margin: 0 14px;
  }
  .login-qr-col {
    border-left: none;
    border-top: 1px solid #f1f5f9;
  }
}
