@import"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap";@tailwind base;@tailwind components;@tailwind utilities;@layer base{html{overflow-y:auto}body{overflow-x:hidden}@media (max-width: 767px){body{padding-bottom:calc(56px + env(safe-area-inset-bottom))}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#0f0f1ecc}::-webkit-scrollbar-thumb{background:#581c8799;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#7e22cecc}html{scrollbar-width:thin;scrollbar-color:rgba(88,28,135,.6) rgba(15,15,30,.8)}:root{--background: 210 40% 98%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 221.2 83.2% 53.3%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 262.1 83.3% 57.8%;--accent-foreground: 210 40% 98%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 221.2 83.2% 53.3%;--radius: .5rem}.dark{--background: 222.2 84% 4.9%;--foreground: 210 40% 98%;--card: 222.2 84% 4.9%;--card-foreground: 210 40% 98%;--popover: 222.2 84% 4.9%;--popover-foreground: 210 40% 98%;--primary: 217.2 91.2% 59.8%;--primary-foreground: 222.2 47.4% 11.2%;--secondary: 217.2 32.6% 17.5%;--secondary-foreground: 210 40% 98%;--muted: 217.2 32.6% 17.5%;--muted-foreground: 215 20.2% 65.1%;--accent: 217.2 32.6% 17.5%;--accent-foreground: 210 40% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 210 40% 98%;--border: 217.2 32.6% 17.5%;--input: 217.2 32.6% 17.5%;--ring: 224.3 76.3% 48%}}@layer base{*{@apply border-border;}body{@apply bg-background text-foreground;font-family:"Source Sans 3",Noto Sans TC,system-ui,sans-serif}.chinese-text,[lang=zh],[lang=zh-TW],[lang=zh-CN]{font-family:Noto Sans TC,PingFang TC,Microsoft JhengHei,sans-serif}}@layer components{.glass-card{@apply backdrop-blur-md rounded-xl border border-white/10 shadow-lg;}.text-shadow{text-shadow:0px 1px 2px rgba(0,0,0,.25)}}.flashcard{perspective:1000px;transform-style:preserve-3d}.flashcard-inner{position:relative;width:100%;height:100%;transition:transform .6s;transform-style:preserve-3d}.flashcard.flipped .flashcard-inner{transform:rotateY(180deg)}.flashcard-front,.flashcard-back{position:absolute;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden}.flashcard-back{transform:rotateY(180deg)}.bg-gradient-app{background:linear-gradient(135deg,#4c1d95,#1e1b4b,#0f172a)}.bg-gradient-paper{background:linear-gradient(135deg,#fefce8,#fef3c7,#fde68a)}.bg-gradient-ink{background:linear-gradient(135deg,#1e3a5f,#0c1929)}.bg-gradient-traditional{background:linear-gradient(135deg,#7c2d12,#431407)}.bg-gradient-modern{background:linear-gradient(135deg,#0f766e,#134e4a)}@keyframes card-entrance{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.card-animate-in{animation:card-entrance .5s ease-out forwards}
