html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.wrapper {
  width: 100%;
  min-width: 500px;
  justify-content: center;
}

.logo-wrapper {
  margin: 0 auto 25px auto;
  text-align: center;
}
.logo {
  max-height: 90px;
}

.tags a {
  display: inline-block;
  border: 1px solid gray;
  border-radius: 5px;
  padding: 0 10px;
  color: gray;
  line-height: 24px;
  font-size: 12px;
  text-decoration: none;
  margin: 0 1px;
  margin-bottom: 1px;
}
.tags a:hover,
.tags a:active {
  color: lightblue;
  border-color: lightblue;
  background-color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}


.remind_box{
  position: relative;
  display: flex;
  display: inline-block;
  font-size: 32px;
}
.video_box{
  position: relative;
  width: 640px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
#canvas {
  border-radius: 5px;
  box-shadow: 0 0px 3px rgba(0,0,0,0.12), 0 1px 30px rgba(0,0,0,0.24);
}
#video {
  border-radius: 5px;
  box-shadow: 0 0px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  margin: 0 auto;
  position:absolute;
  top: 2px;
  left: 2px;
  width: 10%;
  height: 10%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.clear{clear:both;}

.box_bottom{
  position: relative;
  width: 640px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.tips{
  position: absolute;
  left:0px;
  max-width: 600px;
  margin: 0 auto;
  font-size: 10px;
  color:gray;
  text-align:left;
}

.feedback {
  position: absolute;
  right: 38px;
  top: 10px;
  max-width: 38px;
  margin: 0 auto;
  text-align:right;
}

.intro {
  max-width: 640px;
  margin: 0 auto;
  padding: 15px;
}


.intro summary {
  cursor: pointer;
  font-size: 28px;
  color:gray;
  font-weight: bold;
}


.footer {
  display: flex; 
  justify-content: center; 
  align-items: center;
  font-size: 10px;
  text-align:center;
  color: gray;
}

.footer img {
  width: 60px;
  height: 60px;
  border-radius:10% 10% 10% 10%;
}

/* Modern styles moved from index.html <style> tag */
body { 
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body.i18n-loading {
    visibility: hidden;
}
a:link, a:visited { 
    text-decoration: none;  
} 
a:hover { 
    text-decoration: underline; 
} 
video {
    position: absolute;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}
canvas {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.video-container {
    position: relative;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: center;
    align-items: center;
}
#canvas {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease-out;
}
.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #3B82F6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.fade-in {
    animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.floating-feedback {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
}
.nav-language {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.language-switcher button {
    border-radius: 0.75rem;
    padding: 0.35rem 0.9rem;
    color: #4b5563;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.language-switcher button.lang-active {
    background-color: #dbeafe;
    color: #2563eb;
    font-weight: 600;
}
@media (max-width: 640px) {
    nav .brand-block {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .language-switcher {
        justify-content: center;
        flex-wrap: wrap;
    }
}
.hero-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
}
.status-pill {
    font-size: clamp(1.5rem, 4.5vw, 3rem);
    padding: clamp(0.75rem, 3vw, 1.25rem) clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 999px;
    font-weight: 800;
}
details.accordion-card {
    border-radius: 0.75rem;
    border: 1px solid rgba(229, 231, 235, 1);
    background-color: #ffffff;
}
details.accordion-card > summary::-webkit-details-marker {
    display: none;
}
details.accordion-card > summary {
    list-style: none;
    cursor: pointer;
}
details.accordion-card[open] .accordion-chevron {
    transform: rotate(180deg);
}
.accordion-chevron {
    transition: transform 0.2s ease;
}
.footer {
    width: 100%;
    color: #6b7280;
}
.footer img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
}