@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500&display=swap");.poem-viewer{position:fixed;top:0;left:0;right:0;bottom:0;justify-content:center;background:linear-gradient(to bottom,rgb(var(--background)/.7),rgb(var(--background)/.9));overflow:hidden;z-index:1;font-family:Vazirmatn,sans-serif}.poem-content,.poem-viewer{display:flex;flex-direction:column;align-items:center}.poem-content{width:100%;height:100%;max-width:1400px;margin:0 auto;padding:0;position:relative;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.poem-content::-webkit-scrollbar{display:none;width:8px}.poem-content::-webkit-scrollbar-track{background:rgb(var(--background)/.2);border-radius:4px}.poem-content::-webkit-scrollbar-thumb{background:rgb(var(--foreground)/.3);border-radius:4px}.poem-content::-webkit-scrollbar-thumb:hover{background:rgb(var(--foreground)/.4)}.poem-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;padding:0 1rem;direction:rtl}.title-section{text-align:center;padding:2rem 1rem;direction:rtl;background:rgb(var(--background)/.4);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);position:sticky;top:0;z-index:2;width:100%}.poem-title{font-size:2.5rem;font-weight:500;color:rgb(var(--foreground)/.95);margin:0 0 1rem}.poem-title:after{content:"";display:block;width:80px;height:1px;background:linear-gradient(90deg,transparent,rgb(var(--foreground)/.3),transparent);margin:.75rem auto 0}.poet-name{font-size:1.5rem;color:rgb(var(--foreground)/.7);font-weight:400}.poem-text{text-align:center;line-height:2;direction:ltr;width:100%;color:rgb(var(--foreground)/.9);display:flex;flex-direction:column;align-items:center;padding:2rem 0 6rem;font-weight:400;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgb(var(--foreground)/.3) rgb(var(--background)/.2);-webkit-overflow-scrolling:touch;height:calc(100% - 100px);scrollbar-gutter:stable right;max-width:1000px;margin:0 auto;font-size:1.2rem;-ms-overflow-style:auto;will-change:transform;transform:translateZ(0);backface-visibility:hidden;contain:content;scroll-behavior:auto}.poem-text::-webkit-scrollbar{display:block;width:6px}.poem-text::-webkit-scrollbar-track{background:rgb(var(--background)/.2);border-radius:3px}.poem-text::-webkit-scrollbar-thumb{background:rgb(var(--foreground)/.3);border-radius:3px}.poem-text::-webkit-scrollbar-thumb:hover{background:rgb(var(--foreground)/.4)}.verse-pair{display:flex;justify-content:center;align-items:center;margin-bottom:.75rem;gap:2rem;width:100%;max-width:1300px;padding:0 .5rem;direction:rtl}.verse-line,.verse-pair{position:relative;will-change:transform,opacity;transform:translateZ(0)}.verse-line{flex:1;text-align:center;max-width:800px;transition:color .25s ease,font-weight .25s ease;font-weight:400;font-size:1.5rem;white-space:normal;overflow:visible;word-wrap:break-word;color:rgb(var(--foreground)/.92)}.poem-text.highlight-on .verse-line{opacity:.82;transition:opacity .3s ease,color .3s ease,font-weight .3s ease}.poem-text.highlight-on .verse-line.verse-highlighted{opacity:1}.poem-text.highlight-on .verse-line .verse-text{filter:blur(1px);transition:filter .3s ease}.poem-text.highlight-on .verse-line.verse-highlighted .verse-text{filter:none}.verse-line:first-child:after{content:"•";position:absolute;right:1rem;top:50%;transform:translateY(-50%);color:rgb(var(--foreground)/.3);font-size:1.2rem}.verse-line:hover{color:rgb(var(--foreground)/1);text-shadow:0 0 8px rgb(var(--foreground)/.3)}.verse-highlighted{font-weight:700;color:rgb(var(--foreground)/1)}.modern-poem .verse-highlighted{margin:.1rem 0}.b{display:flex;justify-content:center;align-items:center;margin-bottom:.75rem;gap:2rem;position:relative;width:100%;max-width:1300px;padding:0 .5rem;direction:rtl;will-change:transform,opacity;transform:translateZ(0)}.m1,.m2{flex:1;text-align:center;position:relative;max-width:800px;transition:color .2s ease,text-shadow .2s ease;font-weight:400;font-size:1.5rem;will-change:transform,opacity;transform:translateZ(0)}.m1:hover,.m2:hover{color:rgb(var(--foreground)/1);text-shadow:0 0 8px rgb(var(--foreground)/.3)}@media (max-width:768px){.poem-content{padding:0}.title-section{padding:1.5rem 1rem;background:rgb(var(--background)/.6);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.poem-title{font-size:1.75rem}.poet-name{font-size:1.5rem}.poem-text{font-size:1.1rem;line-height:1.9;padding:1.5rem .5rem 5rem;height:calc(100% - 90px);will-change:transform;contain:content}.verse-pair{flex-direction:column;gap:.25rem;margin-bottom:1.5rem;max-width:100%;padding:0;position:relative}.verse-line{white-space:normal;overflow:visible;word-wrap:break-word;font-size:1.4rem;padding:0 .5rem}.verse-line:first-child{margin-bottom:.25rem}.verse-pair:not(:last-child):after{content:"•";display:block;position:absolute;right:50%;bottom:-1rem;transform:translateX(50%);font-size:.75rem;opacity:.4;line-height:1}.navigation-controls,.verse-line:first-child:after{display:none}.b{flex-direction:column;gap:.25rem;margin-bottom:1.5rem;padding:0;position:relative}.b,.m1,.m2{max-width:100%}.m1,.m2{padding:.1rem;white-space:normal;overflow:visible;word-wrap:break-word;font-size:1.4rem}}@media (max-width:480px){.poem-content{padding:10px}.poem-title{font-size:1.5rem;margin-bottom:15px}.poem-text{font-size:1rem;line-height:1.8;padding:1rem .5rem 4.5rem;height:calc(100% - 80px);will-change:transform;contain:content}.verse-line{font-size:1.2rem;max-width:100%;white-space:normal;overflow:visible;word-wrap:break-word}.action-button,.nav-button{width:32px;height:32px;font-size:.9rem}.navigation-controls{right:10px}.action-buttons{left:10px;bottom:80px}.poet-info{bottom:15px;left:15px}.m1,.m2,.poet-name{font-size:1.2rem}}.ganjoor-link{display:inline-flex;align-items:center;padding:.5rem 1rem;color:#fff;background-color:rgb(var(--foreground)/.1);border-radius:.5rem;text-decoration:none;font-size:.875rem;transition:all .2s ease}.ganjoor-link:hover{background-color:rgb(var(--foreground)/.2);transform:translateY(-1px)}.ganjoor-link svg{font-size:.75rem;opacity:.8}.navigation-controls{position:absolute;right:20px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:20px;z-index:2}.nav-button{background:rgb(var(--foreground)/.2);border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:rgb(var(--foreground));font-size:1.2rem;cursor:pointer;transition:all .3s ease;position:relative;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);background-color:rgb(var(--foreground)/.1)}.nav-button:before{content:"";position:absolute;inset:0;border-radius:50%;background:rgb(var(--foreground)/.3);transform:scale(0)}.nav-button:active:before,.nav-button:before{transition:transform 1s cubic-bezier(.4,0,.2,1)}.nav-button:active:before{transform:scale(1)}.nav-button:hover{background-color:rgb(var(--foreground)/.2);box-shadow:0 4px 12px rgb(var(--background)/.2)}.nav-button:active{background-color:rgb(var(--foreground)/.15)}.nav-button.intent:before{content:"";position:absolute;inset:0;border-radius:50%;background:rgb(var(--foreground)/.3);transform:scale(0);animation:fillIntent .8s cubic-bezier(.4,0,.2,1) forwards}@keyframes fillIntent{0%{transform:scale(0)}to{transform:scale(1)}}.action-buttons{position:fixed;left:1rem;bottom:3.5rem;flex-direction:column;gap:.5rem;z-index:10}.action-button,.action-buttons{display:flex;align-items:center}.action-button{width:3rem;height:3rem;justify-content:center;border:none;border-radius:50%;background-color:rgb(var(--foreground)/.1);color:rgb(var(--foreground));cursor:pointer;transition:transform .28s cubic-bezier(.2,.8,.2,1),background-color .22s ease,box-shadow .28s ease;backdrop-filter:blur(8px)}.action-button:hover:not(:disabled){background-color:rgb(var(--foreground)/.2);transform:translateY(-1px) scale(1.02);box-shadow:0 6px 16px rgb(var(--background)/.22)}.action-button:disabled{opacity:.5;cursor:not-allowed}.action-button:active:not(:disabled){transform:translateY(0) scale(.98)}.action-button svg{width:1.25rem;height:1.25rem}@media (max-width:768px){.navigation-controls{right:12px;gap:12px}.nav-button{width:36px;height:36px;font-size:1rem}.action-buttons{left:1rem!important;right:auto;bottom:3rem;gap:.35rem}.action-button{width:2.5rem;height:2.5rem}.action-button svg{width:1rem;height:1rem}}@media (max-width:480px){.navigation-controls{right:8px;gap:10px}.nav-button{width:32px;height:32px;font-size:.9rem}.action-buttons{left:1rem!important;right:auto}}.poet-info{position:absolute;bottom:20px;left:20px;display:flex;align-items:center;z-index:2}.audio-player{position:fixed;bottom:0;left:0;right:0;background:rgb(var(--background)/.85);padding:.75rem;gap:1.5rem;z-index:10;height:4rem}.audio-controls,.audio-player{backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;direction:ltr}.audio-controls{gap:2rem;background:rgb(var(--background)/.4);-webkit-backdrop-filter:blur(10px);padding:0;border-radius:1rem}.audio-control-button{background:none;border:none;color:rgb(var(--foreground)/.9);cursor:pointer;padding:.5rem;border-radius:50%;transition:transform .28s cubic-bezier(.2,.8,.2,1),background-color .22s ease,color .22s ease,box-shadow .28s ease;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;font-size:1.25rem}.audio-control-button.active{background:rgb(var(--foreground)/.15)}.audio-control-button:hover{background:rgb(var(--foreground)/.1);transform:translateY(-1px) scale(1.02)}.audio-control-button:disabled{opacity:.4;cursor:not-allowed;color:rgb(var(--foreground)/.5)}.audio-control-button:active:not(:disabled){transform:translateY(0) scale(.98)}.audio-progress{width:100%;max-width:500px;height:4px;background:rgb(var(--foreground)/.1);border-radius:2px;cursor:pointer;position:relative;margin:0 1rem}.audio-progress-bar{height:100%;background:#fff;border-radius:2px;transition:width .1s linear}.audio-time{font-size:.7rem;color:rgb(var(--foreground)/.7);min-width:2.5rem;text-align:center}@media (max-width:768px){.audio-player{padding:.35rem .75rem;height:2.5rem}.audio-controls{gap:.5rem}.audio-control-button{width:1.75rem;height:1.75rem;padding:.2rem}.audio-time{font-size:.65rem;min-width:2.25rem}.audio-progress{height:2px}}.progress-bar{width:100%;height:4px;background:rgb(var(--foreground)/.1);border-radius:2px;cursor:pointer;margin:.5rem 0}.progress{height:100%;background:rgb(var(--primary));border-radius:2px;transition:width .1s linear}.time-display{color:#fff;font-size:.8rem;opacity:.8;margin-top:.25rem}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgb(var(--background)/.7);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.2rem;z-index:1000}.toast-message{position:fixed;bottom:2rem;left:50%;transform:translateX(-50%);background-color:rgb(var(--background)/.8);color:#fff;padding:.75rem 1.5rem;border-radius:2rem;font-size:.875rem;backdrop-filter:blur(8px);z-index:100;animation:fadeInOut 2s ease;direction:rtl}@keyframes fadeInOut{0%{opacity:0;transform:translate(-50%,1rem)}15%{opacity:1;transform:translate(-50%)}85%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-1rem)}}@media (max-width:768px){.toast-message{bottom:1rem;font-size:.75rem;padding:.5rem 1rem}.poem-text{font-size:1rem;line-height:1.75}.verse-line{white-space:nowrap;overflow-x:auto;font-size:1.4rem}.action-buttons{left:1rem;bottom:4rem;gap:.5rem}.action-button{width:3.2rem;height:3.2rem}.action-button svg{width:1.4rem;height:1.4rem}}@media (max-width:480px){.poem-text{font-size:.9rem}.verse-line{font-size:1.2rem;max-width:100%;white-space:normal;overflow:visible;word-wrap:break-word}.action-buttons{left:1rem;bottom:3.5rem}.action-button{width:2.8rem;height:2.8rem}.action-button svg{width:1.2rem;height:1.2rem}}.modern-poem{width:100%;max-width:800px;margin:0 auto;direction:rtl;padding:0 1rem}.modern-poem,.modern-poem p{text-align:center;color:rgb(var(--foreground)/.9)}.modern-poem p{margin:0 0 1.5rem;line-height:2;font-size:1.8rem}.modern-poem br{display:block;content:"";margin:.5rem 0}@media (max-width:768px){.modern-poem{padding:0 .5rem}.modern-poem p{font-size:1.6rem;line-height:1.8}}@media (max-width:480px){.modern-poem p{font-size:1.4rem;line-height:1.6}}.modern-poem .verse-line:after{display:none}.action-buttons.absolute{position:relative;z-index:10}.action-buttons.absolute.top-4{top:auto}.action-buttons.absolute.left-4{left:auto}@media (max-width:768px){.action-buttons.absolute.top-4{top:.75rem}.action-buttons.absolute.left-4{left:.75rem}}.action-buttons.absolute.left-4{left:1rem}.poet-profile{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.75rem;border-radius:12px;background:rgb(var(--foreground)/.15);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);transition:all .2s ease;cursor:pointer;width:80px;box-shadow:0 2px 8px rgb(var(--background)/.2)}.poet-profile:hover{transform:translateY(-5px);background:rgb(var(--foreground)/.2);box-shadow:0 4px 12px rgb(var(--background)/.3)}.poet-image-container{width:60px;height:60px;border-radius:50%;overflow:hidden;margin-bottom:.5rem;background:rgb(var(--foreground)/.1);display:flex;align-items:center;justify-content:center;position:relative}.poet-image-container img{width:100%!important;height:100%!important;-o-object-fit:cover!important;object-fit:cover!important;border-radius:50%}.poet-avatar{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.poet-profile-name{font-size:.9rem;color:rgb(var(--foreground)/.9);white-space:normal;max-width:100%;word-wrap:break-word;line-height:1.2}.poet-profile-name,.poet-profile-nickname{text-align:center;margin:0;padding:0;font-weight:400;overflow:hidden;text-overflow:ellipsis}.poet-profile-nickname{font-size:.7rem;color:rgb(var(--foreground)/.6);white-space:nowrap;max-width:120px}@media (max-width:768px){.poet-profile{width:60px;padding:.5rem}.poet-image-container{width:45px;height:45px;margin-bottom:.35rem}.poet-profile-name{font-size:.75rem}.poet-profile-nickname{font-size:.65rem}}@media (max-width:480px){.poet-profile{width:50px;padding:.4rem}.poet-image-container{width:35px;height:35px;margin-bottom:.25rem}.poet-profile-name{font-size:.7rem}.poet-profile-nickname{font-size:.6rem}}