/* Base */
html {
  overflow: auto;
  overscroll-behavior: none;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  background: #05786b;
  background-image: linear-gradient(45deg, #ed5f9c 12.50%, #efefef 12.50%, #efefef 22.50%, #05786b 22.50%, #05786b 40%, #b5105d 40%, #b5105d 50%, #ed5f9c 50%, #ed5f9c 62.50%, #efefef 62.50%, #efefef 72.50%, #05786b 72.50%, #05786b 90%, #b5105d 90%, #b5105d 100%);
  background-size: 141.42px 141.42px;
  background-attachment: fixed;
  padding: calc(var(--safe-top) + 12px) 0 calc(var(--safe-bottom) + 120px);
}

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

*{
    font-family: 'Poppins', sans-serif;
    color: rgb(24, 24, 24);
    background-color: transparent;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 3D Card */

.container {
    width : 100%;
    position: relative;
    transform: translate(0%, 0%);
    top: 0;
    left: 0;
}

.cover {
    display: block;
    height: 200px;
    width: 320px;
    margin: 15px auto;
}

.atvImg {
	border-radius: 8px;
	transform-style: preserve-3d;
	-webkit-tap-highlight-color: rgba(#000,0);
}

.atvImg img {
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(14,21,47,0.25);
}

.atvImg-container {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	transition: all 0.2s ease-out;
}

.atvImg-container.over .atvImg-shadow {
	box-shadow: 0 45px 100px rgba(14,21,47,0.4), 0 16px 40px rgba(14,21,47,0.4);
}

.atvImg-layers {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	overflow: hidden;
	transform-style: preserve-3d;
}

.atvImg-rendered-layer {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0%; 
	left: 0%;
	background-repeat: no-repeat;
	background-position: center;
	background-color: transparent;
	background-size: cover;
	transition: all 0.1s ease-out;
	overflow: hidden;
	border-radius: 8px;
}

.atvImg-shadow {
	position: absolute;
	top: 5%; 
	left: 5%;
	width: 90%;
	height: 90%;
	transition: all 0.2s ease-out;
	box-shadow: 0 8px 30px rgba(14,21,47,0.6);
}

.atvImg-shine {
	position: absolute;
	top: 0; 
	left: 0; 
	right: 0; 
	bottom: 0;
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(255,255,255,.25) 0%,rgba(255,255,255,0) 60%);
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    margin: 25px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgb(0, 26, 255,0.2);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(0, 26, 255,0.3);
}

.bg{
    border-radius: 0px;
    z-index: -2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100dvh + var(--safe-top) + var(--safe-bottom));
    min-height: 100dvh;
}

button{
    border: none;
}

.box-bg{
    background: unset;
}

.cia_container{
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.contains_it_all {
    position: relative;
    display: flex;
    flex: wrap;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100dvh;
    width: 100%;
    align-content: center;
    flex-direction: column;
    z-index: 10;
}

.logout-button {
    position: fixed;
    top: calc(var(--safe-top) + 12px);
    right: calc(var(--safe-right) + 12px);
    z-index: 200;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(181, 16, 93, 0.92);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.logout-button:hover,
.logout-button:focus-visible {
    background: rgba(181, 16, 93, 1);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.logout-button:active {
    transform: translateY(0);
}

.welcome,
.welcome_container{
    font-size: 32pt;
    line-height: 32pt;
    font-weight: 500;
    text-decoration: none;
    text-align: left;
}


.welcome_container{
    font-weight: 700;
}

.welcome_scroller{
    height: 50px;
    line-height: 50px;
    float: left;
    overflow: hidden;
}

strong{
    -webkit-animation: color 1s ease-in;
    -moz-animation: color 1s 1 ease-in;
    animation: color 1s 1 ease-in;
    
    -webkit-animation-delay:0s;
    -moz-animation-delay: 0s;
    animation-delay: 0s;
    
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}


.welcome_scroller span{
    display: block; 
}

.welcome_scroller .welcome_inner{
    -webkit-animation: scroll 9s 1 ease-out;
    -moz-animation: scroll 9s 1 ease-out;
    animation: scroll 9s 1 ease-out;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes scroll {
    11%  {margin-top: 0px;}
    22%  {margin-top: 0px;}
    33%  {margin-top: -50px;}
    44%  {margin-top: -50px;}
    55%  {margin-top: -100px;}
    66%  {margin-top: -100px;}
    77%  {margin-top: -150px;}
    88%  {margin-top: -150px;}
    100% {margin-top: -150px;}
 }
 
 @-moz-keyframes scroll {
    11%  {margin-top: 0px;}
    22%  {margin-top: 0px;}
    33%  {margin-top: -50px;}
    44%  {margin-top: -50px;}
    55%  {margin-top: -100px;}
    66%  {margin-top: -100px;}
    77%  {margin-top: -150px;}
    88%  {margin-top: -150px;}
    100% {margin-top: -150px;}
 }
 
 @keyframes scroll {
    11%  {margin-top: 0px;}
    22%  {margin-top: 0px;}
    33%  {margin-top: -50px;}
    44%  {margin-top: -50px;}
    55%  {margin-top: -100px;}
    66%  {margin-top: -100px;}
    77%  {margin-top: -150px;}
    88%  {margin-top: -150px;}
    100% {margin-top: -150px;}
 }

@keyframes float_in {
    0%   {margin-top: 1000px;}
    100% {margin-top: 0px;}
}

@keyframes float_out {
    0%  {margin-top: 0px;}
    100% {margin-top: -2000px;}
}


@-webkit-keyframes color {
    100% {
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        background-image: linear-gradient(
        90deg,#a8ffa8,#ffd4a8 25%,#ffa8d4 50%,#a8a8ff 100%);
    }
}
 
@-moz-keyframes color {
    100% {
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        background-image: linear-gradient(
        90deg,#a8ffa8,#ffd4a8 25%,#ffa8d4 50%,#a8a8ff 100%);
    }
}
 
@keyframes color {
    100% {
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        background-image: linear-gradient(
        90deg,#a8ffa8,#ffd4a8 25%,#ffa8d4 50%,#a8a8ff 100%);
    }
}

.welcome_logo{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}



.helper-strips{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0;
}

.code-strip{
    display: flex;
    align-items: center;
    background: transparent;
    position: relative;
}

.strip-label{
    display: none;
}

.strip-cells{
    display: flex;
    gap: 4px;
}

.strip-cell{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    border:#ffffff 1px solid;;
    background: rgba(255, 255, 255, 0.8);
    position: relative;
    -webkit-mask-image: radial-gradient(circle 9px at 50% 13px, transparent 0 58%, #000 64% 100%);
    -webkit-mask-repeat: no-repeat;
    mask-image: radial-gradient(circle 9px at 50% 13px, transparent 0 58%, #000 64% 100%);
    mask-repeat: no-repeat;
    padding-top: 16px;
}

.strip-cell input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    text-align: center;
    font-weight: 800;
    font-size: 30px;
    text-transform: uppercase;
    caret-color: #b5105d;
    color: transparent;
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.7);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
}


.strip-cell ::placeholder{
    color: transparent;
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.7);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    background-color: #2b2b2b;
}

.strip-cell input.cell-correct{
    background-color: #05786b;
}

.strip-cell input.cell-wrong{
    background-color: #b5105d;
}

.strip-cell input.cell-misplaced{
    background-color: #e59e2b;
}


.strip-cell::before{
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    width: 16px;
    height: 16px;
    transform: translateX(-50%);
    border-radius: 50%;
    pointer-events: none;
}

.floating_in{
    -webkit-animation: float_in 0.9s 1 ease-out;
    -moz-animation: float_in 0.9s 1 ease-out;
    animation: float_in 0.9s 1 ease-out;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.floating_out{
    -webkit-animation: float_out 0.9s 1 ease-out;
    -moz-animation: float_out 0.9s 1 ease-out;
    animation: float_out 0.9s 1 ease-out;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.box,
.welcome_logo, 
.toggle_container{
    margin: 4vw;
}

.box{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    max-width: 400px;
    padding: 25px;
    border-radius: 45px;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
    border: #ececec 1px solid;
}


.round_button .material-icons-outlined,
.round_button .material-symbols-outlined{
    font-weight: 900;
    font-size: 24px;
    padding: 6px;
    color: transparent;
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.35);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    background-color: #05786b;
}

.password-field,
.toggle_container{
    display: flex;
    align-items: center;
    width: 55px;
    height: 35px;
    border-radius: 17.5px;
}

.toggle{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 5px;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.85, 0.05, 0.18, 1.35);
}

.circle_navigator .material-icons-round,
.circle_navigator_top .material-icons-round,
.home_button .material-icons-round,
.toggle .material-icons-round{
    font-size: 15px;
    background-color: #8d8d8d;
    color: transparent;
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.8);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
}

.daylight{
    display: none;
}

.light-on .daylight{
    height: 100%;
    width: 100%;
    filter: none;
    display: flex;
    background: radial-gradient(circle, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 70%);
    mix-blend-mode: lighten;
}

.round_button{
    background: rgba(236, 236, 236, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: #ececec 1px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px;
    margin: 20px 20px 0 20px;
    border-radius: 100%;
}

.flic_big_navigator{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.flic_navigator{
    margin: 45px;
}

.home_button{
    margin: 22.5px;
}


.round_button:hover .material-icons-outlined,
.round_button:hover .material-symbols-outlined{
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(22deg,#05786b 0%, #b5105d 100%);
}

.round_button:hover{
    transition: ease-in 0.2s;
    box-shadow: -2px -2px 10px 2px #FFF, 2px 2px 10px 2px #d4d4d4, -4px -4px 6px 1px #FFF inset, 4px 4px 6px 1px #e4e4e4 inset;
}

.home_button:active,
.round_button:active,
.return_button:active{
    transform: translateY(1px);
    transition: none;
}

.round_button:active{
    box-shadow: -6px -6px 12px 2px #FFF inset, 6px 6px 12px 2px #d4d4d4 inset;
} 

.room_symbol{
    display: flex;
    border-radius: 100px;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin: 0px 20px 20px 20px;
}

.room_symbol .material-icons-outlined,
.room_symbol .material-icons-round,
.room_symbol .material-symbols-outlined{
    font-size: 30px;
    color:rgba(255, 255, 255, 0.5);
}

.label_header{
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    text-decoration: none;
    word-break: break-word;
    padding-bottom: 20px;
}

.kleingedrucktes{
    color: white;
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    text-decoration: none;
    word-break: break-word;
    text-shadow: 1px 2px 4px black;
}

.text-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.text-container-bottom{
    bottom: 0;
    width: 100%;
}

.label_text{
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    word-break: break-word;
}

.login-field-container {
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.login-field {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0 0 0;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.button-container{
    display: flex;
    flex-direction: row;
}

.gschaenksymbol{
    width: 45px;
    margin: 25px;
}

.nhsymbol{
    width: 50px;
    margin: 10px;
}


/* colors */

.green{
    background: #a8ffa8;
}

.blue{
    background: #a8a8ff;
}

.periwinkle{
    background: #ced3ff;
}

.violet{
    background: #d4a8ff;
}

.pink{
    background: #ffa8ff;
}

.blush{
    background: #ffa8a8;
}

.powder_pink{
    background: #ffa8d4;
}

.peach{
    background: #ffd4a8;
}

.grey{
    background: #a8a8a8;
}

.white_font{
    color: #fafafa;
}

.white_bg{
    background: #fafafa;
}

/* gradients */

.grithe{ box-shadow: inherit; }
.grellow{ box-shadow: inherit; }
.grack{ box-shadow: inherit; }
.bleen{ box-shadow: inherit; }
.whitish{ box-shadow: inherit; }

.kitchen{
    background: rgb(193, 236, 0);
}

.bedroom{
    background: black;
}

.work{
    background-color: #b5105d;
}

.living{
    background:  #fafafa;
}

#white_liv{
    color: rgba(0, 0, 0, 0.1);
}

/* Password Field Styles */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-field {
    padding: 1.3rem;
    margin: 0.3rem 0 0.3rem 0;
    border: none;
    font-weight: 500;
    border-radius: 50px;;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    background: #ececec9a;
    border: #ececec 1px solid;
    font-size: 16px;
}

.password-field:active,
.password-field:hover{
    box-shadow: -2px -2px 10px 2px #FFF, 2px 2px 10px 2px #d4d4d4, -4px -4px 6px 1px #FFF inset, 4px 4px 6px 1px #e4e4e4 inset;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    opacity: 0.7;
}

.tooltip-wrap {
    position: relative;
    display: inline-block;
    margin-left: 2px;
    cursor: pointer;
    font-weight: 700;
}

.tooltip-bubble {
    position: absolute;
    left: 50%;
    bottom: 1.8em;
    transform: translateX(-50%);
    min-width: 220px;
    max-width: 260px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    pointer-events: none;
    z-index: 10;
}

.tooltip-wrap:hover + .tooltip-bubble,
.tooltip-wrap:focus + .tooltip-bubble,
.tooltip-bubble.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}

.prelogin-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(180deg, #05786ba0, #b5105d92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.error-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(180deg, #05786ba0, #b5105d92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.error-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.error-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 45px;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
    border: #ececec 1px solid;
    padding: 18px 20px;
    max-width: 320px;
    width: calc(100% - 48px);
    text-align: center;
}

.error-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
}

.error-text {
    margin-bottom: 14px;
    color: #333;
    line-height: 1.5;
}

.error-close {
    margin: 0;
    padding: 10px 16px;
    background: #b5105d;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
}

.loader-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-image: linear-gradient(180deg, #05786ba0,#b5105d92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-track {
    width: 220px;
    height: 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    overflow: hidden;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
}

.loader-fill {
    width: 0%;
    height: 100%;
    background-image: linear-gradient(45deg, #ed5f9c 12.50%, #efefef 12.50%, #efefef 22.50%, #05786b 22.50%, #05786b 40%, #b5105d 40%, #b5105d 50%, #ed5f9c 50%, #ed5f9c 62.50%, #efefef 62.50%, #efefef 72.50%, #05786b 72.50%, #05786b 90%, #b5105d 90%, #b5105d 100%);
    background-size: 141.42px 141.42px;
    animation: loader-grow 1.8s ease-out forwards, loader-stripes 2s linear infinite;
}

.loader-text {
    margin-top: 4px;
    color: #2b2b2b;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.6);
}

@keyframes loader-stripes {
    from { background-position: 0 0; }
    to   { background-position: 64px 0; }
}

@keyframes loader-grow {
    from { width: 0%; }
    to   { width: 100%; }
}


.loader-text {
    margin-top: 24px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.circle_container{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    min-width: 100px;
    padding: 20vw;
    border-radius: 100%;
    height: auto;
    aspect-ratio: 1/1;
    background: #ececec;
    box-shadow: 
    -1vw -1vw 2vw 0.2vw #FFF inset, 1vw 1vw 2vw 0.2vw #cecece inset,
    -1vw -1vw 2vw 0.2vw #FFF, 1vw 1vw 2vw 0.2vw #cecece;
}

.circle{
    position: absolute;
    height: 98%;
    width: 98%;
    border-radius: 100%;
    mix-blend-mode: multiply;
    transition: ease-in 1s;
    filter: blur(0.5vw)
}
.floating_in, .floating_out {
    margin: 0 auto;
}

/* iPod Screen */
.ipod-screen-x {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.startscreencontainer {
    aspect-ratio: 4.35/3;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    z-index: 10;
    background: linear-gradient(180deg, #fdfdfd 0%, #f1f1f1 100%);
    border-radius: 12px;
    border: 3px solid #000;
    position: relative;
    overflow: hidden;
}

.ipod-screen-single {
    flex: 1 1 100%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ipod-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
}


.ipod-list-item.active {
    background: linear-gradient(180deg, #5ba9ff 0%, #448fe0 100%);
    color: #fff;
    border-bottom: solid 0.5px #464884f8;
}
.ipod-list-item .ipod-list-title{
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    color: inherit;
}
.ipod-list-item .ipod-list-artist{
    font-size: 11px;
    line-height: 1.2;
    font-weight: 200;
    color: #1f1f1f;
}
.ipod-list-item.active .ipod-list-artist,
.ipod-list-item.active .ipod-list-title{
    color: #fff;
}
.ipod-list-item .ipod-list-text{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.ipod-list-item .playing-indicator{
    width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #1f1f1f;
    padding-right: 12px;
}
.ipod-list-item.active .playing-indicator{
    color: #fff;
}
.ipod-list-item.playing .playing-indicator{
    display: inline-flex;
}

.ipod-startmenu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
}

.menulistElement,
.ipod-list-item {
    padding-left: 6px;
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.ipod-list-item{
    padding-top: 3px;
    padding-bottom: 3px;
    border-bottom: solid 0.5px #1f1f1f27;
}

.menulistElement.active {
    background: linear-gradient(180deg, #5ba9ff 0%, #448fe0 100%);
    color: #fff;
    width: 100%;
}

.ipod-screen-body-start{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 1 auto;
    overflow: hidden;
}

.startscreencontainer[data-view="design"] .ipod-screen-body-start,
.startscreencontainer[data-view="einstellungen"] .ipod-screen-body-start{
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100% - 22px);
}

/* Design-Liste soll frei scrollen, ohne Preview-Overlay */
.startscreencontainer[data-view="design"] .ipod-menu-preview{
    display: none;
}
.startscreencontainer[data-view="design-gen3"] .ipod-menu-preview,
.startscreencontainer[data-view="design-gen4"] .ipod-menu-preview{
    display: flex;
}

.ipod-screen-x > .ipod-header{
    flex: 0 0 auto;
}
.startscreencontainer[data-view="design"] .ipod-startmenu{
    max-height: none;
    overflow-y: visible;
}

.ipod-list {
    flex: 1 1 48%;
    min-height: 120px;
}

.ipod-screen-right{
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 50%;
}

.ipod-preview-slot{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 120px;
    margin-top: 0;
    padding-top: 0;
}


.ipod-artwork-start{
    flex: 1 1 auto;
    min-height: 120px;
    width: 100%;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    background-image: url("covers/dasbisschencover.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
    animation: artworkDrift 10s linear infinite;
}

.ipod--nano4 .ipod-artwork-start,
.ipod--nano4-silver .ipod-artwork-start,
.ipod--nano4-black .ipod-artwork-start,
.ipod--nano4-purple .ipod-artwork-start,
.ipod--nano4-blue .ipod-artwork-start,
.ipod--nano4-green .ipod-artwork-start,
.ipod--nano4-yellow .ipod-artwork-start,
.ipod--nano4-orange .ipod-artwork-start,
.ipod--nano4-pink .ipod-artwork-start{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    border-radius: 0;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 3px 0;
    min-height: 90px;
    max-height: 110px;
    overflow-x: auto;
    overflow-y: hidden;
    animation: none;
    
}
.ipod--nano4 #menuArtwork,
.ipod--nano4-silver #menuArtwork,
.ipod--nano4-black #menuArtwork,
.ipod--nano4-purple #menuArtwork,
.ipod--nano4-blue #menuArtwork,
.ipod--nano4-green #menuArtwork,
.ipod--nano4-yellow #menuArtwork,
.ipod--nano4-orange #menuArtwork,
.ipod--nano4-pink #menuArtwork{
    display: flex;
    box-shadow: none;
}

.ipod--nano4 .ipod-artwork-start .artwork-thumb,
.ipod--nano4-silver .ipod-artwork-start .artwork-thumb,
.ipod--nano4-black .ipod-artwork-start .artwork-thumb,
.ipod--nano4-purple .ipod-artwork-start .artwork-thumb,
.ipod--nano4-blue .ipod-artwork-start .artwork-thumb,
.ipod--nano4-green .ipod-artwork-start .artwork-thumb,
.ipod--nano4-yellow .ipod-artwork-start .artwork-thumb,
.ipod--nano4-orange .ipod-artwork-start .artwork-thumb,
.ipod--nano4-pink .ipod-artwork-start .artwork-thumb{
    display: flex;
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    box-shadow: none;
}

.ipod-menu-preview{
    height: 100%;
    width: 100%;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #1f1f1f;
    background: #dfe2eb;
    background: linear-gradient(180deg, rgba(223, 226, 235, 1) 0%, rgba(188, 195, 207, 1) 15%, rgba(137, 145, 161, 1) 35%, rgba(35, 41, 48, 1) 100%);
    box-shadow: 14px 2px 42px -10px rgba(0,0,0,0.62) inset;
    -webkit-box-shadow: 14px 2px 42px -10px rgba(0,0,0,0.62) inset;
    -moz-box-shadow: 14px 2px 42px -10px rgba(0,0,0,0.62) inset;
}

.ipod-menu-preview-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.about-body{
    padding: 14px;
    display: flex;
    align-items: flex-start;
    height: 100%;
}
.about-copy{
    font-size: 13px;
    line-height: 1.5;
    color: #0f172a;
    white-space: pre-wrap;
    word-break: break-word;
    hyphens: auto;
    width: 100%;
}
.about-preview .menu-preview-label{
    color: rgba(223, 226, 235, 0.9);
}

.preview-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 75px !important;
    color: rgba(223, 226, 235, 1);
}

.design-preview{
    width: 75px;
    height: 75px;
    border-radius: 8px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.design-preview-holder{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.startscreencontainer[data-view="design-gen4"] .ipod-screen-body-start{
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
}

.preview-icon .material-icons-round,
.preview-icon .material-icons,
.preview-icon .material-symbols-outlined,
.design-preview .material-icons-round,
.design-preview .material-icons,
.design-preview .material-symbols-outlined{
    font-size: 75px;
    line-height: 1;
    color: rgba(223, 226, 235, 1);
}

.ipod-coverflow-window{
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px 8px;
    perspective: 1200px;
    overflow: hidden;
}

.coverflow{
    top: 25px;
    position: relative;
    width: 100%;
    height: 220px;
    perspective: 600px;
}

.coverflow section{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 105px;
    height: 105px;
    margin-left: -52.5px;
    margin-top: -85px;
    background-color: white;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    transform-style: preserve-3d;
    transition: all 300ms ease-in;
    -webkit-box-reflect: below 0 -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.7, transparent), to(rgba(255, 255, 255, 0.6)));
}

.coverflow-card-inner{
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 420ms ease;
}

.coverflow-card.flipped .coverflow-card-inner{
    border: solid black 0.01px;
    width: 150%;
    height: 150%;
    margin-top: 4px;
    margin-left: -25px;
    transform: rotateY(180deg) scale(1.05) translateZ(6px);
}

.coverflow-face{
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.coverflow-face--front{
    background-size: cover;
    background-position: center;
}

.coverflow-face--back{
    transform: rotateY(180deg);
    background: white;
    color: #0f172a;
}

.coverback-header{
    background: #456c8f;
    background: linear-gradient(180deg, rgba(69, 108, 143, 1) 4%, rgba(98, 148, 191, 1) 31%, rgba(134, 174, 209, 1) 51%, rgba(165, 197, 230, 1) 73%, rgba(167, 198, 232, 1) 89%, rgba(135, 175, 199, 1) 96%, rgba(130, 163, 193, 1) 98%, rgba(87, 109, 143, 1) 100%);
    color: white;
    line-height: 11px;
    padding: 4px;
    display: flex;
    flex-direction: column;
}

.coverback-album{
    color: inherit;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coverback-artist{
    color: inherit;
    font-size: 9px;
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coverback-meta{
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #4b5563;
}

.coverback-tracks{
    list-style: none;
    display: flex;
    flex-direction: column;
}

.coverback-tracks li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 8px;
    background: rgba(255,255,255,0.6);
    padding: 2px 4px;
}

.coverback-tracks li.active{
    background: linear-gradient(180deg, #5ba9ff 0%, #448fe0 100%);
}

.coverback-tracks li.active span{
    color: white;
}

.coverback-tracks li span{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.menu-preview-label{
    font-size: 16px;
    font-weight: 500;
    color: rgba(223, 226, 235, 1);
}

@keyframes artworkDrift {
    0%   { background-position: 0% 0%; }
    50%   { background-position: left 20% top 1900% }
    100%  { background-position: 0% 0%; }
}

/* iPod Player */
.ipod-container {
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.ipod {
    height: auto;
    width: min(320px, 90vw);
    padding: 16px 14px 18px;
    border-radius: 32px;
    background: var(--ipod-shell, radial-gradient(circle at 30% 30%, #f0f0f0, #c4c4c4 60%, #a8a8a8));
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22), inset 0 3px 6px rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ipod-screen {
    width: 98%;
    background: linear-gradient(180deg, #fdfdfd 0%, #f1f1f1 100%);
    border-radius: 12px;
    border: 3px solid #000;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.ipod-header-start {
    background: #ffffff;
    max-height: 20px;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 10%, rgba(156, 156, 156, 1) 96%, rgba(117, 117, 117, 1) 100%);
    padding: 0 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #000;
    font-weight: 500;
    border-top-left-radius: 10px;
}

.ipod-header {
    background: #ffffff;
    max-height: 20px;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 10%, rgba(156, 156, 156, 1) 96%, rgba(117, 117, 117, 1) 100%);
    padding: 0 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #000;
    font-weight: 500;
    border-top-left-radius: 10px;
}

.ipod--nano4 .ipod-header.artwork-active,
.ipod--nano4-silver .ipod-header.artwork-active,
.ipod--nano4-black .ipod-header.artwork-active,
.ipod--nano4-purple .ipod-header.artwork-active,
.ipod--nano4-blue .ipod-header.artwork-active,
.ipod--nano4-green .ipod-header.artwork-active,
.ipod--nano4-yellow .ipod-header.artwork-active,
.ipod--nano4-orange .ipod-header.artwork-active,
.ipod--nano4-pink .ipod-header.artwork-active{
    background: #000;
    color: #fff;
    text-shadow: none;
    border-radius: 0;
}

.ipod--nano4 .ipod-status-text.artwork-active,
.ipod--nano4-silver .ipod-status-text.artwork-active,
.ipod--nano4-black .ipod-status-text.artwork-active,
.ipod--nano4-purple .ipod-status-text.artwork-active,
.ipod--nano4-blue .ipod-status-text.artwork-active,
.ipod--nano4-green .ipod-status-text.artwork-active,
.ipod--nano4-yellow .ipod-status-text.artwork-active,
.ipod--nano4-orange .ipod-status-text.artwork-active,
.ipod--nano4-pink .ipod-status-text.artwork-active{
    color: white;
}

.ipod--nano4 .ipod-header.artwork-active .ipod-status-text,
.ipod--nano4-silver .ipod-header.artwork-active .ipod-status-text,
.ipod--nano4-black .ipod-header.artwork-active .ipod-status-text,
.ipod--nano4-purple .ipod-header.artwork-active .ipod-status-text,
.ipod--nano4-blue .ipod-header.artwork-active .ipod-status-text,
.ipod--nano4-green .ipod-header.artwork-active .ipod-status-text,
.ipod--nano4-yellow .ipod-header.artwork-active .ipod-status-text,
.ipod--nano4-orange .ipod-header.artwork-active .ipod-status-text,
.ipod--nano4-pink .ipod-header.artwork-active .ipod-status-text{
    color: #fff;
    text-shadow: none;
}

.ipod-status-text { 
    letter-spacing: 0.3px; 
    text-shadow: 1px 1px 2px rgb(255, 255, 255)
}

.ipod-status-icons{
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-playpause{
    width: 12px;
    height: 10px;
    display: inline-block;
    position: relative;
}

.status-playpause::before,
.status-playpause::after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 62, 156, 1) 0%, rgba(0, 87, 217, 1) 10%, rgba(46, 157, 255, 1) 33%, rgba(44, 194, 253, 1) 49%, rgba(43, 152, 252, 1) 64%, rgba(0, 87, 217, 1) 93%, rgba(0, 62, 156, 1) 100%);
    box-shadow: inset 0 1px 1px rgba(92, 92, 92, 0.5);
}

.status-playpause.is-playing::before{
    left: 2px;
    width: 3.5px;
}
.status-playpause.is-playing::after{
    right: 1px;
    width: 3.5px;
}

.status-playpause.is-paused::before{
    left: 2px;
    right: 2px;
    background: linear-gradient(180deg, rgba(0, 62, 156, 1) 0%, rgba(0, 87, 217, 1) 10%, rgba(46, 157, 255, 1) 33%, rgba(44, 194, 253, 1) 49%, rgba(43, 152, 252, 1) 64%, rgba(0, 87, 217, 1) 93%, rgba(0, 62, 156, 1) 100%);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    box-shadow: inset 0 1px 1px rgba(92, 92, 92, 0.5);
}
.status-playpause.is-paused::after{
    display: none;
}

.status-battery{
    position: relative;
    margin-right: 2px;
    width: 14px;
    height: 8px;
    background: linear-gradient(180deg,rgba(117, 117, 117, 1) 0%, rgba(156, 156, 156, 1) 90%, rgb(140, 140, 140) 100%);
    box-shadow: inset 0 1px 1px rgba(92, 92, 92, 0.5);
    display: inline-flex;
    align-items: center;
}
.status-battery::after{
    content: '';
    position: absolute;
    right: -2px;
    top: 1px;
    width: 2px;
    height: 4px;
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
    background: linear-gradient(180deg,rgba(117, 117, 117, 1) 0%, rgba(156, 156, 156, 1) 96%, rgba(255, 255, 255, 1) 100%);
    box-shadow: inset 0 1px 1px rgba(92, 92, 92, 0.5);

}
.status-battery-fill{
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(169, 224, 130, 1) 0%, rgba(226, 255, 201, 1) 23%, rgba(205, 255, 161, 1) 32%, rgba(119, 161, 77, 1) 72%, rgba(86, 148, 41, 1) 100%);
    box-shadow: inset 0 1px 1px rgba(92, 92, 92, 0.5);
    transition: width 200ms ease;
}

.ipod-track-title {
    font-weight: 700;
    font-size: 15px;
    color: #222;
    line-height: 1.3;
}

.ipod-screen-body {
    display: flex;
    gap: 8px;
    align-items: stretch;
    padding: 12px 10px;
    perspective: 450px;
    flex: 1 1 auto;
}
.ipod-screen-body.about-body{
    padding: 14px;
    align-items: flex-start;
}

.embed-body{
    height: 100%;
    padding: 0;
    border-radius: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.playlist-embed-wrapper{
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    border-radius: 0;
}
.playlist-open-link{
    display: inline-flex;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 6px;
    background: linear-gradient(180deg, #5ba9ff 0%, #448fe0 100%);
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    align-self: flex-start;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.playlist-embed{
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border: 0;
    border-radius: 0;
}

.spotify-login-area{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.spotify-login-btn{
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(180deg, #1ed760 0%, #14a94f 100%);
    color: #0b0c0e;
    font-weight: 600;
    cursor: pointer;
}
.spotify-login-status{
    font-size: 12px;
    color: #1f1f1f;
}

.nano4embedder,
.nano3embedder{
    display: none;
}

.ipod--nano4 .nano4embedder,
.ipod--nano4-silver .nano4embedder,
.ipod--nano4-black .nano4embedder,
.ipod--nano4-purple .nano4embedder,
.ipod--nano4-blue .nano4embedder,
.ipod--nano4-green .nano4embedder,
.ipod--nano4-yellow .nano4embedder,
.ipod--nano4-orange .nano4embedder,
.ipod--nano4-pink .nano4embedder{
    display: block;
    transform: scale(0.8);
    width: 290px;
    height: 400px;
    margin-left: -12%;
    margin-top: -20%;
}

.ipod:not([class*="nano4"]) .nano3embedder{
    display: block;
}

.snake-body{
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 6px 14px;
    padding: 4px;
}
.snake-info{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    gap: 4px;
    align-items: start;
    font-weight: 700;
    color: #f5f5f5;
    font-size: 12px;
    line-height: 1.2;
    justify-items: start;
}
.snake-info .snake-score{
    font-size: 13px;
}
.snake-info .snake-status{
    max-width: 140px;
}
.snake-board{
    --snake-size: 12;
    display: grid;
    grid-template-columns: repeat(var(--snake-size), 1fr);
    grid-template-rows: repeat(var(--snake-size), 1fr);
    width: 76%;
    width: 180px;
    aspect-ratio: 1 / 1;
    background: #111;
    border-radius: 10px;
    box-shadow: inset 0 0 0 2px #222, 0 10px 24px rgba(0,0,0,0.35);
    overflow: hidden;
}
.ipod--nano4 .snake-board,
.ipod--nano4-silver .snake-board,
.ipod--nano4-black .snake-board,
.ipod--nano4-purple .snake-board,
.ipod--nano4-blue .snake-board,
.ipod--nano4-green .snake-board,
.ipod--nano4-yellow .snake-board,
.ipod--nano4-orange .snake-board,
.ipod--nano4-pink .snake-board{
    width: 90%;
    max-width: 240px;
}

/* Nano4: Layout untereinander, größeres Board */
.ipod--nano4 .snake-body,
.ipod--nano4-silver .snake-body,
.ipod--nano4-black .snake-body,
.ipod--nano4-purple .snake-body,
.ipod--nano4-blue .snake-body,
.ipod--nano4-green .snake-body,
.ipod--nano4-yellow .snake-body,
.ipod--nano4-orange .snake-body,
.ipod--nano4-pink .snake-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ipod--nano4 .snake-info,
.ipod--nano4-silver .snake-info,
.ipod--nano4-black .snake-info,
.ipod--nano4-purple .snake-info,
.ipod--nano4-blue .snake-info,
.ipod--nano4-green .snake-info,
.ipod--nano4-yellow .snake-info,
.ipod--nano4-orange .snake-info,
.ipod--nano4-pink .snake-info{
    width: 100%;
    text-align: center;
    justify-items: center;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
}
.ipod--nano4 .snake-info .snake-status,
.ipod--nano4-silver .snake-info .snake-status,
.ipod--nano4-black .snake-info .snake-status,
.ipod--nano4-purple .snake-info .snake-status,
.ipod--nano4-blue .snake-info .snake-status,
.ipod--nano4-green .snake-info .snake-status,
.ipod--nano4-yellow .snake-info .snake-status,
.ipod--nano4-orange .snake-info .snake-status,
.ipod--nano4-pink .snake-info .snake-status{
    max-width: 240px;
}
.snake-cell{
    background: #181818;
    border: 1px solid #0f0f0f;
}
.snake-head{
    background: linear-gradient(180deg, #8cff66 0%, #48c732 100%);
}
.snake-seg{
    background: linear-gradient(180deg, #6de353 0%, #3ba82a 100%);
}
.snake-food{
    background: radial-gradient(circle at 40% 40%, #ffb347 0%, #ff7b00 70%);
}


.ipod-screen-body-photos {
    display: flex;
    align-items: center;
}

.ipod-photos-grid{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.photo-thumb{
    width: 76px;
    height: 76px;
    box-sizing: border-box;
    border: 2px solid transparent;
    background-size: cover;
    background-position: center;
    cursor: default;
}
.photo-thumb.active{
    border-color: transparent;
    outline: 2px solid #3b7fad;
    outline-offset: -2px;
}

.photo-viewer{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 5;
    box-sizing: border-box;
}
.photo-viewer img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.ipod-artwork {
    margin-left: 5px;
    flex: 0 0 45%;
    aspect-ratio: 1/1;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
    position: relative;
    transform: rotateY(25deg);
    transform-origin: center top;
    overflow: visible;
}
.ipod-artwork::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 55%;
    background: inherit;
    background-size: inherit;
    background-repeat: inherit;
    background-position: inherit;
    transform: scaleY(-1) translateY(-70px);
    transform-origin: top;
    opacity: 0.88;
    filter: blur(1px);
    mask-image: linear-gradient(to top, rgba(0,0,0,0.35), transparent 40%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.35), transparent 40%);
    pointer-events: none;
}

.ipod-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ipod-track-sub {
    font-size: 12px;
    color: #444;
    line-height: 1.2;
}

.ipod-progress {
    display: flex;
    flex-direction: column;
    justify-content: center ;
    gap: 4px;
    padding: 6px 10px;
}

.ipod-progress-bar-container {
background: #cfcfcf;
background: linear-gradient(180deg,rgba(207, 207, 207, 1) 2%, rgba(245, 245, 245, 1) 8%, rgba(245, 245, 245, 1) 14%, rgba(196, 196, 196, 1) 32%, rgba(207, 207, 207, 1) 58%, rgba(232, 232, 232, 1) 96%);
}

.ipod-progress-bar {
    width: 100%;
    height: 12px;
    margin: 0 10px 0 10px;
    -webkit-appearance: none !important;
    appearance: none !important;
    --progress: 0%;
    --bar-bg: linear-gradient(180deg,rgba(207, 207, 207, 1) 2%, rgba(245, 245, 245, 1) 8%, rgba(245, 245, 245, 1) 14%, rgba(196, 196, 196, 1) 32%, rgba(207, 207, 207, 1) 58%, rgba(232, 232, 232, 1) 96%);
    --fill: linear-gradient(180deg, rgba(59, 127, 173, 1) 2%, rgba(183, 213, 232, 1) 8%, rgba(183, 213, 232, 1) 14%, rgba(34, 127, 189, 1) 32%, rgba(73, 150, 201, 1) 58%, rgba(172, 207, 232, 1) 96%);
    background-image: var(--fill), var(--bar-bg);
    background-size: var(--progress) 100%, 100% 100%;
    background-repeat: no-repeat;
    background-position: left top, left top;
    box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.2);
}

/* Safari/Firefox: neutralisiere Default-Track/Thumb */
.ipod-progress-bar::-webkit-slider-runnable-track {
    display: none;
}
.ipod-progress-bar::-moz-range-track {
    display: none;
}

.ipod-time {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

.ipod-wheel {
    position: relative;
    width: 185px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: var(--ipod-wheel, radial-gradient(circle at 30% 30%, #fdfdfd, #e3e3e3 70%));
    box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.18), 0 1px 1px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
}

.wheel-btn {
    position: absolute;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 4px;
}

.ipod-wheel.is-scrolling .wheel-btn{
    pointer-events: none;
}

.wheel-btn span { 
    font-size: 20px; 
    color: #c5c5c5;
}

.wheel-btn.center {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--ipod-center, radial-gradient(circle at 30% 30%, #d6d3d3, #dcdcdc 60%, #f3f1f1));
    box-shadow: rgb(0 0 0 / 4%) 0px 1em 3em inset, inset 0 2px 1px rgb(0 0 0 / 11%), 0 1px 1px rgb(0 0 0 / 0%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-btn.top span{
    font-size: 12px;
}

.wheel-btn.center .pause-icon { font-size: 18px; }
.wheel-btn.left { left: 2px; top: 50%; transform: translateY(-50%); }
.wheel-btn.right { right: 2px; top: 50%; transform: translateY(-50%); }
.wheel-btn.top { top: 2px; left: 50%; transform: translateX(-50%); }
.wheel-btn.bottom { bottom: 2px; left: 50%; transform: translateX(-50%); }

.wheel-label {
    position: absolute;
    top: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ipod-volume {
    display: none;
}
.ipod-volume input[type="range"]::-webkit-slider-thumb,
.ipod-volume input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.1);
}

/* Themes */
.ipod--silver{
  --ipod-shell: radial-gradient(circle at 30% 30%,
    #f4f4f4 0%,
    #d2d2d2 55%,
    #a9a9a9 100%);
  --ipod-center: radial-gradient(circle at 30% 30%, #d6d3d3, #dcdcdc 60%, #f3f1f1);
}

.ipod--blue{
  --ipod-shell: radial-gradient(circle at 30% 28%,
    #d7f2f1 0%,
    #89c2c6 55%,
    #4f8f98 100%);
  --ipod-center: radial-gradient(circle at 30% 30%,
    #9ec8ce 0%,
    #afd8df 60%,
    #c7e4e8 100%);
}

.ipod--red{
  --ipod-shell: radial-gradient(circle at 30% 28%,
    #c97278 0%,
    #7b1f2a 58%,
    #3f0c12 100%);
  --ipod-center: radial-gradient(circle at 30% 30%,
    #8d303e 0%,
    #a04d59 60%,
    #c97278 100%);
}

.ipod--pink{
  --ipod-shell: radial-gradient(circle at 30% 28%,
    #f0d1e6 0%,
    #c86aa1 58%,
    #6f2a55 100%);
  --ipod-center: radial-gradient(circle at 30% 30%,
    #ba5793 0%,
    #c072a4 60%,
    #edc5de 100%);
}

.ipod--green{
  --ipod-shell: radial-gradient(circle at 30% 28%,
    #d9f1d9 0%,
    #89ba90 58%,
    #4f7f57 100%);
  --ipod-center: radial-gradient(circle at 30% 30%,
    #99c49d 0%,
    #b0d7b3 60%,
    #d2e9d4 100%);
}

.ipod--black{
  --ipod-shell: radial-gradient(circle at 30% 28%,
    #4a4f58 0%,
    #1d1f24 60%,
    #0b0c0e 100%);
  --ipod-wheel: radial-gradient(circle at 30% 30%,
    rgba(255,255,255,.06) 0%,
    rgba(255,255,255,.02) 45%,
    rgba(0,0,0,.35) 100%);
  --ipod-center: radial-gradient(circle at 35% 35%,
    #2b2f33 0%,
    #15171a 60%,
    #0b0c0e 100%);
}

.ipod--nano4{
  --ipod-shell: linear-gradient(90deg, rgba(143, 21, 21, 1) 0%, rgba(253, 29, 29, 1) 22%, rgba(247, 94, 94, 1) 38%, rgba(246, 28, 28, 1) 63%, rgba(143, 21, 21, 1) 100%);
  --ipod-center: linear-gradient(90deg, rgba(247, 94, 94, 1) 0%, rgba(246, 28, 28, 1) 100%);
}
.ipod--nano4-silver{
  --ipod-shell: linear-gradient(90deg, #9b9b9b 0%, #c7c7c7 22%, #f7f7f7 38%, #dcdcdc 63%, #a3a3a3 100%);
  --ipod-center: linear-gradient(90deg, #e5e5e5 0%, #cfcfcf 100%);
}
.ipod--nano4-black{
  --ipod-shell: linear-gradient(90deg, #0b0c0e 0%, #24272d 22%, #4f545a 38%, #2c3136 63%, #0d0f12 100%);
  --ipod-center: linear-gradient(90deg, #30343a 0%, #16181c 100%);
}
.ipod--nano4-purple{
  --ipod-shell: linear-gradient(90deg, #4a248c 0%, #6b3bb6 22%, #b68dff 38%, #7a49c8 63%, #4f2c95 100%);
  --ipod-center: linear-gradient(90deg, #8f6ae2 0%, #5c3dad 100%);
}
.ipod--nano4-blue{
  --ipod-shell: linear-gradient(90deg, #1d63a8 0%, #2b8ad8 22%, #7fc8ff 38%, #3f9ae0 63%, #1e6fb2 100%);
  --ipod-center: linear-gradient(90deg, #67b7f2 0%, #2f8ad1 100%);
}
.ipod--nano4-green{
  --ipod-shell: linear-gradient(90deg, #3d8c1f 0%, #6bc13a 22%, #c8ff98 38%, #7dd74f 63%, #439722 100%);
  --ipod-center: linear-gradient(90deg, #98e65a 0%, #4e9d24 100%);
}
.ipod--nano4-yellow{
  --ipod-shell: linear-gradient(90deg, #d3a100 0%, #f3c934 22%, #fff4a6 38%, #edcb45 63%, #d3a100 100%);
  --ipod-center: linear-gradient(90deg, #ffd95c 0%, #d49c00 100%);
}
.ipod--nano4-orange{
  --ipod-shell: linear-gradient(90deg, #d36200 0%, #f58a2c 22%, #ffd09a 38%, #f69c42 63%, #d05e00 100%);
  --ipod-center: linear-gradient(90deg, #fdb36d 0%, #d05e00 100%);
}
.ipod--nano4-pink{
  --ipod-shell: linear-gradient(90deg, #c72c78 0%, #f255a2 22%, #ffb8dd 38%, #f56ab2 63%, #c52a73 100%);
  --ipod-center: linear-gradient(90deg, #fa8dc5 0%, #c52a73 100%);
}

.ipod--nano4.ipod,
.ipod--nano4-silver.ipod,
.ipod--nano4-black.ipod,
.ipod--nano4-purple.ipod,
.ipod--nano4-blue.ipod,
.ipod--nano4-green.ipod,
.ipod--nano4-yellow.ipod,
.ipod--nano4-orange.ipod,
.ipod--nano4-pink.ipod{
    height: 575px;
    width: 254px;
    padding: 16px 12px 22px;
    border-radius: 10px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
    position: relative;
}

.ipod--nano4 .ipod-screen,
.ipod--nano4 .ipod-screen-x,
.ipod--nano4 .ipod-screen-single,
.ipod--nano4-silver .ipod-screen,
.ipod--nano4-silver .ipod-screen-x,
.ipod--nano4-silver .ipod-screen-single,
.ipod--nano4-black .ipod-screen,
.ipod--nano4-black .ipod-screen-x,
.ipod--nano4-black .ipod-screen-single,
.ipod--nano4-purple .ipod-screen,
.ipod--nano4-purple .ipod-screen-x,
.ipod--nano4-purple .ipod-screen-single,
.ipod--nano4-blue .ipod-screen,
.ipod--nano4-blue .ipod-screen-x,
.ipod--nano4-blue .ipod-screen-single,
.ipod--nano4-green .ipod-screen,
.ipod--nano4-green .ipod-screen-x,
.ipod--nano4-green .ipod-screen-single,
.ipod--nano4-yellow .ipod-screen,
.ipod--nano4-yellow .ipod-screen-x,
.ipod--nano4-yellow .ipod-screen-single,
.ipod--nano4-orange .ipod-screen,
.ipod--nano4-orange .ipod-screen-x,
.ipod--nano4-orange .ipod-screen-single,
.ipod--nano4-pink .ipod-screen,
.ipod--nano4-pink .ipod-screen-x,
.ipod--nano4-pink .ipod-screen-single{
  border-radius: 8px;
}

.ipod--nano4 .startscreencontainer,
.ipod--nano4-silver .startscreencontainer,
.ipod--nano4-black .startscreencontainer,
.ipod--nano4-purple .startscreencontainer,
.ipod--nano4-blue .startscreencontainer,
.ipod--nano4-green .startscreencontainer,
.ipod--nano4-yellow .startscreencontainer,
.ipod--nano4-orange .startscreencontainer,
.ipod--nano4-pink .startscreencontainer {
    flex-direction: column;
    aspect-ratio: 3/3.8;
    border-radius: 8px;
    border: solid black 9px;
    margin: 4px;
}

.ipod--nano4 .ipod-preview-slot,
.ipod--nano4 .ipod-menu-preview,
.ipod--nano4-silver .ipod-preview-slot,
.ipod--nano4-silver .ipod-menu-preview,
.ipod--nano4-black .ipod-preview-slot,
.ipod--nano4-black .ipod-menu-preview,
.ipod--nano4-purple .ipod-preview-slot,
.ipod--nano4-purple .ipod-menu-preview,
.ipod--nano4-blue .ipod-preview-slot,
.ipod--nano4-blue .ipod-menu-preview,
.ipod--nano4-green .ipod-preview-slot,
.ipod--nano4-green .ipod-menu-preview,
.ipod--nano4-yellow .ipod-preview-slot,
.ipod--nano4-yellow .ipod-menu-preview,
.ipod--nano4-orange .ipod-preview-slot,
.ipod--nano4-orange .ipod-menu-preview,
.ipod--nano4-pink .ipod-preview-slot,
.ipod--nano4-pink .ipod-menu-preview{
    position: absolute;
    bottom: 0;
    height: 80px;
    min-height: 80px;
    box-shadow: -1px 5px 12px 1px rgba(0, 0, 0, 0.62) inset;
    -webkit-box-shadow: -1px 5px 12px 1px rgba(0, 0, 0, 0.62) inset;
    -moz-box-shadow: -1px 5px 12px 1px rgba(0, 0, 0, 0.62) inset;
}

.ipod--nano4 .menu-preview-label,
.ipod--nano4-silver .menu-preview-label,
.ipod--nano4-black .menu-preview-label,
.ipod--nano4-purple .menu-preview-label,
.ipod--nano4-blue .menu-preview-label,
.ipod--nano4-green .menu-preview-label,
.ipod--nano4-yellow .menu-preview-label,
.ipod--nano4-orange .menu-preview-label,
.ipod--nano4-pink .menu-preview-label{
    font-size: 10px;
}

.ipod--nano4 .preview-icon,
.ipod--nano4-silver .preview-icon,
.ipod--nano4-black .preview-icon,
.ipod--nano4-purple .preview-icon,
.ipod--nano4-blue .preview-icon,
.ipod--nano4-green .preview-icon,
.ipod--nano4-yellow .preview-icon,
.ipod--nano4-orange .preview-icon,
.ipod--nano4-pink .preview-icon{
    font-size: 45px !important;
}

.ipod--nano4 .ipod-screen-body,
.ipod--nano4-silver .ipod-screen-body,
.ipod--nano4-black .ipod-screen-body,
.ipod--nano4-purple .ipod-screen-body,
.ipod--nano4-blue .ipod-screen-body,
.ipod--nano4-green .ipod-screen-body,
.ipod--nano4-yellow .ipod-screen-body,
.ipod--nano4-orange .ipod-screen-body,
.ipod--nano4-pink .ipod-screen-body{
}

.ipod--nano4 .ipod-coverflow-window,
.ipod--nano4-silver .ipod-coverflow-window,
.ipod--nano4-black .ipod-coverflow-window,
.ipod--nano4-purple .ipod-coverflow-window,
.ipod--nano4-blue .ipod-coverflow-window,
.ipod--nano4-green .ipod-coverflow-window,
.ipod--nano4-yellow .ipod-coverflow-window,
.ipod--nano4-orange .ipod-coverflow-window,
.ipod--nano4-pink .ipod-coverflow-window{
    transform: rotate(90deg);
    height: 100%;
}


.ipod--nano4.ipod::before,
.ipod--nano4-silver.ipod::before,
.ipod--nano4-black.ipod::before,
.ipod--nano4-purple.ipod::before,
.ipod--nano4-blue.ipod::before,
.ipod--nano4-green.ipod::before,
.ipod--nano4-yellow.ipod::before,
.ipod--nano4-orange.ipod::before,
.ipod--nano4-pink.ipod::before{
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 10px;
    box-shadow:
      inset 0 6px 10px rgba(255,255,255,0.35),
      inset 0 -8px 12px rgba(0,0,0,0.2);
    pointer-events: none;
}

.ipod--nano4 .ipod-artwork,
.ipod--nano4-silver .ipod-artwork,
.ipod--nano4-black .ipod-artwork,
.ipod--nano4-purple .ipod-artwork,
.ipod--nano4-blue .ipod-artwork,
.ipod--nano4-green .ipod-artwork,
.ipod--nano4-yellow .ipod-artwork,
.ipod--nano4-orange .ipod-artwork,
.ipod--nano4-pink .ipod-artwork {
    flex: 0 0 120%;
    margin: 0;
    padding: 0;
    aspect-ratio: 1/1;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
    position: relative;
    left: -25px;
    top: -12px;
    transform: unset;
    transform-origin: unset;
    overflow: unset;
}
.ipod--nano4 .ipod-artwork::after,
.ipod--nano4-silver .ipod-artwork::after,
.ipod--nano4-black .ipod-artwork::after,
.ipod--nano4-purple .ipod-artwork::after,
.ipod--nano4-blue .ipod-artwork::after,
.ipod--nano4-green .ipod-artwork::after,
.ipod--nano4-yellow .ipod-artwork::after,
.ipod--nano4-orange .ipod-artwork::after,
.ipod--nano4-pink .ipod-artwork::after {
    display: none;
}

.ipod--nano4 .ipod-meta,
.ipod--nano4-silver .ipod-meta,
.ipod--nano4-black .ipod-meta,
.ipod--nano4-purple .ipod-meta,
.ipod--nano4-blue .ipod-meta,
.ipod--nano4-green .ipod-meta,
.ipod--nano4-yellow .ipod-meta,
.ipod--nano4-orange .ipod-meta,
.ipod--nano4-pink .ipod-meta {
    width: 100%;
    position: absolute;
    margin-left: -20px;
    padding: 5px;
    bottom: 23px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background-color: rgba(0, 0, 0, 0.644);
}

.ipod--nano4 .ipod-track-title,
.ipod--nano4-silver .ipod-track-title,
.ipod--nano4-black .ipod-track-title,
.ipod--nano4-purple .ipod-track-title,
.ipod--nano4-blue .ipod-track-title,
.ipod--nano4-green .ipod-track-title,
.ipod--nano4-yellow .ipod-track-title,
.ipod--nano4-orange .ipod-track-title,
.ipod--nano4-pink .ipod-track-title {
    font-size: 12px;
    color: white;
    line-height: 1.2;
}

.ipod--nano4 .ipod-track-sub,
.ipod--nano4-silver .ipod-track-sub,
.ipod--nano4-black .ipod-track-sub,
.ipod--nano4-purple .ipod-track-sub,
.ipod--nano4-blue .ipod-track-sub,
.ipod--nano4-green .ipod-track-sub,
.ipod--nano4-yellow .ipod-track-sub,
.ipod--nano4-orange .ipod-track-sub,
.ipod--nano4-pink .ipod-track-sub {
    font-size: 12px;
    color: white;
    line-height: 1.2;
}

.ipod--nano4 #ipodTrackSub,
.ipod--nano4-silver #ipodTrackSub,
.ipod--nano4-black #ipodTrackSub,
.ipod--nano4-purple #ipodTrackSub,
.ipod--nano4-blue #ipodTrackSub,
.ipod--nano4-green #ipodTrackSub,
.ipod--nano4-yellow #ipodTrackSub,
.ipod--nano4-orange #ipodTrackSub,
.ipod--nano4-pink #ipodTrackSub{
    display: none;
}

.ipod--nano4 .ipod-progress,
.ipod--nano4-silver .ipod-progress,
.ipod--nano4-black .ipod-progress,
.ipod--nano4-purple .ipod-progress,
.ipod--nano4-blue .ipod-progress,
.ipod--nano4-green .ipod-progress,
.ipod--nano4-yellow .ipod-progress,
.ipod--nano4-orange .ipod-progress,
.ipod--nano4-pink .ipod-progress {
    height: 14px;
    background-color: rgba(0, 0, 0, 0.644);
    position: absolute;
    width: 92%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center ;
    gap: 4px;
    padding: 4px 10px;
}

.ipod--nano4 #ipodDuration,
.ipod--nano4 #ipodCurrent,
.ipod--nano4-silver #ipodDuration,
.ipod--nano4-silver #ipodCurrent,
.ipod--nano4-black #ipodDuration,
.ipod--nano4-black #ipodCurrent,
.ipod--nano4-purple #ipodDuration,
.ipod--nano4-purple #ipodCurrent,
.ipod--nano4-blue #ipodDuration,
.ipod--nano4-blue #ipodCurrent,
.ipod--nano4-green #ipodDuration,
.ipod--nano4-green #ipodCurrent,
.ipod--nano4-yellow #ipodDuration,
.ipod--nano4-yellow #ipodCurrent,
.ipod--nano4-orange #ipodDuration,
.ipod--nano4-orange #ipodCurrent,
.ipod--nano4-pink #ipodDuration,
.ipod--nano4-pink #ipodCurrent{
    color: white;
}

.ipod--nano4 .ipod-progress-bar-container,
.ipod--nano4-silver .ipod-progress-bar-container,
.ipod--nano4-black .ipod-progress-bar-container,
.ipod--nano4-purple .ipod-progress-bar-container,
.ipod--nano4-blue .ipod-progress-bar-container,
.ipod--nano4-green .ipod-progress-bar-container,
.ipod--nano4-yellow .ipod-progress-bar-container,
.ipod--nano4-orange .ipod-progress-bar-container,
.ipod--nano4-pink .ipod-progress-bar-container {
background: #cfcfcf;
background: linear-gradient(180deg,rgba(207, 207, 207, 1) 2%, rgba(245, 245, 245, 1) 8%, rgba(245, 245, 245, 1) 14%, rgba(196, 196, 196, 1) 32%, rgba(207, 207, 207, 1) 58%, rgba(232, 232, 232, 1) 96%);
}

.ipod--nano4 .ipod-wheel,
.ipod--nano4-silver .ipod-wheel,
.ipod--nano4-black .ipod-wheel,
.ipod--nano4-purple .ipod-wheel,
.ipod--nano4-blue .ipod-wheel,
.ipod--nano4-green .ipod-wheel,
.ipod--nano4-yellow .ipod-wheel,
.ipod--nano4-orange .ipod-wheel,
.ipod--nano4-pink .ipod-wheel{
  top: -30px;
  box-shadow: none;
}

/* Schwarzes bzw. dunkelgraues Wheel für Silber/Schwarz */
.ipod--nano4-silver .ipod-wheel,
.ipod--nano4-black .ipod-wheel{
  background: linear-gradient(180deg, #2a2d31 0%, #15171b 100%);
}
.ipod--nano4-silver .wheel-btn.center,
.ipod--nano4-black .wheel-btn.center{
  background: linear-gradient(90deg, #f7f7f7 20%, #bfc0c2 100%);
  color: #404040;
}
.ipod--nano4-black .wheel-btn.center{
  background: linear-gradient(90deg, #3f444a 20%, #1b1e23 100%);
  color: #dcdcdc;
}

.ipod--nano4 .wheel-btn.center,
.ipod--nano4-silver .wheel-btn.center,
.ipod--nano4-black .wheel-btn.center,
.ipod--nano4-purple .wheel-btn.center,
.ipod--nano4-blue .wheel-btn.center,
.ipod--nano4-green .wheel-btn.center,
.ipod--nano4-yellow .wheel-btn.center,
.ipod--nano4-orange .wheel-btn.center,
.ipod--nano4-pink .wheel-btn.center{
    box-shadow: none;
}

.ipod-back {
    margin-top: 4px;
    background: rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 8px 12px;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}
.video-player-wrap{
    width: 100%;
    margin-top: 10px;
}
.video-player{
    width: 100%;
    height: 140px;
    max-height: 160px;
    border: 0;
    border-radius: 8px;
    background: #000;
}

.video-thumb{
    width: 76px;
    height: 76px;
    box-sizing: border-box;
    cursor: default;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}
.video-thumb.active{
    border-color: transparent;
    outline: 2px solid #3b7fad;
    outline-offset: -2px;
}
.video-thumb video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-viewer{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 5;
    box-sizing: border-box;
}

.video-viewer video{
    width: 90%;
    max-width: 480px;
    max-height: 70vh;
    background: #000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
